@redneckz/wildless-cms-uni-blocks 0.3.74 → 0.3.76

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 +272 -204
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/api/DaDataAPI.js.map +1 -1
  5. package/dist/api/LikeAPI.js.map +1 -1
  6. package/dist/components/Accordion/Accordion.mobile.js +1 -1
  7. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  8. package/dist/components/Accordion/AccordionItem.mobile.js +1 -1
  9. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  10. package/dist/components/Accordion/AccordionItemInner.js +1 -2
  11. package/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  12. package/dist/components/Accordion/AccordionItemInner.mobile.js +1 -2
  13. package/dist/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  14. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  15. package/dist/components/Blocks.d.ts +1 -0
  16. package/dist/components/Blocks.js +5 -3
  17. package/dist/components/Blocks.js.map +1 -1
  18. package/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  19. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  20. package/dist/components/Calculator/renderMonthsInput.js.map +1 -1
  21. package/dist/components/Calculator/renderRate.js +1 -1
  22. package/dist/components/Calculator/renderRate.js.map +1 -1
  23. package/dist/components/Catalog/Catalog.d.ts +5 -0
  24. package/dist/components/Catalog/Catalog.js +36 -0
  25. package/dist/components/Catalog/Catalog.js.map +1 -0
  26. package/dist/components/Catalog/CatalogCard.d.ts +7 -0
  27. package/dist/components/Catalog/CatalogCard.js +16 -0
  28. package/dist/components/Catalog/CatalogCard.js.map +1 -0
  29. package/dist/components/Catalog/CatalogContent.d.ts +23 -0
  30. package/{mobile/dist/model/Insurance.js → dist/components/Catalog/CatalogContent.js} +1 -1
  31. package/dist/components/Catalog/CatalogContent.js.map +1 -0
  32. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  33. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  34. package/dist/components/ContentPage/ContentPageHead.js.map +1 -1
  35. package/dist/components/ContentPage/normalizeBlock.js.map +1 -1
  36. package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
  37. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  38. package/dist/components/ExchangeRateTile/calculateResult.js.map +1 -1
  39. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  40. package/dist/components/Footer/SocialMedia.js.map +1 -1
  41. package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
  42. package/dist/components/Footer/TextInformation.js.map +1 -1
  43. package/dist/components/Footer/TextInformation.mobile.js.map +1 -1
  44. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  45. package/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  46. package/dist/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  47. package/dist/components/Header/HeaderBurger.js.map +1 -1
  48. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  49. package/dist/components/Headline/Headline.mobile.js.map +1 -1
  50. package/dist/components/Insurance/Insurance.js.map +1 -1
  51. package/dist/components/Insurance/InsuranceContent.d.ts +5 -2
  52. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
  53. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  54. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
  55. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  56. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  57. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  58. package/dist/components/LinkList/LinkList.js.map +1 -1
  59. package/dist/components/MobileAppTile/MobileAppTile.js +16 -2
  60. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  61. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +2 -2
  62. package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  63. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
  64. package/dist/components/OtherProducts/OtherProducts.js +1 -1
  65. package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  66. package/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -8
  67. package/dist/components/OtherProducts/OtherProductsItem.js +4 -6
  68. package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  69. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  70. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  71. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  72. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  73. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  74. package/dist/components/ProductTile/ProductTile.js +7 -8
  75. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  76. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  77. package/dist/components/StepsBlock/StepsBlock.js +10 -6
  78. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  79. package/dist/components/StepsBlock/StepsBlock.mobile.js +12 -31
  80. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  81. package/dist/components/StepsBlock/StepsBlockContent.d.ts +5 -2
  82. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
  83. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +21 -0
  84. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
  85. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  86. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  87. package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  88. package/dist/content-page-repository/mapJSON.js.map +1 -1
  89. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  90. package/dist/content-page-repository/transformMarkdown.js.map +1 -1
  91. package/dist/content-page-repository/transformPicture.js.map +1 -1
  92. package/dist/hooks/useCreditCalculatorData.js.map +1 -1
  93. package/dist/hooks/useExchangeRates.js.map +1 -1
  94. package/dist/hooks/useLink.js.map +1 -1
  95. package/dist/react/setup-fixture.js.map +1 -1
  96. package/dist/services/sitemap/findActiveSubItem.js.map +1 -1
  97. package/dist/services/sitemap/useSitemap.js.map +1 -1
  98. package/dist/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
  99. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
  100. package/dist/ui-kit/BlocksList/renderBlocksList.js +5 -4
  101. package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  102. package/dist/ui-kit/Button/ButtonInner.js +2 -2
  103. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  104. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  105. package/dist/ui-kit/Foldable/Foldable.d.ts +2 -0
  106. package/dist/ui-kit/Foldable/Foldable.js +5 -5
  107. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  108. package/dist/ui-kit/Input/Input.js.map +1 -1
  109. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  110. package/dist/ui-kit/List/ListItem.js.map +1 -1
  111. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  112. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  113. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  114. package/dist/ui-kit/SearchBar.mobile.js.map +1 -1
  115. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  116. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  117. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  118. package/dist/utils/adjustHref.js.map +1 -1
  119. package/dist/utils/getColSpan.js.map +1 -1
  120. package/dist/utils/roundTo.js.map +1 -1
  121. package/dist/utils/tableFunc.js.map +1 -1
  122. package/dist/utils/url.js.map +1 -1
  123. package/lib/api/DaDataAPI.js.map +1 -1
  124. package/lib/api/LikeAPI.js.map +1 -1
  125. package/lib/common.css +1 -1
  126. package/lib/components/Accordion/Accordion.mobile.js +1 -1
  127. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  128. package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
  129. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  130. package/lib/components/Accordion/AccordionItemInner.js +1 -2
  131. package/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  132. package/lib/components/Accordion/AccordionItemInner.mobile.js +1 -2
  133. package/lib/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  134. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  135. package/lib/components/Blocks.d.ts +1 -0
  136. package/lib/components/Blocks.js +5 -3
  137. package/lib/components/Blocks.js.map +1 -1
  138. package/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  139. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  140. package/lib/components/Calculator/renderMonthsInput.js.map +1 -1
  141. package/lib/components/Calculator/renderRate.js +1 -1
  142. package/lib/components/Calculator/renderRate.js.map +1 -1
  143. package/lib/components/Catalog/Catalog.d.ts +5 -0
  144. package/lib/components/Catalog/Catalog.fixture.d.ts +6 -0
  145. package/lib/components/Catalog/Catalog.js +34 -0
  146. package/lib/components/Catalog/Catalog.js.map +1 -0
  147. package/lib/components/Catalog/CatalogCard.d.ts +7 -0
  148. package/lib/components/Catalog/CatalogCard.js +14 -0
  149. package/lib/components/Catalog/CatalogCard.js.map +1 -0
  150. package/lib/components/Catalog/CatalogContent.d.ts +23 -0
  151. package/lib/components/Catalog/CatalogContent.js +2 -0
  152. package/lib/components/Catalog/CatalogContent.js.map +1 -0
  153. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  154. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  155. package/lib/components/ContentPage/ContentPageHead.js.map +1 -1
  156. package/lib/components/ContentPage/normalizeBlock.js.map +1 -1
  157. package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
  158. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  159. package/lib/components/ExchangeRateTile/calculateResult.js.map +1 -1
  160. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  161. package/lib/components/Footer/SocialMedia.js.map +1 -1
  162. package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
  163. package/lib/components/Footer/TextInformation.js.map +1 -1
  164. package/lib/components/Footer/TextInformation.mobile.js.map +1 -1
  165. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  166. package/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  167. package/lib/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  168. package/lib/components/Header/HeaderBurger.js.map +1 -1
  169. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  170. package/lib/components/Headline/Headline.mobile.js.map +1 -1
  171. package/lib/components/Insurance/Insurance.js.map +1 -1
  172. package/lib/components/Insurance/InsuranceContent.d.ts +5 -2
  173. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
  174. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  175. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
  176. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  177. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  178. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  179. package/lib/components/LinkList/LinkList.js.map +1 -1
  180. package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +2 -0
  181. package/lib/components/MobileAppTile/MobileAppTile.js +16 -2
  182. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  183. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +2 -2
  184. package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  185. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
  186. package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +0 -1
  187. package/lib/components/OtherProducts/OtherProducts.js +1 -1
  188. package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  189. package/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -8
  190. package/lib/components/OtherProducts/OtherProductsItem.js +4 -6
  191. package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  192. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  193. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  194. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  195. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  196. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  197. package/lib/components/ProductTile/ProductTile.js +7 -8
  198. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  199. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  200. package/lib/components/StepsBlock/StepsBlock.js +10 -6
  201. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  202. package/lib/components/StepsBlock/StepsBlock.mobile.js +12 -31
  203. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  204. package/lib/components/StepsBlock/StepsBlockContent.d.ts +5 -2
  205. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
  206. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +18 -0
  207. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
  208. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  209. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  210. package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  211. package/lib/content-page-repository/mapJSON.js.map +1 -1
  212. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  213. package/lib/content-page-repository/transformMarkdown.js.map +1 -1
  214. package/lib/content-page-repository/transformPicture.js.map +1 -1
  215. package/lib/hooks/useCreditCalculatorData.js.map +1 -1
  216. package/lib/hooks/useExchangeRates.js.map +1 -1
  217. package/lib/hooks/useLink.js.map +1 -1
  218. package/lib/react/setup-fixture.js.map +1 -1
  219. package/lib/services/sitemap/findActiveSubItem.js.map +1 -1
  220. package/lib/services/sitemap/useSitemap.js.map +1 -1
  221. package/lib/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
  222. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
  223. package/lib/ui-kit/BlocksList/renderBlocksList.js +5 -4
  224. package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  225. package/lib/ui-kit/Button/ButtonInner.js +2 -2
  226. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  227. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  228. package/lib/ui-kit/Foldable/Foldable.d.ts +2 -0
  229. package/lib/ui-kit/Foldable/Foldable.js +5 -5
  230. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  231. package/lib/ui-kit/Input/Input.js.map +1 -1
  232. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  233. package/lib/ui-kit/List/ListItem.js.map +1 -1
  234. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  235. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  236. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  237. package/lib/ui-kit/SearchBar.mobile.js.map +1 -1
  238. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  239. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  240. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  241. package/lib/utils/adjustHref.js.map +1 -1
  242. package/lib/utils/getColSpan.js.map +1 -1
  243. package/lib/utils/roundTo.js.map +1 -1
  244. package/lib/utils/tableFunc.js.map +1 -1
  245. package/lib/utils/url.js.map +1 -1
  246. package/mobile/bundle/bundle.umd.js +36 -39
  247. package/mobile/bundle/bundle.umd.min.js +1 -1
  248. package/mobile/dist/api/DaDataAPI.js.map +1 -1
  249. package/mobile/dist/api/LikeAPI.js.map +1 -1
  250. package/mobile/dist/components/Accordion/Accordion.js +1 -1
  251. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  252. package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
  253. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  254. package/mobile/dist/components/Accordion/AccordionItemInner.js +1 -2
  255. package/mobile/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  256. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  257. package/mobile/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  258. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  259. package/mobile/dist/components/Calculator/renderMonthsInput.js.map +1 -1
  260. package/mobile/dist/components/Calculator/renderRate.js +1 -1
  261. package/mobile/dist/components/Calculator/renderRate.js.map +1 -1
  262. package/mobile/dist/components/Catalog/Catalog.d.ts +5 -0
  263. package/mobile/dist/components/Catalog/Catalog.js +36 -0
  264. package/mobile/dist/components/Catalog/Catalog.js.map +1 -0
  265. package/mobile/dist/components/Catalog/CatalogCard.d.ts +7 -0
  266. package/mobile/dist/components/Catalog/CatalogCard.js +16 -0
  267. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -0
  268. package/mobile/dist/components/Catalog/CatalogContent.d.ts +23 -0
  269. package/{dist/model/Insurance.js → mobile/dist/components/Catalog/CatalogContent.js} +1 -1
  270. package/mobile/dist/components/Catalog/CatalogContent.js.map +1 -0
  271. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  272. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  273. package/mobile/dist/components/ContentPage/ContentPageHead.js.map +1 -1
  274. package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -1
  275. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  276. package/mobile/dist/components/ExchangeRateTile/calculateResult.js.map +1 -1
  277. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  278. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  279. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  280. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  281. package/mobile/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  282. package/mobile/dist/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  283. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  284. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  285. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  286. package/mobile/dist/components/Insurance/Insurance.js.map +1 -1
  287. package/mobile/dist/components/Insurance/InsuranceContent.d.ts +5 -2
  288. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
  289. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  290. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
  291. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  292. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  293. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  294. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  295. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -2
  296. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  297. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
  298. package/mobile/dist/components/OtherProducts/OtherProducts.js +1 -1
  299. package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  300. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -8
  301. package/mobile/dist/components/OtherProducts/OtherProductsItem.js +4 -6
  302. package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  303. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  304. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  305. package/mobile/dist/components/ProductTile/ProductTile.js +7 -8
  306. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  307. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  308. package/mobile/dist/components/StepsBlock/StepsBlock.js +12 -31
  309. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  310. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +5 -2
  311. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
  312. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +21 -0
  313. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
  314. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  315. package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  316. package/mobile/dist/content-page-repository/mapJSON.js.map +1 -1
  317. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  318. package/mobile/dist/content-page-repository/transformMarkdown.js.map +1 -1
  319. package/mobile/dist/content-page-repository/transformPicture.js.map +1 -1
  320. package/mobile/dist/hooks/useCreditCalculatorData.js.map +1 -1
  321. package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
  322. package/mobile/dist/hooks/useLink.js.map +1 -1
  323. package/mobile/dist/react/setup-fixture.js.map +1 -1
  324. package/mobile/dist/services/sitemap/findActiveSubItem.js.map +1 -1
  325. package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
  326. package/mobile/dist/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
  327. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
  328. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +5 -4
  329. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  330. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -2
  331. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  332. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  333. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +2 -0
  334. package/mobile/dist/ui-kit/Foldable/Foldable.js +5 -5
  335. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  336. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  337. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  338. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  339. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  340. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  341. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  342. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  343. package/mobile/dist/utils/adjustHref.js.map +1 -1
  344. package/mobile/dist/utils/getColSpan.js.map +1 -1
  345. package/mobile/dist/utils/roundTo.js.map +1 -1
  346. package/mobile/dist/utils/tableFunc.js.map +1 -1
  347. package/mobile/dist/utils/url.js.map +1 -1
  348. package/mobile/lib/api/DaDataAPI.js.map +1 -1
  349. package/mobile/lib/api/LikeAPI.js.map +1 -1
  350. package/mobile/lib/components/Accordion/Accordion.js +1 -1
  351. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  352. package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
  353. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  354. package/mobile/lib/components/Accordion/AccordionItemInner.js +1 -2
  355. package/mobile/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  356. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  357. package/mobile/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  358. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  359. package/mobile/lib/components/Calculator/renderMonthsInput.js.map +1 -1
  360. package/mobile/lib/components/Calculator/renderRate.js +1 -1
  361. package/mobile/lib/components/Calculator/renderRate.js.map +1 -1
  362. package/mobile/lib/components/Catalog/Catalog.d.ts +5 -0
  363. package/mobile/lib/components/Catalog/Catalog.js +34 -0
  364. package/mobile/lib/components/Catalog/Catalog.js.map +1 -0
  365. package/mobile/lib/components/Catalog/CatalogCard.d.ts +7 -0
  366. package/mobile/lib/components/Catalog/CatalogCard.js +14 -0
  367. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -0
  368. package/mobile/lib/components/Catalog/CatalogContent.d.ts +23 -0
  369. package/mobile/lib/components/Catalog/CatalogContent.js +2 -0
  370. package/mobile/lib/components/Catalog/CatalogContent.js.map +1 -0
  371. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  372. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  373. package/mobile/lib/components/ContentPage/ContentPageHead.js.map +1 -1
  374. package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -1
  375. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  376. package/mobile/lib/components/ExchangeRateTile/calculateResult.js.map +1 -1
  377. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  378. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  379. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  380. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  381. package/mobile/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  382. package/mobile/lib/components/GroupBlock/renderBlocksTypes.js.map +1 -1
  383. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  384. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  385. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  386. package/mobile/lib/components/Insurance/Insurance.js.map +1 -1
  387. package/mobile/lib/components/Insurance/InsuranceContent.d.ts +5 -2
  388. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +3 -3
  389. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  390. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +5 -3
  391. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  392. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  393. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  394. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  395. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -2
  396. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  397. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -1
  398. package/mobile/lib/components/OtherProducts/OtherProducts.js +1 -1
  399. package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  400. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -8
  401. package/mobile/lib/components/OtherProducts/OtherProductsItem.js +4 -6
  402. package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  403. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  404. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  405. package/mobile/lib/components/ProductTile/ProductTile.js +7 -8
  406. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  407. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  408. package/mobile/lib/components/StepsBlock/StepsBlock.js +12 -31
  409. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  410. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +5 -2
  411. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +9 -0
  412. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +18 -0
  413. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -0
  414. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  415. package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  416. package/mobile/lib/content-page-repository/mapJSON.js.map +1 -1
  417. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  418. package/mobile/lib/content-page-repository/transformMarkdown.js.map +1 -1
  419. package/mobile/lib/content-page-repository/transformPicture.js.map +1 -1
  420. package/mobile/lib/hooks/useCreditCalculatorData.js.map +1 -1
  421. package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
  422. package/mobile/lib/hooks/useLink.js.map +1 -1
  423. package/mobile/lib/react/setup-fixture.js.map +1 -1
  424. package/mobile/lib/services/sitemap/findActiveSubItem.js.map +1 -1
  425. package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
  426. package/mobile/lib/ui-kit/BlocksList/BlocksListProps.d.ts +17 -15
  427. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -3
  428. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +5 -4
  429. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  430. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -2
  431. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  432. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  433. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +2 -0
  434. package/mobile/lib/ui-kit/Foldable/Foldable.js +5 -5
  435. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  436. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  437. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  438. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  439. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  440. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  441. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  442. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  443. package/mobile/lib/utils/adjustHref.js.map +1 -1
  444. package/mobile/lib/utils/getColSpan.js.map +1 -1
  445. package/mobile/lib/utils/roundTo.js.map +1 -1
  446. package/mobile/lib/utils/tableFunc.js.map +1 -1
  447. package/mobile/lib/utils/url.js.map +1 -1
  448. package/mobile/src/api/DaDataAPI.ts +2 -0
  449. package/mobile/src/api/LikeAPI.ts +4 -0
  450. package/mobile/src/components/Accordion/Accordion.tsx +1 -1
  451. package/mobile/src/components/Accordion/AccordionItem.tsx +2 -2
  452. package/mobile/src/components/Accordion/AccordionItemInner.tsx +3 -4
  453. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -0
  454. package/mobile/src/components/Calculator/getMonthlyPayment.ts +1 -0
  455. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +1 -0
  456. package/mobile/src/components/Calculator/renderMonthsInput.tsx +1 -0
  457. package/mobile/src/components/Calculator/renderRate.tsx +2 -3
  458. package/mobile/src/components/Catalog/Catalog.example.json +57 -0
  459. package/mobile/src/components/Catalog/Catalog.tsx +74 -0
  460. package/mobile/src/components/Catalog/CatalogCard.tsx +47 -0
  461. package/mobile/src/components/Catalog/CatalogContent.ts +27 -0
  462. package/mobile/src/components/ComparisonTable/TableColumn.tsx +1 -0
  463. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -0
  464. package/mobile/src/components/ContentPage/ContentPageHead.tsx +1 -0
  465. package/mobile/src/components/ContentPage/normalizeBlock.ts +1 -0
  466. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -0
  467. package/mobile/src/components/ExchangeRateTile/calculateResult.ts +1 -0
  468. package/mobile/src/components/Footer/Footer.tsx +2 -0
  469. package/mobile/src/components/Footer/SocialMedia.tsx +1 -0
  470. package/mobile/src/components/Footer/TextInformation.tsx +1 -0
  471. package/mobile/src/components/Gallery/GalleryCardInner.tsx +1 -0
  472. package/mobile/src/components/GroupBlock/GroupBlocksItem.tsx +1 -0
  473. package/mobile/src/components/GroupBlock/renderBlocksTypes.tsx +1 -0
  474. package/mobile/src/components/Header/HeaderBurger.tsx +2 -0
  475. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +1 -0
  476. package/mobile/src/components/Headline/Headline.tsx +1 -0
  477. package/mobile/src/components/Insurance/Insurance.tsx +1 -0
  478. package/mobile/src/components/Insurance/InsuranceContent.ts +5 -2
  479. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +4 -4
  480. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +8 -3
  481. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +5 -3
  482. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -5
  483. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +3 -0
  484. package/mobile/src/components/LinkList/LinkList.tsx +1 -0
  485. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -4
  486. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +7 -1
  487. package/mobile/src/components/OtherProducts/OtherProducts.tsx +2 -2
  488. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +3 -8
  489. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +6 -18
  490. package/mobile/src/components/ProductBlock/ProductBlock.tsx +1 -0
  491. package/mobile/src/components/ProductBlock/renderBenefit.tsx +1 -0
  492. package/mobile/src/components/ProductTile/ProductTile.tsx +30 -30
  493. package/mobile/src/components/PromoTile/PromoTile.tsx +1 -0
  494. package/mobile/src/components/StepsBlock/StepsBlock.tsx +58 -82
  495. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +6 -3
  496. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +28 -0
  497. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -0
  498. package/mobile/src/content-page-repository/ContentPageRepository.ts +5 -0
  499. package/mobile/src/content-page-repository/mapJSON.ts +3 -0
  500. package/mobile/src/content-page-repository/transformContentPage.ts +2 -0
  501. package/mobile/src/content-page-repository/transformMarkdown.ts +1 -0
  502. package/mobile/src/content-page-repository/transformPicture.ts +2 -0
  503. package/mobile/src/hooks/useCreditCalculatorData.ts +2 -0
  504. package/mobile/src/hooks/useExchangeRates.ts +3 -0
  505. package/mobile/src/hooks/useLink.ts +1 -0
  506. package/mobile/src/react/setup-fixture.ts +1 -0
  507. package/mobile/src/services/sitemap/findActiveSubItem.ts +1 -0
  508. package/mobile/src/services/sitemap/useSitemap.ts +2 -0
  509. package/mobile/src/ui-kit/BlocksList/BlocksListProps.ts +25 -15
  510. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +14 -9
  511. package/mobile/src/ui-kit/Button/ButtonInner.tsx +3 -2
  512. package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -0
  513. package/mobile/src/ui-kit/Foldable/Foldable.tsx +8 -4
  514. package/mobile/src/ui-kit/Input/Input.tsx +1 -0
  515. package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -0
  516. package/mobile/src/ui-kit/List/ListItem.tsx +1 -0
  517. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -0
  518. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +1 -0
  519. package/mobile/src/ui-kit/Tabs/Tabs.tsx +1 -0
  520. package/mobile/src/ui-kit/TopItem/TopItem.tsx +1 -0
  521. package/mobile/src/utils/adjustHref.ts +2 -0
  522. package/mobile/src/utils/getColSpan.ts +1 -0
  523. package/mobile/src/utils/roundTo.ts +1 -0
  524. package/mobile/src/utils/tableFunc.ts +1 -0
  525. package/mobile/src/utils/url.ts +2 -0
  526. package/package.json +2 -2
  527. package/src/api/DaDataAPI.ts +2 -0
  528. package/src/api/LikeAPI.ts +4 -0
  529. package/src/components/Accordion/Accordion.fixture.mobile.tsx +8 -19
  530. package/src/components/Accordion/Accordion.fixture.tsx +10 -2
  531. package/src/components/Accordion/Accordion.mobile.tsx +1 -1
  532. package/src/components/Accordion/AccordionItem.mobile.tsx +2 -2
  533. package/src/components/Accordion/AccordionItemInner.mobile.tsx +3 -4
  534. package/src/components/Accordion/AccordionItemInner.tsx +3 -4
  535. package/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -0
  536. package/src/components/Blocks.ts +5 -3
  537. package/src/components/Calculator/getMonthlyPayment.ts +1 -0
  538. package/src/components/Calculator/renderCalculatorBlock.tsx +1 -0
  539. package/src/components/Calculator/renderMonthsInput.tsx +1 -0
  540. package/src/components/Calculator/renderRate.tsx +2 -3
  541. package/src/components/Catalog/Catalog.example.json +57 -0
  542. package/src/components/Catalog/Catalog.fixture.tsx +48 -0
  543. package/src/components/Catalog/Catalog.tsx +74 -0
  544. package/src/components/Catalog/CatalogCard.tsx +47 -0
  545. package/src/components/Catalog/CatalogContent.ts +27 -0
  546. package/src/components/ComparisonTable/TableColumn.tsx +1 -0
  547. package/src/components/ContentPage/ContentPage.tsx +2 -0
  548. package/src/components/ContentPage/ContentPageHead.tsx +1 -0
  549. package/src/components/ContentPage/normalizeBlock.mobile.ts +1 -0
  550. package/src/components/ContentPage/normalizeBlock.ts +1 -0
  551. package/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -0
  552. package/src/components/ExchangeRateTile/calculateResult.ts +1 -0
  553. package/src/components/Footer/Footer.mobile.tsx +2 -0
  554. package/src/components/Footer/SocialMedia.mobile.tsx +1 -0
  555. package/src/components/Footer/SocialMedia.tsx +1 -0
  556. package/src/components/Footer/TextInformation.mobile.tsx +1 -0
  557. package/src/components/Footer/TextInformation.tsx +1 -0
  558. package/src/components/Gallery/GalleryCardInner.tsx +1 -0
  559. package/src/components/GroupBlock/GroupBlocksItem.tsx +1 -0
  560. package/src/components/GroupBlock/renderBlocksTypes.tsx +1 -0
  561. package/src/components/Header/HeaderBurger.tsx +2 -0
  562. package/src/components/Header/HeaderSecondaryMenu.tsx +1 -0
  563. package/src/components/Headline/Headline.mobile.tsx +1 -0
  564. package/src/components/Insurance/Insurance.tsx +1 -0
  565. package/src/components/Insurance/InsuranceContent.ts +5 -2
  566. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +4 -4
  567. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +0 -5
  568. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +8 -3
  569. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +5 -3
  570. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -5
  571. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +3 -0
  572. package/src/components/LinkList/LinkList.tsx +1 -0
  573. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +69 -13
  574. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +2 -4
  575. package/src/components/MobileAppTile/MobileAppTile.tsx +44 -12
  576. package/src/components/MobileAppTile/MobileAppTileContent.ts +7 -1
  577. package/src/components/OtherProducts/OtherProducts.fixture.tsx +16 -53
  578. package/src/components/OtherProducts/OtherProducts.tsx +2 -2
  579. package/src/components/OtherProducts/OtherProductsContent.ts +3 -8
  580. package/src/components/OtherProducts/OtherProductsItem.tsx +6 -18
  581. package/src/components/ProductBlock/ProductBlock.mobile.tsx +1 -0
  582. package/src/components/ProductBlock/ProductBlock.tsx +1 -0
  583. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -0
  584. package/src/components/ProductBlock/renderBenefit.mobile.tsx +1 -0
  585. package/src/components/ProductBlock/renderBenefit.tsx +1 -0
  586. package/src/components/ProductTile/ProductTile.tsx +30 -30
  587. package/src/components/PromoTile/PromoTile.tsx +1 -0
  588. package/src/components/StepsBlock/StepsBlock.mobile.tsx +58 -82
  589. package/src/components/StepsBlock/StepsBlock.tsx +27 -11
  590. package/src/components/StepsBlock/StepsBlockContent.ts +6 -3
  591. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +28 -0
  592. package/src/components/TextBlock/TextBlock.mobile.tsx +1 -0
  593. package/src/components/TextBlock/TextBlock.tsx +1 -0
  594. package/src/content-page-repository/ContentPageRepository.ts +5 -0
  595. package/src/content-page-repository/mapJSON.ts +3 -0
  596. package/src/content-page-repository/transformContentPage.ts +2 -0
  597. package/src/content-page-repository/transformMarkdown.ts +1 -0
  598. package/src/content-page-repository/transformPicture.ts +2 -0
  599. package/src/hooks/useCreditCalculatorData.ts +2 -0
  600. package/src/hooks/useExchangeRates.ts +3 -0
  601. package/src/hooks/useLink.ts +1 -0
  602. package/src/react/setup-fixture.ts +1 -0
  603. package/src/services/sitemap/findActiveSubItem.ts +1 -0
  604. package/src/services/sitemap/useSitemap.ts +2 -0
  605. package/src/ui-kit/BlocksList/BlocksListProps.ts +25 -15
  606. package/src/ui-kit/BlocksList/renderBlocksList.tsx +14 -9
  607. package/src/ui-kit/Button/ButtonInner.tsx +3 -2
  608. package/src/ui-kit/Button/ButtonSection.tsx +1 -0
  609. package/src/ui-kit/Foldable/Foldable.tsx +8 -4
  610. package/src/ui-kit/Input/Input.tsx +1 -0
  611. package/src/ui-kit/InputRange/InputRange.tsx +1 -0
  612. package/src/ui-kit/List/ListItem.tsx +1 -0
  613. package/src/ui-kit/Logo/Logo.tsx +1 -0
  614. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +1 -0
  615. package/src/ui-kit/SearchBar/SearchBar.tsx +1 -0
  616. package/src/ui-kit/SearchBar.mobile.tsx +1 -0
  617. package/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +1 -0
  618. package/src/ui-kit/Tabs/Tabs.tsx +1 -0
  619. package/src/ui-kit/TopItem/TopItem.tsx +1 -0
  620. package/src/utils/adjustHref.ts +2 -0
  621. package/src/utils/getColSpan.ts +1 -0
  622. package/src/utils/roundTo.ts +1 -0
  623. package/src/utils/tableFunc.ts +1 -0
  624. package/src/utils/url.ts +2 -0
  625. package/dist/model/Insurance.d.ts +0 -6
  626. package/dist/model/Insurance.js.map +0 -1
  627. package/lib/model/Insurance.d.ts +0 -6
  628. package/lib/model/Insurance.js +0 -2
  629. package/lib/model/Insurance.js.map +0 -1
  630. package/mobile/dist/model/Insurance.d.ts +0 -6
  631. package/mobile/dist/model/Insurance.js.map +0 -1
  632. package/mobile/lib/model/Insurance.d.ts +0 -6
  633. package/mobile/lib/model/Insurance.js +0 -2
  634. package/mobile/lib/model/Insurance.js.map +0 -1
  635. package/mobile/src/model/Insurance.ts +0 -6
  636. package/src/model/Insurance.ts +0 -6
@@ -1 +1 @@
1
- {"version":3,"file":"SearchBar.mobile.js","sourceRoot":"","sources":["../../src/ui-kit/SearchBar.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAEhC,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IACrE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAC9C,OAAO,CACL,gBAAM,SAAS,EAAE,YAAY,SAAS,IAAI,EAAE,EAAE,aAC5C,eAAK,SAAS,EAAC,yGAAyG,aACtH,cAAK,SAAS,EAAC,mBAAmB,YAChC,KAAC,GAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GAC5C,EACL,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACb,gBACE,OAAO,EAAC,kBAAkB,EAC1B,SAAS,EAAC,mDAAmD,2FAGvD,CACT,IACG,EACN,gBACE,EAAE,EAAC,kBAAkB,EACrB,SAAS,EAAC,+KAA+K,EACzL,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACxC,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB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AE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACxC,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,GACvB,EACF,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,gCAAO,EACZ,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC,YAED,cAAK,SAAS,EAAC,mCAAmC,+CAAY,GACvD,IACJ,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getIndexParts.js","sourceRoot":"","sources":["../../../../src/ui-kit/SwipeListControl/utils/getIndexParts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,UAAkB,EAClB,YAAgC,EAIhC,EAAE;IACF,MAAM,KAAK,GAAG,YAAY,CAAC,SAAS,CAClC,CAAC,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC,UAAU,IAAI,UAAU,IAAI,UAAU,GAAG,QAAQ,CAC9E,CAAC;IACF,IAAI,KAAK,GAAG,CAAC,EAAE;QACb,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC;KAC/B;IAED,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;IACzC,MAAM,QAAQ,GAAG,CAAC,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC;IACtD,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AAC7B,CAAC,CAAC"}
1
+ {"version":3,"file":"getIndexParts.js","sourceRoot":"","sources":["../../../../src/ui-kit/SwipeListControl/utils/getIndexParts.ts"],"names":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C,mBAAmB,CAAC,CAAC,CAAC,cAAc,IAAI,YAAY,EAAE,CAAC;AAC5E,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"adjustHref.js","sourceRoot":"","sources":["../../src/utils/adjustHref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,MAAM,CAAC,MAAM,UAAU,GAAG,CACxB,IAAwB,EACxB,MAA2C,EAC3C,EAAE;IACF,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,MAAM,YAAY,GAAG,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC;IACxD,MAAM,YAAY,GAAG,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC;IAClE,OAAO,YAAY,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,GAAG,eAAe,GAAG,YAAY,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC;AACnG,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAwB,EAAE,MAAyB,EAAE,EAAE;IAC7E,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACvC,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;AACzD,CAAC,CAAC"}
1
+ {"version":3,"file":"adjustHref.js","sourceRoot":"","sources":["../../src/utils/adjustHref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAq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AAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACpF,CAAC,CAAC"}
1
+ {"version":3,"file":"getColSpan.js","sourceRoot":"","sources":["../../src/utils/getColSpan.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,SAAiB,EAAE,EAAE;IAC9C,MAAM,aAAa,GAAG,WAAW,CAAC;IAClC,MAAM,UAAU,GAAG,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;IAEnF,OAAO,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACpF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"roundTo.js","sourceRoot":"","sources":["../../src/utils/roundTo.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,KAAa,EAAE,SAAS,GAAG,CAAC,EAAE,EAAE;IACtD,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;IACvC,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,GAAG,MAAM,CAAC;AACjE,CAAC,CAAC"}
1
+ {"version":3,"file":"roundTo.js","sourceRoot":"","sources":["../../src/utils/roundTo.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,KAAa,EAAE,SAAS,GAAG,CAAC,EAAE,EAAE;IACtD,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;IAEvC,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,GAAG,MAAM,CAAC;AACjE,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tableFunc.js","sourceRoot":"","sources":["../../src/utils/tableFunc.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GACpB,CAAgB,KAAwC,EAAE,EAAE,CAC5D,CAAC,KAAY,EAAsB,EAAE;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC;IACvE,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
1
+ {"version":3,"file":"tableFunc.js","sourceRoot":"","sources":["../../src/utils/tableFunc.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GACpB,CAAgB,KAAwC,EAAE,EAAE,CAC5D,CAAC,KAAY,EAAsB,EAAE;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC;IAEvE,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"url.js","sourceRoot":"","sources":["../../src/utils/url.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;AAE7D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;AAEnF,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,IAAa,EAAE,E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,GAAG,CAAC,IAAa,EAAE,EAAE;IACzC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;QACzB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,GAAG,GAAG,IAAI,CAAC;IACjB,MAAM,cAAc,GAAG,IAAI,CAAC;IAC5B,MAAM,UAAU,GAAG,GAAG,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IAC/C,MAAM,WAAW,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,UAAU,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;IAEzE,OAAO,WAAW,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AAClE,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,IAAa,EAAE,EAAE;IACvC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;QACzB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC/E,CAAC,CAAC"}
@@ -447,6 +447,10 @@
447
447
  return format ? `image/${String(format)}` : undefined;
448
448
  }
449
449
 
450
+ function style2className(style) {
451
+ return style ? style.filter(Boolean).join(' ') : '';
452
+ }
453
+
450
454
  const ALIGN_TEXT = {
451
455
  left: 'text-left',
452
456
  center: 'text-center',
@@ -717,14 +721,14 @@
717
721
 
718
722
  const ButtonInner = JSX((props) => {
719
723
  const { text, aboveText, appendLeft, appendRight } = props;
720
- return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-m-2xs font-light text-left", children: aboveText }), jsx("div", { className: "text-button text-left", children: text })] })) : null, appendRight ? appendRight : null] }));
724
+ return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-m-2xs font-light text-left", children: aboveText }), jsx("div", { className: "text-base text-left", children: text })] })) : null, appendRight ? appendRight : null] }));
721
725
  });
722
726
  const getButtonStyle = (props) => {
723
727
  const { version, aboveText, rounded } = props;
724
728
  if (version === 'link') {
725
729
  return '';
726
730
  }
727
- const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-[18px]'}`;
731
+ const withTextStyle = `px-9 gap-2 ${aboveText ? 'py-2' : 'py-4'}`;
728
732
  return [
729
733
  'flex items-center justify-center',
730
734
  isWithText(props) ? withTextStyle : 'h-12 w-12',
@@ -930,20 +934,19 @@
930
934
  LinkList,
931
935
  };
932
936
 
933
- const renderBlocksList = ({ blocks, context, className, columns }) => blocks?.length ? blocks.map(renderBlock$1({ context, className, columns })) : null;
934
- const renderBlock$1 = ({ context, columns, className }) => (block, i) => {
937
+ const renderBlocksList = ({ blocks, context, className = '' }) => blocks?.length ? blocks.map(renderBlock$1({ context, className })) : null;
938
+ const renderBlock$1 = ({ context, className }) => (block, i) => {
935
939
  const type = block?.blockListType;
936
940
  if (!type || !(type in EmbeddableBlocks)) {
937
941
  return null;
938
942
  }
939
- const columnsCountClass = columns === 2 ? 'w-1/2' : '';
943
+ const classNameBlock = style2className(block?.style);
940
944
  const EmbeddedBlock = EmbeddableBlocks[type];
941
- return (jsx("div", { className: `${className} ${columnsCountClass}`, children: jsx(EmbeddedBlock, { context: context, ...block, className: "!p-0" }) }, `block_${i}`));
945
+ return (jsx(EmbeddedBlock, { context: context, ...block, className: `${className} ${classNameBlock}` }, `block_${i}`));
942
946
  };
943
947
 
944
948
  const AccordionItemInner = JSX(({ blocks, context }) => {
945
- const className = 'mb-5 last:mb-0 first:mt-2';
946
- return (jsx("div", { className: "transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0", children: renderBlocksList({ context, className, blocks }) }));
949
+ return (jsx("div", { className: "flex flex-wrap transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0", children: renderBlocksList({ context, blocks, className: '!px-0' }) }));
947
950
  });
948
951
 
949
952
  const useActiveHandler = ({ context, blocks, initialState = false }) => {
@@ -978,7 +981,7 @@
978
981
  }
979
982
 
980
983
  const Accordion = JSX(({ title, description, accordionItems, context, className = '', bordered }) => {
981
- return (jsxs("section", { className: `py-6 px-4 font-sans bg-white text-primary-text ${className}`, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-2 text-center", title: title }) : null, description ? jsx("div", { className: "mb-5 text-m-md text-center", children: description }) : null, accordionItems?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => (jsx(AccordionItem, { ...item, context: context, bordered: bordered }, `AccordionItem${i}`))) })) : null] }));
984
+ return (jsxs("section", { className: `py-6 px-4 font-sans bg-white text-primary-text ${className}`, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-2 text-center", title: title }) : null, description ? jsx("div", { className: "mb-5 text-m-md text-center", children: description }) : null, accordionItems?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => (jsx(AccordionItem, { ...item, context: context, bordered: bordered }, `AccordionItem_${i}`))) })) : null] }));
982
985
  });
983
986
 
984
987
  const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
@@ -1322,8 +1325,8 @@
1322
1325
  return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [jsx(SVG, { className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, viewBox: "0 0 40 45", paths: LOGO_PATHS.map((d) => ({ d })) }), hideTitle ? null : (jsx("span", { className: `${TEXT_COLOR[bgColor]} text-sm font-medium ml-2.5`, children: children || 'Россельхозбанк' }))] }));
1323
1326
  });
1324
1327
 
1325
- const MobileAppTile = JSX(({ className, title = 'Мобильное приложение', description, href = '#' }) => {
1326
- return (jsx("div", { className: `col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${className || ''}`, children: href ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]", children: jsx(Logo, { className: "w-[33px]", bgColor: "transparent", hideTitle: true }) }), jsxs("a", { href: href, target: "_blank", className: "flex flex-col justify-center pl-3 font-sans", children: [jsx("div", { className: "text-m-button font-medium mb-[3px]", children: title }), jsx("div", { className: "text-m-button text-secondary-text", children: description })] })] })) : null }));
1328
+ const MobileAppTile = JSX(({ className = '', title = 'Мобильное приложение', description, href = '#' }) => {
1329
+ return (jsx("div", { className: `col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${className}`, children: href ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]", children: jsx(Logo, { className: "w-[33px]", bgColor: "transparent", hideTitle: true }) }), jsxs("a", { href: href, target: "_blank", className: "flex flex-col justify-center pl-3 font-sans", children: [jsx("div", { className: "text-m-button font-medium mb-[3px]", children: title }), jsx("div", { className: "text-m-button text-secondary-text", children: description })] })] })) : null }));
1327
1330
  });
1328
1331
 
1329
1332
  const Contacts = JSX(({ className = '', items, hasButton, context }) => {
@@ -1576,14 +1579,6 @@
1576
1579
  return (jsx("section", { className: `font-sans bg-white overflow-hidden w-100 pb-6 ${className || ''}`, children: jsx(SwipeListControl, { context: context, children: galleryBlocks.map((block, i) => (jsx(ProductGalleryBlock, { block: block, context: context }, String(i)))) }) }));
1577
1580
  });
1578
1581
 
1579
- const STEPS_SIZE_MAP = {
1580
- normal: 'h-[70px] w-[70px] min-w-[70px] min-h-[70px]',
1581
- small: 'h-[50px] w-[50px] min-w-[50px] min-h-[50px]',
1582
- };
1583
- const STEPS_TILE_DESCRIPTION_HEIGHT_MAP = {
1584
- normal: 'min-h-[70px]',
1585
- small: 'min-h-[50px]',
1586
- };
1587
1582
  const STEPS_BLOCK_STYLE_MAPS = {
1588
1583
  primary: {
1589
1584
  background: 'bg-white',
@@ -1600,27 +1595,33 @@
1600
1595
  iconConnector: 'bg-white',
1601
1596
  },
1602
1597
  };
1603
- const styleMaps = (version) => STEPS_BLOCK_STYLE_MAPS[version];
1604
- const StepsBlock = JSX(({ className, title, description, steps, size = 'normal', version = 'primary' }) => {
1605
- const style = styleMaps(version);
1598
+ const getStyleMap = (version) => STEPS_BLOCK_STYLE_MAPS[version];
1599
+
1600
+ const STEPS_SIZE_MAP = {
1601
+ normal: 'h-[70px] w-[70px] min-w-[70px] min-h-[70px]',
1602
+ small: 'h-[50px] w-[50px] min-w-[50px] min-h-[50px]',
1603
+ };
1604
+ const STEPS_TILE_DESCRIPTION_HEIGHT_MAP = {
1605
+ normal: 'min-h-[70px]',
1606
+ small: 'min-h-[50px]',
1607
+ };
1608
+ const StepsBlock = JSX(({ className, title, description, showLines = true, steps, size = 'normal', version = 'primary', }) => {
1609
+ const styleMap = getStyleMap(version);
1606
1610
  return (jsxs("section", { className: `box-border font-sans bg-white px-4 py-6 flex flex-col
1607
- ${style.background} ${style.title} ${className || ''}`, children: [title ? (jsx(Heading, { headingType: "h3", className: `text-center ${style.title}`, title: title })) : null, description ? (jsx("p", { className: `text-m-md text-center ${style.description} ${title && 'mt-2'}`, children: description })) : null, steps?.length ? (jsx("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: jsx("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map((step, i) => renderStepTitle({ step, size, i, length: steps.length, version: version })) }) })) : null] }));
1611
+ ${styleMap.background} ${styleMap.title} ${className || ''}`, children: [title ? (jsx(Heading, { headingType: "h3", className: `text-center ${styleMap.title}`, title: title })) : null, description ? (jsx("p", { className: `text-m-md text-center ${styleMap.description} ${title ? 'mt-2' : ''}`, children: description })) : null, steps?.length ? (jsx("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: jsx("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map(renderStepTitle(size, version, showLines)) }) })) : null] }));
1608
1612
  });
1609
- const renderStepTitle = (params) => {
1610
- const { step, size, i, length, version } = params;
1611
- const isLastStep = length - 1 === i;
1612
- const margin = size === 'normal' ? 'ml-[34px]' : 'ml-[24px]';
1613
- const style = styleMaps(version);
1614
- return (jsx("div", { children: jsxs("div", { className: "flex flex-row text-center relative", children: [jsxs("div", { className: "overflow-hidden", children: [renderIconArea(params), isLastStep ? null : (jsx("div", { className: `min-h-8 h-full w-[2px] ${style.iconConnector} ${margin}` }))] }), jsxs("div", { className: `flex flex-col justify-center h-fit ${STEPS_TILE_DESCRIPTION_HEIGHT_MAP[size]}`, children: [step.label ? (jsx("div", { className: "font-medium text-m-title-xs m-0 text-left", children: step.label })) : null, step.description ? (jsx("div", { className: `font-normal text-sm ${style.description} text-left ${step.label ? 'mt-1' : ''}`, children: step.description })) : null] })] }, String(i)) }, String(i)));
1615
- };
1616
- const renderIconArea = (params) => {
1617
- const { step, size, i, version } = params;
1618
- const style = styleMaps(version);
1613
+ const renderStepTitle = (size, version, showLines) => (step, i, steps) => {
1614
+ const isLastStep = steps.length - 1 === i;
1615
+ const margin = size === 'normal' ? 'ml-[34px]' : 'ml-6';
1616
+ const styleMap = getStyleMap(version);
1617
+ return (jsx("div", { children: jsxs("div", { className: "flex flex-row text-center relative", children: [jsxs("div", { className: "overflow-hidden", children: [renderIconArea(size, version), isLastStep ? null : (jsx("div", { className: `min-h-8 h-full w-[2px] ${showLines ? styleMap.iconConnector : ''} ${margin}` }))] }), jsxs("div", { className: `flex flex-col justify-center h-fit ${STEPS_TILE_DESCRIPTION_HEIGHT_MAP[size]}`, children: [step.label ? (jsx("div", { className: "font-medium text-m-title-xs m-0 text-left", children: step.label })) : null, step.description ? (jsx("div", { className: `font-normal text-sm ${styleMap.description} text-left ${step.label ? 'mt-1' : ''}`, children: step.description })) : null] })] }) }, String(i)));
1618
+ };
1619
+ const renderIconArea = (size, version) => (step, i) => {
1620
+ const styleMap = getStyleMap(version);
1619
1621
  const iconAreaSize = STEPS_SIZE_MAP[size];
1620
1622
  const iconSize = size === 'normal' ? '38' : '27';
1621
1623
  const iconTextSize = size === 'normal' ? 'text-m-title' : 'text-m-title-xs';
1622
- return (jsx("div", { className: `${iconAreaSize} ${style.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`, children: jsx("span", { className: `font-medium flex self-center ${style.title} ${iconTextSize}`, children: (step.icon?.icon && jsx(Img, { image: step.icon, width: iconSize, height: iconSize, asSVG: true })) ||
1623
- i + 1 }) }));
1624
+ return (jsx("div", { className: `${iconAreaSize} ${styleMap.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`, children: jsx("span", { className: `font-medium flex self-center ${styleMap.title} ${iconTextSize}`, children: (step.icon?.icon && jsx(Img, { image: step.icon, width: iconSize, height: iconSize })) || i + 1 }) }));
1624
1625
  };
1625
1626
 
1626
1627
  const TableTileHeader = JSX(({ title, icon }) => {
@@ -1689,10 +1690,6 @@
1689
1690
 
1690
1691
  const isSSR = () => !(typeof window !== 'undefined' && window.document && window.document.createElement);
1691
1692
 
1692
- function style2className(style) {
1693
- return style ? style.filter(Boolean).join(' ') : '';
1694
- }
1695
-
1696
1693
  const LikeButton = JSX(({ className, onClick, ariaLabel }) => (jsx("button", { type: "button", className: `border-0 w-[36px] bg-inherit cursor-pointer ${className || ''}`, onClick: onClick, "aria-label": ariaLabel, children: renderLikeIcon() })));
1697
1694
  const renderLikeIcon = () => {
1698
1695
  const params = {
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";const t=(e,n)=>{t._jsx=e,t._jsxs=n||e};t.vue=e=>{t(((t,{children:n,dangerouslySetInnerHTML:l,...r}={})=>{const a=Object.assign({},r,l?{innerHTML:l.__html}:{});return e(t,a,"string"!=typeof t?()=>n:n)}))};const n=(...e)=>t._jsx(...e),l=(...e)=>t._jsxs(...e),r=e=>(e._tmpl||(e._tmpl=function(t,n){const{children:l,...r}=t||{},a=n?.slots?.default,o=l||a&&a();return e(Object.assign(r,o&&{children:o}),n)},e._tmpl.inheritAttrs=!1),e._tmpl);const a="likesToken";const o={h1:"text-m-title",h2:"text-m-title",h3:"text-m-title-md",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},i=r((e=>{const{className:t,headingType:l,title:r,as:a}=e;if(!l)return;return n(a||l,{className:`font-sans font-medium m-0 ${o[l]} ${t||""}`,children:r})}));var c,s;!function(e){e.ActualBalanceIcon="ActualBalanceIcon",e.AirPlane="AirPlane",e.AppleIcon="AppleIcon",e.ArrowDownIcon="ArrowDownIcon",e.ArrowLeftIcon="ArrowLeftIcon",e.ArrowUpIcon="ArrowUpIcon",e.AtmIcon="AtmIcon",e.BankIcon="BankIcon",e.BurgerIcon="BurgerIcon",e.Calendar2Icon="Calendar2Icon",e.CalendarCircleIcon="CalendarCircleIcon",e.CalendarIcon="CalendarIcon",e.CalendarTickIcon="CalendarTickIcon",e.CardIcon="CardIcon",e.CardPosIcon="CardPosIcon",e.CardTickIcon="CardTickIcon",e.CardWithGemIcon="CardWithGemIcon",e.CarIcon="CarIcon",e.ChartSquareIcon="ChartSquareIcon",e.CinemaIcon="CinemaIcon",e.ClockIcon="ClockIcon",e.CloseIcon="CloseIcon",e.ComfortableCompIcon="ComfortableCompIcon",e.CreditCardsIcon="CreditCardsIcon",e.DiscountShapeIcon="DiscountShapeIcon",e.DocIcon="DocIcon",e.DocIconMonoColor="DocIconMonoColor",e.DocsIcon="DocsIcon",e.DocumentTextIcon="DocumentTextIcon",e.DollarIcon="DollarIcon",e.DoneIcon="DoneIcon",e.EarthIcon="EarthIcon",e.EmptyWalletChangeIcon="EmptyWalletChangeIcon",e.EmptyWalletIcon="EmptyWalletIcon",e.EuroIcon="EuroIcon",e.GeolocationIcon="GeolocationIcon",e.GlassIcon="GlassIcon",e.GlobalIcon="GlobalIcon",e.GpsIcon="GpsIcon",e.GridIcon="GridIcon",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.PersonalCardIcon="PersonalCardIcon",e.PlayMarketIcon="PlayMarketIcon",e.PlusIcon="PlusIcon",e.PowerIcon="PowerIcon",e.Profile2UserIcon="Profile2UserIcon",e.ProfileIcon="ProfileIcon",e.PumpkinIcon="PumpkinIcon",e.RoundRubleIcon="RoundRubleIcon",e.SafeIcon="SafeIcon",e.ShieldTickIcon="ShieldTickIcon",e.SignDocsIcon="SignDocsIcon",e.SmallClockIcon="SmallClockIcon",e.SoundIcon="SoundIcon",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",e.WateringCan="WateringCan"}(c||(c={})),function(e){e.ActualBalanceIcon="Деньги",e.AirPlane="Самолет",e.AppleIcon="Лого «Apple»",e.ArrowDownIcon="Стрелка 'Вниз'",e.ArrowLeftIcon="Стрелка",e.ArrowUpIcon="Стрелка вверх",e.AtmIcon="Банкомат",e.BankIcon="Банк",e.BurgerIcon="Бургер",e.Calendar2Icon="Календарь 2",e.CalendarCircleIcon="Скруглённый календарь",e.CalendarIcon="Календарь",e.CalendarTickIcon="Календарь с галочкой",e.CardIcon="Кред. карта",e.CardPosIcon="Кред. карта под наклоном",e.CardTickIcon="Кред. карта с галочкой",e.CardWithGemIcon="Карта с драгоценностями",e.CarIcon="Машина",e.ChartSquareIcon="Деньги внутри кошелька",e.CinemaIcon="Кино",e.ClockIcon="Часы",e.CloseIcon="Крестик",e.ComfortableCompIcon="Кресло",e.CreditCardsIcon="Кредитные карты",e.DiscountShapeIcon="Скидка",e.DocIcon="Документ",e.DocIconMonoColor="Документ (одноцветный)",e.DocsIcon="Документы",e.DocumentTextIcon="Документ с текстом",e.DollarIcon="Доллар",e.DoneIcon="Зелёная 'галочка'",e.EarthIcon="Земля",e.EmptyWalletChangeIcon="Пустой кошелёк с возвратом",e.EmptyWalletIcon="Пустой кошелёк",e.EuroIcon="Евро",e.GeolocationIcon="Геолокация",e.GlassIcon="Зеркало",e.GlobalIcon="Глобус",e.GpsIcon="Gps",e.GridIcon="Сетка (белая)",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.PersonalCardIcon="Персональная карта",e.PlayMarketIcon="Лого «PlayMarket»",e.PlusIcon="Плюс",e.PowerIcon="Щит",e.Profile2UserIcon="Профиль, 2 персоны",e.ProfileIcon="Профиль",e.PumpkinIcon="Тыква",e.RoundRubleIcon="Рубль (круг.)",e.SafeIcon="Сейф",e.ShieldTickIcon="Безопасность",e.SignDocsIcon="Подписанные документы",e.SmallClockIcon="Маленькие часы",e.SoundIcon="Звук",e.TelegramIcon="Лого «Telegram»",e.UnionPayIcon="UnionPay",e.UserTickIcon="Пользователь",e.VisaIcon="Visa",e.VKIcon="Лого «VK»",e.WalletAdd2Icon="Пополнение карты",e.WalletAddIcon="Кошелёк с плюсом",e.WalletIcon="Кошелёк",e.WalletWithMoneyIcon="Кошелёк с деньгами",e.WateringCan="Добавить продукт"}(s||(s={}));const d=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}},m={normal:"text-primary-main",black:"text-black",white:"text-black invert"},h=r((({className:e="",imageClassName:t="",name:r="",alt:a=`Иконка ${s[r]||r}`,title:o=a,iconVersion:i="normal",asSVG:c,...h})=>{const u=`${d.CDN||""}icons/${r}.svg`;return c?l("svg",{className:e,...h,"aria-hidden":"true",children:[o?n("title",{children:o}):null,a?n("desc",{children:a}):null,n("use",{className:`${m[i]} ${t}`,href:`${u}#icon`,xlinkHref:`${u}#icon`})]}):n("img",{className:e,src:u,alt:a,title:o,...h,"aria-hidden":"true"})}));function u(e){return"string"==typeof e?"normal":e.iconVersion||"normal"}const p=r((({className:e="",image:t,imageClassName:l="",...r})=>{const a="string"==typeof t?t:t?.icon;return a||""===a?n(h,{className:e,imageClassName:l,iconVersion:u(t),name:a,...r}):n(x,{className:e,imageClassName:l,image:t})})),x=r((({className:e="",image:t,imageClassName:r=""})=>t?l("picture",{className:e,children:[t?.sources?.length?t.sources.map((({src:e,format:t},l)=>n("source",{srcSet:e,type:b(t)},`${l}_${e}`))):null,g(t,r)]}):null)),g=(e,t="")=>{const l={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},r=e.title||"",a=e.alt||e.title;return n("img",{src:e.src,className:`m-auto ${t}`,alt:a,title:r,style:l,...e.size})};function b(e){return e?`image/${String(e)}`:void 0}const f={left:"text-left",center:"text-center",right:"text-right"},y={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"}},v=r((({bgColorHeadline:e="transparent",className:t="",title:r,description:a,image:o,align:c="left"})=>{const s=y[e];return l("section",{className:`px-4 py-6 flex flex-col gap-2.5 ${s.background} ${t}`,children:[r?n(i,{headingType:"h2",className:`${s.text} ${f[c]}`,title:r}):null,a?n("p",{className:`font-normal text-m-md ${s.description} ${f[c]} `,children:a}):null,o?.src&&n("div",{className:"mt-2.5 mx-auto flex justify-center",children:n(p,{image:o})})]})})),N=r((({children:e,activeIndex:t,indexFraction:l,showDots:r})=>{const a=e=>n=>{if(e===t)return;const l=n.currentTarget.parentElement?.previousElementSibling;l?.children[e]?.scrollIntoView({behavior:"smooth",block:"nearest"})};return r&&e?.length?n("div",{className:"flex gap-2 mx-auto mt-5 w-fit",children:e?.map(((e,r)=>n("div",{onClick:a(r),className:"bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full",style:w(r,t,l),"aria-hidden":!0},String(r))))}):null})),w=(e,t,n)=>{if(e<t||e>t+1)return null;const l=1-n;return e===t?{opacity:""+(.3+.7*l),width:6+16*l+"px"}:{opacity:""+(.3+.7*n),width:6+16*n+"px"}},I=r((({className:e="",children:t,...l})=>n("div",{className:`snap-center snap-always min-w-full box-border ${e}`,role:"listitem",...l,children:t}))),C=e=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e}px`}),k=r((({className:e="",children:t,activeIndex:l,onScroll:r,gap:a=14,padding:o=16})=>n("div",{className:`overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...C(o),gap:`${a}px`},role:"list",onScroll:r,children:t?.length?t?.map(((e,t)=>n(I,{style:C(o/4),"aria-current":Boolean(l===t),children:e},String(t)))):n(I,{children:t})}))),S=r((({className:e,context:t,children:r,gap:a=14,padding:o=16,showDots:i=!0,onSlideChange:c})=>{const[s,d]=t.useState(0),[m,h]=t.useState(0),u={activeIndex:s,indexFraction:m,showDots:i,children:r};return l("div",{className:e,children:[n(k,{gap:a,padding:o,activeIndex:s,onScroll:e=>{const{scrollLeft:t,clientWidth:n,childElementCount:l,scrollWidth:r,children:i}=e.currentTarget,m=i[0].offsetWidth-o/2,u=(({gap:e,padding:t,clientWidth:n,scrollWidth:l,childElementCount:r,itemWidth:a})=>{const o=l-n;if(2===r)return[[0,o],[o,l]];const i=a+e,c=n-e-t,s=r-2,d=new Array(r).fill(0).map(((e,t)=>0===t||t===s?[t>0?o-c:0,t>0?o:c]:[(t-1)*i+c,t*i+c]));return d[r-1]=[o,l],d})({gap:a,padding:o,clientWidth:n,scrollWidth:r,childElementCount:l,itemWidth:m}),{index:p,fraction:x}=((e,t)=>{const n=t.findIndex((([t,n])=>t<=e&&e<n));if(n<0)return{index:n,fraction:0};const[l,r]=t[n];return{index:n,fraction:(e-l)/(r-l)}})(t,u);p!==s&&c&&c(),d(p),h(x)},children:r}),n(N,{...u})]})})),$=r((({className:e,iconClassName:t,textClassName:r,suffixClassName:a,doc:o,icon:i})=>{const{text:c,fileSize:s,...d}=o;return l("a",{className:e,role:"link",...d,children:[i?n(p,{className:t,image:i,width:"24px",height:"24px",asSVG:!0}):null,c?l("span",{className:r,children:[c,n("span",{className:a,children:d?.href&&T(D(d.href),s)})]}):null]})})),T=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),D=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},B=r((({className:e="",doc:t,icon:l})=>n($,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:l}))),R=r((({context:e,hasBorder:t=!0,documents:l,icon:r})=>n(S,{context:e,className:"text-m-sm text-primary-main mt-5",children:l?.length?l.map(((e,l)=>n(B,{className:t?"rounded-md border-main-stroke border border-solid p-4":"",doc:e,icon:r},String(l)))):null}))),_=r((({hasBorder:e=!0,documents:t,icon:l})=>n("div",{className:"text-m-sm text-primary-main flex flex-col mt-5 "+(e?"gap-3.5":"gap-2"),role:"list",children:t?.length?t.map(((t,r)=>n("div",{role:"listitem",children:n(B,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:l})},String(r)))):null}))),V=r((({className:e="",context:t,title:r,description:a,icon:o={icon:"DocIconMonoColor"},documents:i,orientation:c="vertical",hasBorder:s=!0})=>l("section",{className:`font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${e}`,children:[n(v,{className:"!p-0 "+(a?"gap-2":"gap-5"),title:r,description:a,context:t,align:"center",headingType:"h3"}),"vertical"===c?n(_,{hasBorder:s,documents:i,icon:o}):n(R,{context:t,hasBorder:s,documents:i,icon:o})]}))),A=e=>e?.includes("//"),P=e=>(e||"").replace(/\/?\?.*/,""),L=e=>{if(!e||!A(e))return;const t=e,n=t.indexOf("//"),l=t.indexOf("/",n+"//".length);return-1!==l?t.substring(0,l):t};var M=Object.freeze({__proto__:null,isURL:A,withoutQuery:P,getOrigin:L,getHash:e=>{if(!e||!A(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0}});const G="/mobile",j=(e,t)=>{if(!e)return e;const n=L(t?.href);return n?e.replace(n,"")||"/":e},W=e=>e;function U({router:e,handlerDecorator:t=W},n){const l=((e,t)=>{if(!e)return e;const n=j(e,t)||"",l=t?.pathname.startsWith(G);return l&&!A(n)?`/mobile${n}`:n})(n.href,e);return{...n,href:l,"aria-label":n.text,onClick:t((t=>{const r=l&&!A(l),a=!n.target||"_self"===n.target;r&&a&&(t.preventDefault(),e.push(l))}),n)}}const E=r((e=>{const{text:t,aboveText:r,appendLeft:a,appendRight:o}=e;return l("div",{className:O(e),children:[a||null,F(e)?l("div",{children:[n("div",{className:"text-m-2xs font-light text-left",children:r}),n("div",{className:"text-button text-left",children:t})]}):null,o||null]})})),O=e=>{const{version:t,aboveText:n,rounded:l}=e;if("link"===t)return"";const r="px-8 gap-2 "+(n?"py-2":"py-[18px]");return["flex items-center justify-center",F(e)?r:"h-12 w-12",l?"rounded-full":""].join(" ")},F=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),H={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active",link:"text-primary-main"},z={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text",link:""},Z="w-full text-center font-sans select-none",J=r((({className:e,text:t,aboveText:l,appendLeft:r,href:a,target:o,onClick:i,children:c,disabled:s,rounded:d,version:m="primary",ariaLabel:h,...u})=>{const p=c??n(E,{text:t,aboveText:l,appendLeft:r,rounded:d,version:m});return s?n("div",{role:"button","aria-disabled":"true","aria-label":h,tabIndex:"-1",className:`inline-block ${Z} ${z[m]||""} ${d?"rounded-full":"rounded-md"} ${e||""}`,children:p}):n("a",{className:`${Z} inline-block cursor-pointer no-underline ${H[m]||""} ${d?"rounded-full":"rounded-md"} ${e||""}`,href:a,target:o,onClick:i,"aria-label":h,role:a?"link":"button",...u,children:p})})),q=r((({context:e,className:t="",buttons:l})=>{const{handlerDecorator:r}=e,a=e.useRouter();return l?.length?n("div",{className:t,children:l.map(((e,t)=>function({icon:e,...t},l){if(!t?.text)return;return n(J,e?{appendLeft:n(p,{image:e,width:"24",height:"24",asSVG:!0}),...t}:{...t},String(l))}(U({router:a,handlerDecorator:r},e),t)))}):null}));const K=r((e=>{const{className:t="",description:l}=e;return n("div",{className:`font-normal text-base ${t}`,children:l})})),Q={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 mt-3","tile-white":"rounded-full inline-block mr-4 mt-3"},Y={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text",tile:"bg-black","tile-white":"bg-white"},X=r((({className:e="",isDotted:t=!0,children:r,version:a="primary"})=>l("div",{className:`font-sans flex items-start ${e}`,role:"listitem",children:[t?n("div",{className:ee(a)}):null,n("span",{children:r})]}))),ee=e=>`${Q[e]} ${Y[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]}`,te={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text",tile:"text-primary-text","tile-white":"text-white"},ne=r((e=>{const{className:t="",itemClassName:l,isDotted:r,items:a,version:o="primary"}=e;return n("section",{className:`${te[o]} ${t}`,role:"list",children:a?.length?a.map(((e,t)=>n(X,{className:l,isDotted:r,version:o,children:e},String(t)))):null})})),le=r((({className:e="",title:t,children:r,buttons:a,image:o,anchor:i=null})=>l("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,id:i,children:[t,l("div",{className:"flex grow w-full justify-between",children:[l("div",{className:"flex flex-col justify-between w-full",children:[n("div",{children:r}),a?n("div",{children:a}):null]}),o]})]}))),re={primary:"text-primary-text",secondary:"text-white"},ae={primary:"text-secondary-text",secondary:"text-white"};function oe(e){let t="text-primary-main";return"secondary"===e&&(t="text-black"),`w-6 h-6 rounded-full box-border ${t}`}const ie=r((({className:e="",context:t,title:r,headingType:a="h2",description:o,benefits:c,benefitsVersion:s="normal",buttons:d,image:m,items:h,version:u="primary",isDotted:x=!0,label:g})=>l("div",{className:`w-full ${e}`,children:[l("div",{children:[g?de(g,u):null,l(le,{context:t,title:r?n(i,{headingType:a,title:r,className:"whitespace-pre-wrap max-w-[600px]"}):null,buttons:d?.length?n(q,{context:t,buttons:d,className:"flex flex-col mt-5 gap-2.5"}):null,children:[o?n(K,{className:"mt-3 text-m-md",description:o}):null,c?.filter((e=>e.label))?.length?n("div",{className:"mt-3",children:c.map(((e,t)=>function({benefit:e,version:t="primary"},r){const a="secondary"===t;return l("div",{className:"flex gap-3 items-center mb-2.5 last:mb-0",children:[e.icon?n(p,{className:oe(t),image:{...e?.icon,iconVersion:a?"white":"normal"},width:"24",height:"24",asSVG:!0}):null,n("div",{className:`font-medium text-m-title-xs m-0 ${re[t]}`,children:e.label}),e.description&&n("div",{className:`font-normal text-m-sm ${ae[t]}`,children:e.description})]},String(r))}({benefit:e,version:u,benefitsVersion:s},t)))}):null,h?.length?n(ne,{className:"mt-3 text-m-md",items:h,version:u,isDotted:x}):null]})]}),ce(m)]})));function ce(e){return e?.src?n(p,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const se={primary:"text-primary-main border-secondary-hover",secondary:"text-white/80"},de=(e,t)=>n("div",{className:`m-xs px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${se[t]}`,children:e}),me={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},he=r((e=>{const{className:t="",version:l="primary"}=e;return n("section",{className:`font-sans bg-white px-4 py-6 ${me[l]} ${t}`,children:n(ie,{...e})})})),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:a,image:o,className:i="",items:c,isDotted:s=!0})=>{const d=ue[r];return l("section",{className:`font-sans px-4 py-[18px] flex flex-col ${d.background} ${i}`,children:["small"===a?xe(d.icon):null,"big"===a?ge(o):null,l("div",{className:"py-0.5",children:[e?n("div",{className:`font-medium text-base mb-1 ${d.title}`,children:e}):null,t?n("div",{className:`text-sm ${d.description}`,children:t}):null,c?.length?n(ne,{className:"mt-1 text-m-md",items:c,isDotted:s,version:"secondary"===r?"secondary":"gray"}):null]})]})}));function xe(e){return n("div",{className:"mb-3",children:n("div",{className:`rounded-full h-4 w-4 text-center text-xs ${e}`,children:"i"})})}function ge(e){return e?.src?n(p,{className:"pb-3 mr-auto",image:e}):null}const be={primary:"bg-white",secondary:"bg-primary-main text-white"},fe=r((({context:e,title:t,description:r,cards:a=[],className:o,orientation:c="horizontal"})=>l("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${o}`,children:[l("div",{className:"flex flex-col items-center mb-5",children:[t?n(i,{headingType:"h3",className:"text-center "+(r?"mb-2":"mb-5"),title:t}):null,r?n("div",{className:"font-normal text-m-md max-w-[600px] text-center mb-5",children:r}):null]}),ye(c,a,e)]})));function ye(e,t,l){return"horizontal"===e?n(S,{context:l,children:t?.map(ve)}):n("div",{className:"grid gap-[14px]",children:t?.map(ve)})}function ve(e,t){return l("div",{className:`h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col\n ${be[e.version??"primary"]}`,children:[l("div",{children:[e.image?.src?n("div",{className:"flex justify-center",children:n(p,{className:"mb-3.5",image:e.image})}):null,e.title?n("h3",{className:"font-medium text-m-title-xs m-0",children:e.title}):null,e.description?Ne(e):null,e.items?.length?we(e.items,e.isDotted,e.version):null]}),e?.button?.text?(r=e.button,n(J,{className:"mt-3",appendLeft:r?.icon&&n(p,{image:r?.icon,width:"24px",height:"24px",asSVG:!0}),...r})):null]},t);var r}function Ne(e){return n("div",{className:"text-secondary-text mt-1 text-m-sm "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}function we(e,t,r="primary"){return n("section",{className:"mt-3",children:e.map(((e,a)=>l("div",{children:[t?n("div",{className:ee(r)}):null,n("span",{className:"text-m-md font-medium",children:e.title}),n("span",{className:"text-m-sm pl-2 "+("primary"===r?"text-secondary-text":""),children:e.text})]},String(a))))})}const Ie=r((({className:e="",documents:t,anchor:l=null})=>n("section",{className:`font-sans bg-white mt-[10px] ${e}`,id:l,children:n("ul",{className:"flex flex-col text-sm text-secondary-text p-0",children:t?.length?Ce(t):null})}))),Ce=e=>e.map(((e,t)=>{const{text:l,...r}=e;return n("li",{className:"mb-4 list-none",children:n("a",{className:"hover:text-primary-main",role:"link",...r,children:l||null})},`list_item_${String(t)}`)})),ke={Headline:v,LinkDocs:V,TextBlock:pe,ProductBlock:he,Gallery:fe,LinkList:Ie},Se=({blocks:e,context:t,className:n,columns:l})=>e?.length?e.map($e({context:t,className:n,columns:l})):null,$e=({context:e,columns:t,className:l})=>(r,a)=>{const o=r?.blockListType;if(!o||!(o in ke))return null;return n("div",{className:`${l} ${2===t?"w-1/2":""}`,children:n(ke[o],{context:e,...r,className:"!p-0"})},`block_${a}`)},Te=r((({blocks:e,context:t})=>n("div",{className:"transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0",children:Se({context:t,className:"mb-5 last:mb-0 first:mt-2",blocks:e})}))),De=r((({label:e,labelIcon:t,blocks:r,bordered:a,context:o})=>{const{hasContent:i,icon:c,handleToggle:s}=(({context:e,blocks:t,initialState:n=!1})=>{const[l,r]=e.useState(n),a=t?.length;return{isActive:l,hasContent:a,icon:l?"MinusIcon":"PlusIcon",handleToggle:e=>{if(!a)return;r(!l);const t=(({currentTarget:e})=>e.nextSibling)(e);t.style.maxHeight=t.style.maxHeight?null:`${t.scrollHeight}px`}}})({context:o,blocks:r});return l("li",{className:`${Be(a)} border-solid border-main-divider`,children:[l("button",{className:`border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text\n ${a?"":"py-[14px] px-0"}\n ${i?"group cursor-pointer":""}`,onClick:s,children:[l("span",{className:"text-m-title-xs pr-2.5 font-medium flex "+(i?"group-hover:text-primary-main":""),children:[t?n(p,{image:t,width:"24",height:"24",asSVG:!0,className:"mr-3"}):null,e]}),i?n(p,{image:c,width:"24",height:"24",asSVG:!0}):null]}),i?n(Te,{blocks:r,context:o}):null]})}));function Be(e){return e?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"}const Re=r((({title:e,description:t,accordionItems:r,context:a,className:o="",bordered:c})=>l("section",{className:`py-6 px-4 font-sans bg-white text-primary-text ${o}`,children:[e?n(i,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?n("div",{className:"mb-5 text-m-md text-center",children:t}):null,r?.length?n("ul",{className:"list-none m-0 p-0",children:r.map(((e,t)=>n(De,{...e,context:a,bordered:c},`AccordionItem${t}`)))}):null]}))),_e=(e=!1)=>e?"text-white":"",Ve=(e=!1)=>"text-m-sm mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Ae=r((({icon:e,image:t,title:r,subtitle:a,isFillGradient:o})=>l("div",{role:"columnheader",scope:"col",children:[e?n(p,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&n("div",{className:"mb-3.5",children:n(p,{image:t})}),r?n(i,{headingType:"h4",className:_e(o),title:r}):null,a?n("div",{className:Ve(o),children:a}):null]}))),Pe=r((({cell:e,rowHeader:t,isFillGradient:l=!1})=>n("div",{className:"box-border flex flex-col",role:"cell",children:n("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(Le(l,t))})}))),Le=(e,t)=>({label:r,description:a},o)=>l("div",{className:"flex justify-between text-m-sm py-3.5",children:[n("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),l("div",{className:"basis-1/2",children:[r?n("div",{className:"text-right "+(e?"text-white":""),children:r}):null,a?n("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:a}):null]})]},String(o)),Me=r((({header:e,columnData:t,visibleRowLength:r=0,isFillGradient:a,showRow:o,onToggleColumn:i})=>{const c=t?.slice(0,o?t.length:r),s=a?"secondary":"primary";return l("div",{className:`border border-main-stroke rounded-md p-4 mb-3.5 ${a?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[n(Ae,{...e,isFillGradient:a}),c?.length?c.map((({rowHeader:e,cell:t},l)=>n(Pe,{cell:t,rowHeader:e,isFillGradient:a},String(l)))):null,o&&Ge({header:e,buttonVersion:s}),je({onToggleColumn:i,isFillGradient:a,showRow:o})]})})),Ge=({header:e,buttonVersion:t})=>n(J,{href:e.link.href,target:e.link.target,version:t,className:"font-medium text-m-sm mt-4 py-[11px]",children:e.link.text}),je=({onToggleColumn:e,isFillGradient:t,showRow:l})=>n("div",{className:"mt-5",role:"cell",children:n("a",{role:"link",onClick:e,className:"font-medium text-m-sm cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:l?"Скрыть":"Показать описание"})}),We=r((({className:e,context:t,title:r,rowHeaders:a,columns:o,visibleRowLength:c=0,isColoredFirstColumn:s=!1,orientation:d="vertical"})=>{const m=o?.map((({data:e,header:t})=>({header:t,column:e?.map(((e,t)=>({cell:e,rowHeader:a?.[t]?.title})))})))||[],[h,u]=t.useState(new Array(o?.length).fill(!c));return l("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${e||""}`,children:[r?n(i,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:r}):null,Ue({tableData:m,context:t,visibleRowLength:c,isColoredFirstColumn:s,columnsViewState:h,handleToggleColumn:e=>{h[e]=!h[e],u([...h])},orientation:d,setColumnsViewState:u})]})})),Ue=({context:e,tableData:t,visibleRowLength:l,isColoredFirstColumn:r,columnsViewState:a,handleToggleColumn:o,orientation:i="horizontal",setColumnsViewState:c})=>n("div",{role:"table",children:t?.length?Ee({orientation:i,context:e,columnsViewState:a,setColumnsViewState:c,tableData:t,visibleRowLength:l,isColoredFirstColumn:r,handleToggleColumn:o}):null}),Ee=({orientation:e,context:t,columnsViewState:l,setColumnsViewState:r,tableData:a,visibleRowLength:o,isColoredFirstColumn:i,handleToggleColumn:c})=>"horizontal"===e?n(S,{context:t,onSlideChange:Fe(l,r),children:a.map(Oe({context:t,visibleRowLength:o,isColoredFirstColumn:i,columnsViewState:l,handleToggleColumn:c}))}):a.map(Oe({context:t,visibleRowLength:o,isColoredFirstColumn:i,columnsViewState:l,handleToggleColumn:c})),Oe=({context:e,visibleRowLength:t,isColoredFirstColumn:l,columnsViewState:r,handleToggleColumn:a})=>(o,i)=>n(Me,{context:e,visibleRowLength:t,showRow:r[i],header:o.header,columnData:o.column,isFillGradient:0===i&&l,onToggleColumn:()=>a(i)},String(i)),Fe=(e,t)=>()=>{t(new Array(e.length).fill(!1))};async function He(){try{const e=await fetch(ze,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Ze)});return await e.json()}catch(e){console.error(e)}}const ze="https://coins.rshb.ru/api/catalog/vue_storefront_magento_1_currency_rates_average/currency_rates_average/_search?size=10000",Ze={query:{bool:{must:[{term:{russian_region_code:"77"}},{term:{from_volume:"0"}},{terms:{currency_pair:["USD/RUB","EUR/RUB"]}}]}}},Je=e=>e.reduce(((e,t)=>{const n=t.currency_first;if(!qe(t.rate_buy)&&!qe(t.rate_sell))return e;const l=n.code;return e.some((e=>e.code===l))||e.push({code:l,buy:Number(t.rate_buy),sell:Number(t.rate_sell)}),e}),[]),qe=e=>Math.round(e)>0,Ke=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Qe(e=""){const t=Ke(e);return t<=4?"h4":t<=8?"h3":"h2"}var Ye;!function(e){e.RUB="RUB",e.EUR="EUR",e.USD="USD"}(Ye||(Ye={}));const Xe=new Intl.NumberFormat("ru",{style:"currency",currency:Ye.RUB}),et=e=>e?Xe.format(e):"",tt="font-light text-left font-normal text-sm text-secondary-text",nt={USD:"DollarIcon",EUR:"EuroIcon"},lt=r((({className:e,exchangeCurrencyItems:t})=>l("table",{className:`h-fit w-fit ${e}`,children:[n("thead",{children:l("tr",{children:[n("th",{className:tt,children:"Валюта"}),n("th",{className:`${tt} pl-11`,children:"Купить"}),n("th",{className:`${tt} pl-11`,children:"Продать"})]})}),n("tbody",{children:t.map((e=>rt(e)))})]}))),rt=e=>{const t=e?.code;return l("tr",{className:"pb-1",children:[n("td",{className:"pt-4",children:l("div",{className:"flex items-center",children:[t?n(p,{image:{icon:nt[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:et(e.buy)}),n("td",{className:"pt-4 pl-11 m-title-md font-light",children:et(e.sell)})]},t)},at=r((({className:e="",address:t,distance:r})=>l("div",{className:`flex text-sm ${e}`,children:[n(p,{image:{icon:"GpsIcon"},width:"24",height:"24",asSVG:!0}),l("div",{className:"ml-3 font-light",children:[t?n("p",{className:"m-0 mb-[3px]",children:t}):null,r?l("p",{className:"text-secondary-text m-0",children:["Курс указан для ближайшего офиса - ",r]}):null]})]}))),ot=(e,t,n)=>{const l=Number(it(e))*Math.pow(t,n?-1:1);return Number.isInteger(l)?l:((e,t=2)=>{const n=Math.pow(10,t);return Math.round(parseFloat(String(e))*n)/n})(l)},it=e=>e.replace(/[^\d.,]/g,"").replace(",","."),ct=e=>{return(t=[[e=>e.value!==Ye.RUB&&e.oppositeValue!==Ye.RUB,()=>e.handleConvert(e.value,Ye.RUB)],[e=>e.value===Ye.RUB&&e.oppositeValue===Ye.RUB,()=>e.handleConvert(e.value,Ye.USD)],[()=>!0,()=>e.handleConvert(e.value)]],e=>{const[,n]=t.find((([t])=>t(e)))||[];return n})(e)?.();var t};const st=r((({className:e="",id:t,name:l,type:r="text",placeholder:a,pattern:o,value:i,onChange:c})=>n("input",{className:e,id:t,name:l||t,type:r,pattern:o,placeholder:a,value:i,onChange:e=>(e=>{const t=e.target.validity.valid?e.target.value:i;c(t)})(e)}))),dt=r((({className:e="",id:t,name:l,children:r,value:a,onChange:o})=>n("select",{className:e,id:t,name:l||t,value:a,onChange:e=>o(e.target.value),children:r}))),mt=r((({className:e="",value:t,selected:l,children:r})=>n("option",{className:e,value:`${t}`,selected:l,children:r})));function ht(e){const{placeholder:t,rates:r,selected:a,value:o,setValue:i,setSelected:c}=e;return l("div",{className:"relative flex items-center",children:[n(st,{className:"h-10 border pl-4 pt-[7px] pb-[7px] rounded-md text-m-sm w-full appearance-none -mr-12",placeholder:t,type:"text",value:o,onChange:i}),r.length?n(dt,{className:"h-9 -translate-x-4",value:a,onChange:e=>c(e),children:r.map(((e,t)=>n(mt,{value:e.code,children:e.code},String(t))))}):null]})}const ut=r((({context:e,className:t="",currencyRatesBuy:r,currencyRatesSell:a})=>{const[o,i]=e.useState({inputSell:"",inputBuy:"",selectSell:r?.[0]?.code||Ye.RUB,selectBuy:a?.[0]?.code||Ye.USD}),c=e=>{i((t=>({...t,...e})))};return l("div",{className:`grid gap-3.5 ${t}`,children:[ht({placeholder:"Хочу продать",rates:r,selected:o.selectSell,setSelected:pt(o,c,a),value:o.inputSell,setValue:e=>gt(c,a)(e,o.selectSell,o.selectBuy)}),ht({placeholder:"Получу",rates:a,selected:o.selectBuy,setSelected:xt(o,c,r),value:o.inputBuy,setValue:e=>bt(c,r)(e,o.selectBuy,o.selectSell)}),n(J,{className:"box-border mt-3.5 py-3 h-12 w-full",version:"primary",href:"https://coins.rshb.ru/exchange",target:"_blank",children:"Купить валюту"})]})})),pt=(e,t,n)=>l=>{t({selectSell:l}),ct({value:l,oppositeValue:e.selectBuy,handleConvert:(l=e.selectSell,r=e.selectBuy)=>{gt(t,n)(e.inputSell,l,r)}})},xt=(e,t,n)=>l=>{t({selectBuy:l}),ct({value:l,oppositeValue:e.selectSell,handleConvert:(l=e.selectBuy,r=e.selectSell)=>bt(t,n)(e.inputBuy,l,r)})},gt=(e,t)=>(n,l,r)=>{e({inputSell:it(n),selectBuy:r});const a=t.find((e=>e.code===r))?.buy||t.find((e=>e.code===l))?.sell;a&&e({inputBuy:String(ot(n,a,l===Ye.RUB)||"")})},bt=(e,t)=>(n,l,r)=>{e({inputBuy:it(n),selectSell:r});const a=t.find((e=>e.code===r))?.sell||t.find((e=>e.code===l))?.buy;a&&e({inputSell:String(ot(n,a,l===Ye.RUB)||"")})},ft={address:"Москва, ул.Ленина д.28",distance:"6км"},yt=r((({className:e="",context:t,title:r="Курсы обмена валют",anchor:a=null})=>{const o=function(e){const{data:t}=e(ze,He),n=t?.hits?.hits?.map((e=>e._source))||[];return n.length?Je(n):n}(t.useAsyncData),c=o.filter((e=>e.buy));c.unshift({code:Ye.RUB});const s=o.filter((e=>e.sell));return s.push({code:Ye.RUB}),n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e}`,id:a,children:n(le,{context:t,title:n(i,{headingType:Qe(e),title:r,className:"whitespace-pre-wrap"}),children:l("div",{className:"flex",children:[l("div",{className:"mr-[43px] pt-4",children:[o?n(lt,{className:"mb-[31px]",exchangeCurrencyItems:o}):null,n(at,{...ft})]}),o.length&&c.length&&s.length?n(ut,{className:"grow",context:t,currencyRatesBuy:c,currencyRatesSell:s}):null]})})})})),vt=r((({className:e,viewBox:t,fill:l="none",width:r,height:a,paths:o,...i})=>n("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:l,width:r,height:a,children:o.map((({d:e,fill:t,...l},r)=>n("path",{d:e,fill:t||"currentColor",...i,...l},r)))}))),Nt=["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"],wt={"bg-white":"text-primary-main",transparent:"text-white"},It={"bg-white":"text-black",transparent:"text-white"},Ct=r((({className:e="",href:t,children:r,targetBlank:a,bgColor:o="bg-white",hideTitle:i})=>l("a",{className:`inline-flex items-center font-sans no-underline ${e}`,href:t||"https://rshb.ru/",target:a?"_blank":"_self","aria-label":"Россельхозбанк",children:[n(vt,{className:`${wt[o]} w-10 h-[38px]`,viewBox:"0 0 40 45",paths:Nt.map((e=>({d:e})))}),i?null:n("span",{className:`${It[o]} text-sm font-medium ml-2.5`,children:r||"Россельхозбанк"})]}))),kt=r((({className:e,title:t="Мобильное приложение",description:r,href:a="#"})=>n("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${e||""}`,children:a?l("div",{className:"flex",children:[n("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]",children:n(Ct,{className:"w-[33px]",bgColor:"transparent",hideTitle:!0})}),l("a",{href:a,target:"_blank",className:"flex flex-col justify-center pl-3 font-sans",children:[n("div",{className:"text-m-button font-medium mb-[3px]",children:t}),n("div",{className:"text-m-button text-secondary-text",children:r})]})]}):null}))),St=r((({className:e="",items:t,hasButton:r,context:a})=>{const o=a.useRouter(),{handlerDecorator:i}=a;return l("div",{className:e,children:[t?.length?t.map($t):null,r?n(J,{version:"primary",className:"mb-6 w-full",...U({router:o,handlerDecorator:i},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),$t=(e,t)=>{const{type:r,text:a,description:o}=e;return l("div",{className:"mb-4",children:[n("div",{children:Tt(r,a)}),n("div",{className:"mt-1 font-sans font-light text-sm text-secondary-text",children:o})]},String(t))},Tt=(e,t="")=>{switch(e){case"tel":return n("a",{className:"font-sans text-xl text-primary-text no-underline",href:`tel:${Dt(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})}},Dt=e=>e.replaceAll(/\D/g,""),Bt=r((({title:e,links:t,className:r="",context:a})=>{const o=a.useRouter(),{handlerDecorator:i}=a;return l("div",{className:r,children:[n("span",{className:"text-primary-text font-sans font-medium text-sm",children:e}),t?.length?n("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>n(Rt,{index:t,...U({router:o,handlerDecorator:i},e)},String(t))))}):null]})})),Rt=r((({className:e="",index:t,text:l,href:r,target:a,onClick:o})=>n("a",{className:`font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:r,target:a,onClick:o,children:l||`Документ ${t}`}))),_t=[{origins:["t.me","telegram.org"],icon:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],icon:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],icon:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],icon:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],icon:{icon:"PlayMarketIcon"},label:"Google Play"}],Vt=r((({href:e,version:t="primary"})=>{const{icon:l,label:r}=_t.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};if(!l)return null;const a="primary"===t;return n("a",{className:`flex items-center justify-center rounded-md w-14 h-14 group box-border ${"secondary"===t?"bg-secondary-light hover:bg-secondary-hover":"border-main-divider border-solid border-[1px] hover:bg-primary-main"} ${a?"hover:text-black":""}`,href:e,"aria-label":r,target:"_blank",rel:"noopener noreferrer",children:l?n(p,{image:l,imageClassName:a?"group-hover:text-white":"",width:"24",height:"24",asSVG:!0}):null})})),At=r((({className:e,media:t,version:l,context:r})=>{const a=r.useRouter(),{handlerDecorator:o}=r;return n("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e||""}`,children:t?.map(((e,t)=>n(Vt,{version:l,...U({router:a,handlerDecorator:o},e)},String(t))))})})),Pt=r((({className:e,links:t,context:r})=>{const a=r.useRouter(),{handlerDecorator:o}=r;return l("div",{className:`${e||""}`,children:[n("div",{className:"py-6",children:n("span",{className:"font-sans font-normal text-xs text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?n("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>n(Lt,{index:t,...U({router:a,handlerDecorator:o},e)},String(t))))}):null]})})),Lt=r((({className:e,index:t,text:l,href:r,target:a,onClick:o})=>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:a,onClick:o,children:l||`Документ ${t}`})));function Mt(e){const{data:t}=e(jt(),Gt);return t||{}}async function Gt(){const e=await fetch(jt());return await e.json()}function jt(){return`/wcms-resources/${d.SITEMAP||"sitemap"}.json`}const Wt=r((({className:e,context:t})=>{const{term:r,setTerm:a}=t.useSearch();return l("form",{className:`relative ${e||""}`,children:[l("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[n("div",{className:"w-[20px] h-[20px]",children:n(p,{image:"LoupeIcon",width:"24",height:"24"})}),r?null:n("label",{htmlFor:"search-bar-input",className:"font-sans font-normal text-sm text-secondary-text",children:"Поиск по сайту"})]}),n("input",{id:"search-bar-input",className:"h-12 pl-12 w-full peer placeholder-transparent font-sans font-normal text-base text-black border border-solid rounded box-border outline-none pr-[6%] border-main-divider focus:border-primary-text",value:r,onChange:e=>a(e.target.value),type:"text",name:"search-bar-input",placeholder:"some search"}),n("button",{className:"visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none",onClick:e=>{e.preventDefault(),a("")},children:n(p,{image:"CloseIcon",width:"24",height:"24"})})]})})),Ut=e=>e?.map((e=>({label:e.text||"",blocks:[{accordionBlockType:"LinkList",documents:e.items||[]}]}))),Et=r((({className:e="",documents:t,relatedEnterprises:r,contacts:a,socialMedia:o,context:i,horizontalNavigationTitle:c})=>{const s=Mt(i.useAsyncData),d=s?.dispositions;return l("footer",{className:`px-4 py-[26px] bg-white ${e}`,children:[n(St,{className:"overflow-hidden",items:a,context:i,hasButton:!0}),n(Re,{context:i,className:"!p-0 mb-4",accordionItems:Ut(s.topItems)}),n("div",{children:d?.map(Ot)}),n(kt,{context:i,title:"Мобильное приложение",description:"Загрузить для IOS и Android"}),n(Wt,{context:i,className:"grow"}),n(At,{className:"pb-4",media:o,context:i}),n(Bt,{title:c,links:r,context:i}),n(Pt,{links:t,context:i})]})})),Ot=(e,t)=>{const{icon:r,href:a,text:o}=e;return l(J,{version:"link",href:a,className:"flex text-sm mb-4",children:[r?n(p,{className:"pr-1",image:r,width:"24",height:"24",asSVG:!0}):null,n("span",{className:"pl-2.5 font-medium text-primary-text",children:o})]},`footer-${t}`)},Ft=(e,t,n=((e,t)=>t.startsWith(e)))=>n(P(e),(e=>(e||"").replace(G,""))(P(A(e)?t.href:t.pathname))),Ht=e=>t=>Ft(t.href,e),zt=e=>t=>t.items?.some(Ht(e))||Ft(t.href,e)||((e,t)=>L(e)===L(t.href))(t.href,e),Zt=e=>t=>e?.href===t?.href,Jt=(e,t)=>{return(l=e,r=t,(l||[]).map((e=>r?.find(Zt(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(Zt(e))))));var n,l,r},qt="absolute left-0 -bottom-3 w-full h-[2px]",Kt=r((({className:e,text:t,href:r,target:a,active:o,onClick:i,children:c,bgColor:s="bg-white"})=>l("a",{className:`relative inline-block bg-transparent text-center no-underline ${e||""}`,href:r,target:a,onClick:i,children:[n("span",{className:Qt(s,o),children:t||c}),o?n("div",{className:Yt(s,o)}):null]}))),Qt=(e,t)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-secondary-text hover:text-primary-main"),`${n} font-sans font-normal text-sm`},Yt=(e,t)=>t?`${"bg-white"===e?"bg-primary-main":e} ${qt}`:qt,Xt=r((({context:e,burgerSubMenu:t,onClick:r,defaultLocation:a="",children:o})=>{const[i,c]=e.useGeolocation(a);return l("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[n("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:r,children:n(p,{image:"CloseIcon",width:"24",height:"24",asSVG:!0})}),l("button",{onClick:c,className:"flex items-center text-sm text-secondary-text p-0 mb-4 bg-transparent cursor-pointer",children:[n(p,{image:"GeolocationIcon",width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),i]}),o,n("div",{className:"mb-7",children:t?.map(en)}),n(Wt,{context:e,className:"grow"})]})})),en=(e,t)=>{const{icon:r,href:a,text:o}=e;return l("a",{href:a,className:"flex text-sm mb-4 hover:text-primary-main",children:[r?n(p,{className:"text-primary-main pr-1",image:r,width:"24",height:"24",asSVG:!0}):null,n("span",{className:"pl-0.5 font-medium",children:o})]},`headerSubMenu-${t}`)},tn=r((({onClick:e,bgColor:t})=>l("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-[50px]",children:[l("div",{className:"flex items-center",children:[n("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:n(p,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text",width:"24",height:"24",asSVG:!0})}),n(Ct,{bgColor:t})]}),n("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-sm border-0 bg-transparent cursor-pointer",children:"Войти"})]}))),nn=r((({className:e="",defaultLocation:t,bgColor:r="bg-white",context:a,topItems:o})=>{const i=a.useRouter(),c=Mt(a.useAsyncData),s=c?.dispositions,{handlerDecorator:d}=a,m=Jt(c.topItems,o).find(zt(i))?.items,h=(e=>(t=[])=>{const n=t?.filter(Ht(e));var l;return n?.length?(l=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>l(e)>l(t)?e:t)))(n):null})(i)(m),[u,p]=a.useState(!1),x=()=>p(!u);return l("header",{className:`${r} ${e}`,children:[l("div",{className:"container px-4 py-0 box-border",children:[n(tn,{onClick:x,bgColor:r}),n("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-[50px]",children:n("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:m?.map(((e,t)=>ln({...U({router:i,handlerDecorator:d},e),active:e===h,bgColor:r},t)))})})]}),u?n(Xt,{context:a,onClick:x,burgerSubMenu:s,defaultLocation:t,children:n(Re,{context:a,accordionItems:Ut(c.topItems),className:"!p-0 mb-4"})}):null]})})),ln=(e,t)=>n(Kt,{className:"mr-8 whitespace-nowrap text-sm",...e},String(t));function rn(e=""){const t=Ke(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function an(e=""){const t=Ke(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const on=r((({className:e,context:t,title:r,description:a="Блок в разработке...",anchor:o=null})=>n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${an(e)} ${rn(e)} `,id:o,children:l(le,{context:t,title:r?n(i,{headingType:Qe(e),title:r,className:"whitespace-pre-wrap max-w-[600px]"}):null,children:[a?n(K,{className:"mt-4 max-w-[600px]",description:a}):null,n("figure",{className:"m-0 min-w-[600px]",children:cn()})]})}))),cn=(e=3)=>dn(100,e).map((e=>Math.floor(e))).map(sn),sn=(e,t)=>n("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),dn=(e,t)=>[e].concat(t>0?dn(e/1.618,t-1):[]),mn={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},hn=r((({block:e,headingType:t,context:l,className:r=""})=>n("section",{className:`flex grow-0 shrink-0 basis-full px-4 pt-6 ${mn[e?.version??"primary"]} ${r}`,children:n("div",{className:"flex grow",children:n(ie,{context:l,headingType:t||"h2",...e})})}))),un=r((({className:e,context:t,slides:l=[]})=>{const r=l.map((e=>e.productBlock));return n("section",{className:`font-sans bg-white overflow-hidden w-100 pb-6 ${e||""}`,children:n(S,{context:t,children:r.map(((e,l)=>n(hn,{block:e,context:t},String(l))))})})})),pn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-[50px] w-[50px] min-w-[50px] min-h-[50px]"},xn={normal:"min-h-[70px]",small:"min-h-[50px]"},gn={primary:{background:"bg-white",title:"text-primary-text",description:"text-secondary-text",iconBackground:"bg-secondary-light",iconConnector:"bg-secondary-light"},secondary:{background:"bg-primary-main",title:"text-white",description:"text-white/80",iconBackground:"bg-white/30",iconConnector:"bg-white"}},bn=e=>gn[e],fn=r((({className:e,title:t,description:r,steps:a,size:o="normal",version:c="primary"})=>{const s=bn(c);return l("section",{className:`box-border font-sans bg-white px-4 py-6 flex flex-col\n ${s.background} ${s.title} ${e||""}`,children:[t?n(i,{headingType:"h3",className:`text-center ${s.title}`,title:t}):null,r?n("p",{className:`text-m-md text-center ${s.description} ${t&&"mt-2"}`,children:r}):null,a?.length?n("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:n("div",{className:"flex flex-col justify-between gap-x-[101px]",children:a.map(((e,t)=>yn({step:e,size:o,i:t,length:a.length,version:c})))})}):null]})})),yn=e=>{const{step:t,size:r,i:a,length:o,version:i}=e,c=o-1===a,s="normal"===r?"ml-[34px]":"ml-[24px]",d=bn(i);return n("div",{children:l("div",{className:"flex flex-row text-center relative",children:[l("div",{className:"overflow-hidden",children:[vn(e),c?null:n("div",{className:`min-h-8 h-full w-[2px] ${d.iconConnector} ${s}`})]}),l("div",{className:`flex flex-col justify-center h-fit ${xn[r]}`,children:[t.label?n("div",{className:"font-medium text-m-title-xs m-0 text-left",children:t.label}):null,t.description?n("div",{className:`font-normal text-sm ${d.description} text-left ${t.label?"mt-1":""}`,children:t.description}):null]})]},String(a))},String(a))},vn=e=>{const{step:t,size:l,i:r,version:a}=e,o=bn(a),i="normal"===l?"38":"27",c="normal"===l?"text-m-title":"text-m-title-xs";return n("div",{className:`${pn[l]} ${o.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:n("span",{className:`font-medium flex self-center ${o.title} ${c}`,children:t.icon?.icon&&n(p,{image:t.icon,width:i,height:i,asSVG:!0})||r+1})})},Nn=r((({title:e,icon:t})=>l("div",{className:"flex gap-2.5 mb-2",children:[e?n(i,{headingType:"h3",className:"font-medium",title:e}):null,t?n(p,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),wn=e=>e?.alt||e?.title||s[e?.icon?e.icon:""],In=r((({header:e,data:t})=>l("div",{className:"rounded-md border-main-stroke h-full box-border border p-4",children:[n(Nn,{...e}),t?.length?t.map(Cn):null]}))),Cn=({label:e,description:t,list:r,image:a,buttons:o},i)=>l("div",{children:[i>0&&n("div",{className:"border-main-divider border border-solid border-t-0 border-x-0 my-2"}),e?n("div",{className:"text-m-sm m-0",children:e}):null,t?n("div",{className:"text-m-sm text-secondary-text mt-[3px]",children:t}):null,r?.items?.length?kn(r):null,a?n(p,{image:{...a,className:"m-0"}}):null,o?.length?Sn(o):null]},String(i)),kn=e=>n(ne,{className:"flex flex-col justify-between items-start text-m-sm",version:"gray",items:e.items,isDotted:e.isDotted??!0}),Sn=e=>n("div",{children:e.map((({icon:e,rounded:t,...l},r)=>n(J,{className:`mt-3 ${r>0&&t?"ml-2.5":""} ${e?"w-12 h-12":""}`,ariaLabel:wn(e),rounded:t,appendLeft:e?n(p,{image:e,width:"24px",height:"24px",asSVG:!0}):null,...l,"aria-label":e},String(r))))}),$n=r((({tiles:e})=>n("div",{className:"flex flex-col gap-3.5",children:e.map(((e,t)=>n(In,{...e},String(t))))}))),Tn=r((({tiles:e,context:t})=>n(S,{context:t,children:e.map(((e,t)=>n(In,{...e},String(t))))}))),Dn=r((({className:e,context:t,title:r,description:a,columns:o,rowHeaders:c,orientation:s="vertical"})=>{const d=Rn(o),m=_n(c,d);return l("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[r?n(i,{headingType:"h2",className:"text-center "+(a?"mb-2":"mb-5"),title:r}):null,a?n("div",{className:"mb-5 text-center text-m-md",children:a}):null,m?.length?Bn(s,m,t):null]})}));function Bn(e,t,l){return"vertical"===e?n($n,{tiles:t}):n(Tn,{context:l,tiles:t})}const Rn=e=>e?.[0].data?e[0].data:[],_n=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),Vn={Accordion:Re,ComparisonTable:We,ExchangeRateTile:yt,Footer:Et,Gallery:fe,Header:nn,Headline:v,LinkDocs:V,LinkList:Ie,MobileAppTile:kt,ProductBlock:he,ProductGallery:un,StepsBlock:fn,TariffsTable:Dn,TextBlock:pe,Placeholder:on};function An(e){return e?e.filter(Boolean).join(" "):""}const Pn=r((({className:e,onClick:t,ariaLabel:l})=>n("button",{type:"button",className:`border-0 w-[36px] bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":l,children:Ln()}))),Ln=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return l("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"})]})},Mn=r((({className:e,context:t,anchor:r=null})=>{const a=t.useLikeService();return l("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(Pn,{onClick:a.like,ariaLabel:"Поставить отметку «лайк»"}),n(Pn,{onClick:a.dislike,className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),n("span",{className:"select-none",children:a.likeCount})]})})),Gn=!("undefined"==typeof window||!window.document||!window.document.createElement),jn=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),Wn=r((({className:e="",context:t,blocksRegistry:r,data:{style:a,blocks:o,slots:i={},likeControl:c,colorPalette:s="pc"},blockDecorator:d=jn})=>{const{header:m}=i,h=t.useRouter();return Gn&&globalThis.addEventListener("load",(()=>{const e=globalThis.document.querySelectorAll("section[id]");globalThis.document.addEventListener("scroll",(()=>((e,t)=>{t?.forEach((t=>{const n=globalThis.location?.hash;if(n===`#${t?.id}`)return;const l=t?.getBoundingClientRect();l&&l.top>0&&l.top<150&&e.replace(`#${t?.id}`)}))})(h,e)))})),l("section",{className:`relative ${An(a)} ${e}`,"data-theme":s,children:[m?.blocks?.length?n("div",{className:`${An(m?.style)}`,children:m.blocks.map(((e,n)=>Un({block:e,blockDecorator:d,blocksRegistry:r,context:t},n)))}):null,o?.length?n("div",{className:"container grid grid-cols-12 gap-1",children:o.map(((e,n)=>Un({block:e,blockDecorator:d,blocksRegistry:r,context:t},n)))}):null,c?n("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:n(Mn,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t},"LikeControl")}):null]})}));function Un({block:e,blockDecorator:t,blocksRegistry:l,context:r},a){const{type:o}=e;o&&o in l||console.warn(`No block with "${o}" is registered`);const i=l[o||"Placeholder"]||on;return t({blockClassName:`scroll-mt-12 ${An(e.style)}`,block:e,render:e=>{const{version:t,content:l,anchor:c}=e.block;return n(i,{className:e.blockClassName,version:t,context:r,anchor:c,...l},`${o}-${a}`)}},`block-${a}`)}e.Blocks=Vn,e.ContentPage=Wn,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.LikeAPI=function(e,t=""){async function n(){try{const e=JSON.parse(globalThis.localStorage.getItem(a)||"");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:l}=await e.json();return globalThis.localStorage.setItem(a,JSON.stringify({token:n,name:l})),{token:n,name:l}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...l){if(!l.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:l})}),{likes:a}=await n.json();return a||[]}catch(e){return console.error(e),[]}},like:async function(l){if(!l)return 0;const{token:r,name:a}=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:a},body:JSON.stringify({node_id:l,user_name:a})}),{likes:o}=await n.json();return o||0}catch(e){return console.error(e),0}},dislike:async function(l){if(!l)return 0;const{token:r,name:a}=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:a},body:JSON.stringify({node_id:l,user_name:a})}),{likes:o}=await n.json();return o||0}catch(e){return console.error(e),0}}}},e.joinList=function(e){return t=>t.reduce(((t,n,l)=>t.length?t.concat({...e,key:l},n):[n]),[])},e.projectSettings=d,e.setup=t,e.url=M,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";const t=(e,n)=>{t._jsx=e,t._jsxs=n||e};t.vue=e=>{t(((t,{children:n,dangerouslySetInnerHTML:l,...r}={})=>{const a=Object.assign({},r,l?{innerHTML:l.__html}:{});return e(t,a,"string"!=typeof t?()=>n:n)}))};const n=(...e)=>t._jsx(...e),l=(...e)=>t._jsxs(...e),r=e=>(e._tmpl||(e._tmpl=function(t,n){const{children:l,...r}=t||{},a=n?.slots?.default,o=l||a&&a();return e(Object.assign(r,o&&{children:o}),n)},e._tmpl.inheritAttrs=!1),e._tmpl);const a="likesToken";const o={h1:"text-m-title",h2:"text-m-title",h3:"text-m-title-md",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},i=r((e=>{const{className:t,headingType:l,title:r,as:a}=e;if(!l)return;return n(a||l,{className:`font-sans font-medium m-0 ${o[l]} ${t||""}`,children:r})}));var c,s;!function(e){e.ActualBalanceIcon="ActualBalanceIcon",e.AirPlane="AirPlane",e.AppleIcon="AppleIcon",e.ArrowDownIcon="ArrowDownIcon",e.ArrowLeftIcon="ArrowLeftIcon",e.ArrowUpIcon="ArrowUpIcon",e.AtmIcon="AtmIcon",e.BankIcon="BankIcon",e.BurgerIcon="BurgerIcon",e.Calendar2Icon="Calendar2Icon",e.CalendarCircleIcon="CalendarCircleIcon",e.CalendarIcon="CalendarIcon",e.CalendarTickIcon="CalendarTickIcon",e.CardIcon="CardIcon",e.CardPosIcon="CardPosIcon",e.CardTickIcon="CardTickIcon",e.CardWithGemIcon="CardWithGemIcon",e.CarIcon="CarIcon",e.ChartSquareIcon="ChartSquareIcon",e.CinemaIcon="CinemaIcon",e.ClockIcon="ClockIcon",e.CloseIcon="CloseIcon",e.ComfortableCompIcon="ComfortableCompIcon",e.CreditCardsIcon="CreditCardsIcon",e.DiscountShapeIcon="DiscountShapeIcon",e.DocIcon="DocIcon",e.DocIconMonoColor="DocIconMonoColor",e.DocsIcon="DocsIcon",e.DocumentTextIcon="DocumentTextIcon",e.DollarIcon="DollarIcon",e.DoneIcon="DoneIcon",e.EarthIcon="EarthIcon",e.EmptyWalletChangeIcon="EmptyWalletChangeIcon",e.EmptyWalletIcon="EmptyWalletIcon",e.EuroIcon="EuroIcon",e.GeolocationIcon="GeolocationIcon",e.GlassIcon="GlassIcon",e.GlobalIcon="GlobalIcon",e.GpsIcon="GpsIcon",e.GridIcon="GridIcon",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.PersonalCardIcon="PersonalCardIcon",e.PlayMarketIcon="PlayMarketIcon",e.PlusIcon="PlusIcon",e.PowerIcon="PowerIcon",e.Profile2UserIcon="Profile2UserIcon",e.ProfileIcon="ProfileIcon",e.PumpkinIcon="PumpkinIcon",e.RoundRubleIcon="RoundRubleIcon",e.SafeIcon="SafeIcon",e.ShieldTickIcon="ShieldTickIcon",e.SignDocsIcon="SignDocsIcon",e.SmallClockIcon="SmallClockIcon",e.SoundIcon="SoundIcon",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",e.WateringCan="WateringCan"}(c||(c={})),function(e){e.ActualBalanceIcon="Деньги",e.AirPlane="Самолет",e.AppleIcon="Лого «Apple»",e.ArrowDownIcon="Стрелка 'Вниз'",e.ArrowLeftIcon="Стрелка",e.ArrowUpIcon="Стрелка вверх",e.AtmIcon="Банкомат",e.BankIcon="Банк",e.BurgerIcon="Бургер",e.Calendar2Icon="Календарь 2",e.CalendarCircleIcon="Скруглённый календарь",e.CalendarIcon="Календарь",e.CalendarTickIcon="Календарь с галочкой",e.CardIcon="Кред. карта",e.CardPosIcon="Кред. карта под наклоном",e.CardTickIcon="Кред. карта с галочкой",e.CardWithGemIcon="Карта с драгоценностями",e.CarIcon="Машина",e.ChartSquareIcon="Деньги внутри кошелька",e.CinemaIcon="Кино",e.ClockIcon="Часы",e.CloseIcon="Крестик",e.ComfortableCompIcon="Кресло",e.CreditCardsIcon="Кредитные карты",e.DiscountShapeIcon="Скидка",e.DocIcon="Документ",e.DocIconMonoColor="Документ (одноцветный)",e.DocsIcon="Документы",e.DocumentTextIcon="Документ с текстом",e.DollarIcon="Доллар",e.DoneIcon="Зелёная 'галочка'",e.EarthIcon="Земля",e.EmptyWalletChangeIcon="Пустой кошелёк с возвратом",e.EmptyWalletIcon="Пустой кошелёк",e.EuroIcon="Евро",e.GeolocationIcon="Геолокация",e.GlassIcon="Зеркало",e.GlobalIcon="Глобус",e.GpsIcon="Gps",e.GridIcon="Сетка (белая)",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.PersonalCardIcon="Персональная карта",e.PlayMarketIcon="Лого «PlayMarket»",e.PlusIcon="Плюс",e.PowerIcon="Щит",e.Profile2UserIcon="Профиль, 2 персоны",e.ProfileIcon="Профиль",e.PumpkinIcon="Тыква",e.RoundRubleIcon="Рубль (круг.)",e.SafeIcon="Сейф",e.ShieldTickIcon="Безопасность",e.SignDocsIcon="Подписанные документы",e.SmallClockIcon="Маленькие часы",e.SoundIcon="Звук",e.TelegramIcon="Лого «Telegram»",e.UnionPayIcon="UnionPay",e.UserTickIcon="Пользователь",e.VisaIcon="Visa",e.VKIcon="Лого «VK»",e.WalletAdd2Icon="Пополнение карты",e.WalletAddIcon="Кошелёк с плюсом",e.WalletIcon="Кошелёк",e.WalletWithMoneyIcon="Кошелёк с деньгами",e.WateringCan="Добавить продукт"}(s||(s={}));const d=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}},m={normal:"text-primary-main",black:"text-black",white:"text-black invert"},h=r((({className:e="",imageClassName:t="",name:r="",alt:a=`Иконка ${s[r]||r}`,title:o=a,iconVersion:i="normal",asSVG:c,...h})=>{const u=`${d.CDN||""}icons/${r}.svg`;return c?l("svg",{className:e,...h,"aria-hidden":"true",children:[o?n("title",{children:o}):null,a?n("desc",{children:a}):null,n("use",{className:`${m[i]} ${t}`,href:`${u}#icon`,xlinkHref:`${u}#icon`})]}):n("img",{className:e,src:u,alt:a,title:o,...h,"aria-hidden":"true"})}));function u(e){return"string"==typeof e?"normal":e.iconVersion||"normal"}const p=r((({className:e="",image:t,imageClassName:l="",...r})=>{const a="string"==typeof t?t:t?.icon;return a||""===a?n(h,{className:e,imageClassName:l,iconVersion:u(t),name:a,...r}):n(x,{className:e,imageClassName:l,image:t})})),x=r((({className:e="",image:t,imageClassName:r=""})=>t?l("picture",{className:e,children:[t?.sources?.length?t.sources.map((({src:e,format:t},l)=>n("source",{srcSet:e,type:b(t)},`${l}_${e}`))):null,g(t,r)]}):null)),g=(e,t="")=>{const l={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},r=e.title||"",a=e.alt||e.title;return n("img",{src:e.src,className:`m-auto ${t}`,alt:a,title:r,style:l,...e.size})};function b(e){return e?`image/${String(e)}`:void 0}function f(e){return e?e.filter(Boolean).join(" "):""}const y={left:"text-left",center:"text-center",right:"text-right"},v={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"}},N=r((({bgColorHeadline:e="transparent",className:t="",title:r,description:a,image:o,align:c="left"})=>{const s=v[e];return l("section",{className:`px-4 py-6 flex flex-col gap-2.5 ${s.background} ${t}`,children:[r?n(i,{headingType:"h2",className:`${s.text} ${y[c]}`,title:r}):null,a?n("p",{className:`font-normal text-m-md ${s.description} ${y[c]} `,children:a}):null,o?.src&&n("div",{className:"mt-2.5 mx-auto flex justify-center",children:n(p,{image:o})})]})})),w=r((({children:e,activeIndex:t,indexFraction:l,showDots:r})=>{const a=e=>n=>{if(e===t)return;const l=n.currentTarget.parentElement?.previousElementSibling;l?.children[e]?.scrollIntoView({behavior:"smooth",block:"nearest"})};return r&&e?.length?n("div",{className:"flex gap-2 mx-auto mt-5 w-fit",children:e?.map(((e,r)=>n("div",{onClick:a(r),className:"bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full",style:I(r,t,l),"aria-hidden":!0},String(r))))}):null})),I=(e,t,n)=>{if(e<t||e>t+1)return null;const l=1-n;return e===t?{opacity:""+(.3+.7*l),width:6+16*l+"px"}:{opacity:""+(.3+.7*n),width:6+16*n+"px"}},C=r((({className:e="",children:t,...l})=>n("div",{className:`snap-center snap-always min-w-full box-border ${e}`,role:"listitem",...l,children:t}))),k=e=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e}px`}),S=r((({className:e="",children:t,activeIndex:l,onScroll:r,gap:a=14,padding:o=16})=>n("div",{className:`overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...k(o),gap:`${a}px`},role:"list",onScroll:r,children:t?.length?t?.map(((e,t)=>n(C,{style:k(o/4),"aria-current":Boolean(l===t),children:e},String(t)))):n(C,{children:t})}))),$=r((({className:e,context:t,children:r,gap:a=14,padding:o=16,showDots:i=!0,onSlideChange:c})=>{const[s,d]=t.useState(0),[m,h]=t.useState(0),u={activeIndex:s,indexFraction:m,showDots:i,children:r};return l("div",{className:e,children:[n(S,{gap:a,padding:o,activeIndex:s,onScroll:e=>{const{scrollLeft:t,clientWidth:n,childElementCount:l,scrollWidth:r,children:i}=e.currentTarget,m=i[0].offsetWidth-o/2,u=(({gap:e,padding:t,clientWidth:n,scrollWidth:l,childElementCount:r,itemWidth:a})=>{const o=l-n;if(2===r)return[[0,o],[o,l]];const i=a+e,c=n-e-t,s=r-2,d=new Array(r).fill(0).map(((e,t)=>0===t||t===s?[t>0?o-c:0,t>0?o:c]:[(t-1)*i+c,t*i+c]));return d[r-1]=[o,l],d})({gap:a,padding:o,clientWidth:n,scrollWidth:r,childElementCount:l,itemWidth:m}),{index:p,fraction:x}=((e,t)=>{const n=t.findIndex((([t,n])=>t<=e&&e<n));if(n<0)return{index:n,fraction:0};const[l,r]=t[n];return{index:n,fraction:(e-l)/(r-l)}})(t,u);p!==s&&c&&c(),d(p),h(x)},children:r}),n(w,{...u})]})})),T=r((({className:e,iconClassName:t,textClassName:r,suffixClassName:a,doc:o,icon:i})=>{const{text:c,fileSize:s,...d}=o;return l("a",{className:e,role:"link",...d,children:[i?n(p,{className:t,image:i,width:"24px",height:"24px",asSVG:!0}):null,c?l("span",{className:r,children:[c,n("span",{className:a,children:d?.href&&D(B(d.href),s)})]}):null]})})),D=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),B=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},R=r((({className:e="",doc:t,icon:l})=>n(T,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:l}))),_=r((({context:e,hasBorder:t=!0,documents:l,icon:r})=>n($,{context:e,className:"text-m-sm text-primary-main mt-5",children:l?.length?l.map(((e,l)=>n(R,{className:t?"rounded-md border-main-stroke border border-solid p-4":"",doc:e,icon:r},String(l)))):null}))),A=r((({hasBorder:e=!0,documents:t,icon:l})=>n("div",{className:"text-m-sm text-primary-main flex flex-col mt-5 "+(e?"gap-3.5":"gap-2"),role:"list",children:t?.length?t.map(((t,r)=>n("div",{role:"listitem",children:n(R,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:l})},String(r)))):null}))),V=r((({className:e="",context:t,title:r,description:a,icon:o={icon:"DocIconMonoColor"},documents:i,orientation:c="vertical",hasBorder:s=!0})=>l("section",{className:`font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${e}`,children:[n(N,{className:"!p-0 "+(a?"gap-2":"gap-5"),title:r,description:a,context:t,align:"center",headingType:"h3"}),"vertical"===c?n(A,{hasBorder:s,documents:i,icon:o}):n(_,{context:t,hasBorder:s,documents:i,icon:o})]}))),P=e=>e?.includes("//"),L=e=>(e||"").replace(/\/?\?.*/,""),M=e=>{if(!e||!P(e))return;const t=e,n=t.indexOf("//"),l=t.indexOf("/",n+"//".length);return-1!==l?t.substring(0,l):t};var G=Object.freeze({__proto__:null,isURL:P,withoutQuery:L,getOrigin:M,getHash:e=>{if(!e||!P(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0}});const j="/mobile",W=(e,t)=>{if(!e)return e;const n=M(t?.href);return n?e.replace(n,"")||"/":e},U=e=>e;function E({router:e,handlerDecorator:t=U},n){const l=((e,t)=>{if(!e)return e;const n=W(e,t)||"",l=t?.pathname.startsWith(j);return l&&!P(n)?`/mobile${n}`:n})(n.href,e);return{...n,href:l,"aria-label":n.text,onClick:t((t=>{const r=l&&!P(l),a=!n.target||"_self"===n.target;r&&a&&(t.preventDefault(),e.push(l))}),n)}}const O=r((e=>{const{text:t,aboveText:r,appendLeft:a,appendRight:o}=e;return l("div",{className:F(e),children:[a||null,H(e)?l("div",{children:[n("div",{className:"text-m-2xs font-light text-left",children:r}),n("div",{className:"text-base text-left",children:t})]}):null,o||null]})})),F=e=>{const{version:t,aboveText:n,rounded:l}=e;if("link"===t)return"";const r="px-9 gap-2 "+(n?"py-2":"py-4");return["flex items-center justify-center",H(e)?r:"h-12 w-12",l?"rounded-full":""].join(" ")},H=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),z={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active",link:"text-primary-main"},Z={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text",link:""},J="w-full text-center font-sans select-none",q=r((({className:e,text:t,aboveText:l,appendLeft:r,href:a,target:o,onClick:i,children:c,disabled:s,rounded:d,version:m="primary",ariaLabel:h,...u})=>{const p=c??n(O,{text:t,aboveText:l,appendLeft:r,rounded:d,version:m});return s?n("div",{role:"button","aria-disabled":"true","aria-label":h,tabIndex:"-1",className:`inline-block ${J} ${Z[m]||""} ${d?"rounded-full":"rounded-md"} ${e||""}`,children:p}):n("a",{className:`${J} inline-block cursor-pointer no-underline ${z[m]||""} ${d?"rounded-full":"rounded-md"} ${e||""}`,href:a,target:o,onClick:i,"aria-label":h,role:a?"link":"button",...u,children:p})})),K=r((({context:e,className:t="",buttons:l})=>{const{handlerDecorator:r}=e,a=e.useRouter();return l?.length?n("div",{className:t,children:l.map(((e,t)=>function({icon:e,...t},l){if(!t?.text)return;return n(q,e?{appendLeft:n(p,{image:e,width:"24",height:"24",asSVG:!0}),...t}:{...t},String(l))}(E({router:a,handlerDecorator:r},e),t)))}):null}));const Q=r((e=>{const{className:t="",description:l}=e;return n("div",{className:`font-normal text-base ${t}`,children:l})})),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 mt-3","tile-white":"rounded-full inline-block mr-4 mt-3"},X={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text",tile:"bg-black","tile-white":"bg-white"},ee=r((({className:e="",isDotted:t=!0,children:r,version:a="primary"})=>l("div",{className:`font-sans flex items-start ${e}`,role:"listitem",children:[t?n("div",{className:te(a)}):null,n("span",{children:r})]}))),te=e=>`${Y[e]} ${X[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]}`,ne={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text",tile:"text-primary-text","tile-white":"text-white"},le=r((e=>{const{className:t="",itemClassName:l,isDotted:r,items:a,version:o="primary"}=e;return n("section",{className:`${ne[o]} ${t}`,role:"list",children:a?.length?a.map(((e,t)=>n(ee,{className:l,isDotted:r,version:o,children:e},String(t)))):null})})),re=r((({className:e="",title:t,children:r,buttons:a,image:o,anchor:i=null})=>l("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,id:i,children:[t,l("div",{className:"flex grow w-full justify-between",children:[l("div",{className:"flex flex-col justify-between w-full",children:[n("div",{children:r}),a?n("div",{children:a}):null]}),o]})]}))),ae={primary:"text-primary-text",secondary:"text-white"},oe={primary:"text-secondary-text",secondary:"text-white"};function ie(e){let t="text-primary-main";return"secondary"===e&&(t="text-black"),`w-6 h-6 rounded-full box-border ${t}`}const ce=r((({className:e="",context:t,title:r,headingType:a="h2",description:o,benefits:c,benefitsVersion:s="normal",buttons:d,image:m,items:h,version:u="primary",isDotted:x=!0,label:g})=>l("div",{className:`w-full ${e}`,children:[l("div",{children:[g?me(g,u):null,l(re,{context:t,title:r?n(i,{headingType:a,title:r,className:"whitespace-pre-wrap max-w-[600px]"}):null,buttons:d?.length?n(K,{context:t,buttons:d,className:"flex flex-col mt-5 gap-2.5"}):null,children:[o?n(Q,{className:"mt-3 text-m-md",description:o}):null,c?.filter((e=>e.label))?.length?n("div",{className:"mt-3",children:c.map(((e,t)=>function({benefit:e,version:t="primary"},r){const a="secondary"===t;return l("div",{className:"flex gap-3 items-center mb-2.5 last:mb-0",children:[e.icon?n(p,{className:ie(t),image:{...e?.icon,iconVersion:a?"white":"normal"},width:"24",height:"24",asSVG:!0}):null,n("div",{className:`font-medium text-m-title-xs m-0 ${ae[t]}`,children:e.label}),e.description&&n("div",{className:`font-normal text-m-sm ${oe[t]}`,children:e.description})]},String(r))}({benefit:e,version:u,benefitsVersion:s},t)))}):null,h?.length?n(le,{className:"mt-3 text-m-md",items:h,version:u,isDotted:x}):null]})]}),se(m)]})));function se(e){return e?.src?n(p,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const de={primary:"text-primary-main border-secondary-hover",secondary:"text-white/80"},me=(e,t)=>n("div",{className:`m-xs px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${de[t]}`,children:e}),he={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},ue=r((e=>{const{className:t="",version:l="primary"}=e;return n("section",{className:`font-sans bg-white px-4 py-6 ${he[l]} ${t}`,children:n(ce,{...e})})})),pe={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"}},xe=r((({title:e,description:t,blockVersion:r="primary",iconVersion:a,image:o,className:i="",items:c,isDotted:s=!0})=>{const d=pe[r];return l("section",{className:`font-sans px-4 py-[18px] flex flex-col ${d.background} ${i}`,children:["small"===a?ge(d.icon):null,"big"===a?be(o):null,l("div",{className:"py-0.5",children:[e?n("div",{className:`font-medium text-base mb-1 ${d.title}`,children:e}):null,t?n("div",{className:`text-sm ${d.description}`,children:t}):null,c?.length?n(le,{className:"mt-1 text-m-md",items:c,isDotted:s,version:"secondary"===r?"secondary":"gray"}):null]})]})}));function ge(e){return n("div",{className:"mb-3",children:n("div",{className:`rounded-full h-4 w-4 text-center text-xs ${e}`,children:"i"})})}function be(e){return e?.src?n(p,{className:"pb-3 mr-auto",image:e}):null}const fe={primary:"bg-white",secondary:"bg-primary-main text-white"},ye=r((({context:e,title:t,description:r,cards:a=[],className:o,orientation:c="horizontal"})=>l("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${o}`,children:[l("div",{className:"flex flex-col items-center mb-5",children:[t?n(i,{headingType:"h3",className:"text-center "+(r?"mb-2":"mb-5"),title:t}):null,r?n("div",{className:"font-normal text-m-md max-w-[600px] text-center mb-5",children:r}):null]}),ve(c,a,e)]})));function ve(e,t,l){return"horizontal"===e?n($,{context:l,children:t?.map(Ne)}):n("div",{className:"grid gap-[14px]",children:t?.map(Ne)})}function Ne(e,t){return l("div",{className:`h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col\n ${fe[e.version??"primary"]}`,children:[l("div",{children:[e.image?.src?n("div",{className:"flex justify-center",children:n(p,{className:"mb-3.5",image:e.image})}):null,e.title?n("h3",{className:"font-medium text-m-title-xs m-0",children:e.title}):null,e.description?we(e):null,e.items?.length?Ie(e.items,e.isDotted,e.version):null]}),e?.button?.text?(r=e.button,n(q,{className:"mt-3",appendLeft:r?.icon&&n(p,{image:r?.icon,width:"24px",height:"24px",asSVG:!0}),...r})):null]},t);var r}function we(e){return n("div",{className:"text-secondary-text mt-1 text-m-sm "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}function Ie(e,t,r="primary"){return n("section",{className:"mt-3",children:e.map(((e,a)=>l("div",{children:[t?n("div",{className:te(r)}):null,n("span",{className:"text-m-md font-medium",children:e.title}),n("span",{className:"text-m-sm pl-2 "+("primary"===r?"text-secondary-text":""),children:e.text})]},String(a))))})}const Ce=r((({className:e="",documents:t,anchor:l=null})=>n("section",{className:`font-sans bg-white mt-[10px] ${e}`,id:l,children:n("ul",{className:"flex flex-col text-sm text-secondary-text p-0",children:t?.length?ke(t):null})}))),ke=e=>e.map(((e,t)=>{const{text:l,...r}=e;return n("li",{className:"mb-4 list-none",children:n("a",{className:"hover:text-primary-main",role:"link",...r,children:l||null})},`list_item_${String(t)}`)})),Se={Headline:N,LinkDocs:V,TextBlock:xe,ProductBlock:ue,Gallery:ye,LinkList:Ce},$e=({blocks:e,context:t,className:n=""})=>e?.length?e.map(Te({context:t,className:n})):null,Te=({context:e,className:t})=>(l,r)=>{const a=l?.blockListType;if(!a||!(a in Se))return null;const o=f(l?.style);return n(Se[a],{context:e,...l,className:`${t} ${o}`},`block_${r}`)},De=r((({blocks:e,context:t})=>n("div",{className:"flex flex-wrap transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0",children:$e({context:t,blocks:e,className:"!px-0"})}))),Be=r((({label:e,labelIcon:t,blocks:r,bordered:a,context:o})=>{const{hasContent:i,icon:c,handleToggle:s}=(({context:e,blocks:t,initialState:n=!1})=>{const[l,r]=e.useState(n),a=t?.length;return{isActive:l,hasContent:a,icon:l?"MinusIcon":"PlusIcon",handleToggle:e=>{if(!a)return;r(!l);const t=(({currentTarget:e})=>e.nextSibling)(e);t.style.maxHeight=t.style.maxHeight?null:`${t.scrollHeight}px`}}})({context:o,blocks:r});return l("li",{className:`${Re(a)} border-solid border-main-divider`,children:[l("button",{className:`border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text\n ${a?"":"py-[14px] px-0"}\n ${i?"group cursor-pointer":""}`,onClick:s,children:[l("span",{className:"text-m-title-xs pr-2.5 font-medium flex "+(i?"group-hover:text-primary-main":""),children:[t?n(p,{image:t,width:"24",height:"24",asSVG:!0,className:"mr-3"}):null,e]}),i?n(p,{image:c,width:"24",height:"24",asSVG:!0}):null]}),i?n(De,{blocks:r,context:o}):null]})}));function Re(e){return e?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"}const _e=r((({title:e,description:t,accordionItems:r,context:a,className:o="",bordered:c})=>l("section",{className:`py-6 px-4 font-sans bg-white text-primary-text ${o}`,children:[e?n(i,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?n("div",{className:"mb-5 text-m-md text-center",children:t}):null,r?.length?n("ul",{className:"list-none m-0 p-0",children:r.map(((e,t)=>n(Be,{...e,context:a,bordered:c},`AccordionItem_${t}`)))}):null]}))),Ae=(e=!1)=>e?"text-white":"",Ve=(e=!1)=>"text-m-sm mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Pe=r((({icon:e,image:t,title:r,subtitle:a,isFillGradient:o})=>l("div",{role:"columnheader",scope:"col",children:[e?n(p,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&n("div",{className:"mb-3.5",children:n(p,{image:t})}),r?n(i,{headingType:"h4",className:Ae(o),title:r}):null,a?n("div",{className:Ve(o),children:a}):null]}))),Le=r((({cell:e,rowHeader:t,isFillGradient:l=!1})=>n("div",{className:"box-border flex flex-col",role:"cell",children:n("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(Me(l,t))})}))),Me=(e,t)=>({label:r,description:a},o)=>l("div",{className:"flex justify-between text-m-sm py-3.5",children:[n("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),l("div",{className:"basis-1/2",children:[r?n("div",{className:"text-right "+(e?"text-white":""),children:r}):null,a?n("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:a}):null]})]},String(o)),Ge=r((({header:e,columnData:t,visibleRowLength:r=0,isFillGradient:a,showRow:o,onToggleColumn:i})=>{const c=t?.slice(0,o?t.length:r),s=a?"secondary":"primary";return l("div",{className:`border border-main-stroke rounded-md p-4 mb-3.5 ${a?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[n(Pe,{...e,isFillGradient:a}),c?.length?c.map((({rowHeader:e,cell:t},l)=>n(Le,{cell:t,rowHeader:e,isFillGradient:a},String(l)))):null,o&&je({header:e,buttonVersion:s}),We({onToggleColumn:i,isFillGradient:a,showRow:o})]})})),je=({header:e,buttonVersion:t})=>n(q,{href:e.link.href,target:e.link.target,version:t,className:"font-medium text-m-sm mt-4 py-[11px]",children:e.link.text}),We=({onToggleColumn:e,isFillGradient:t,showRow:l})=>n("div",{className:"mt-5",role:"cell",children:n("a",{role:"link",onClick:e,className:"font-medium text-m-sm cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:l?"Скрыть":"Показать описание"})}),Ue=r((({className:e,context:t,title:r,rowHeaders:a,columns:o,visibleRowLength:c=0,isColoredFirstColumn:s=!1,orientation:d="vertical"})=>{const m=o?.map((({data:e,header:t})=>({header:t,column:e?.map(((e,t)=>({cell:e,rowHeader:a?.[t]?.title})))})))||[],[h,u]=t.useState(new Array(o?.length).fill(!c));return l("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${e||""}`,children:[r?n(i,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:r}):null,Ee({tableData:m,context:t,visibleRowLength:c,isColoredFirstColumn:s,columnsViewState:h,handleToggleColumn:e=>{h[e]=!h[e],u([...h])},orientation:d,setColumnsViewState:u})]})})),Ee=({context:e,tableData:t,visibleRowLength:l,isColoredFirstColumn:r,columnsViewState:a,handleToggleColumn:o,orientation:i="horizontal",setColumnsViewState:c})=>n("div",{role:"table",children:t?.length?Oe({orientation:i,context:e,columnsViewState:a,setColumnsViewState:c,tableData:t,visibleRowLength:l,isColoredFirstColumn:r,handleToggleColumn:o}):null}),Oe=({orientation:e,context:t,columnsViewState:l,setColumnsViewState:r,tableData:a,visibleRowLength:o,isColoredFirstColumn:i,handleToggleColumn:c})=>"horizontal"===e?n($,{context:t,onSlideChange:He(l,r),children:a.map(Fe({context:t,visibleRowLength:o,isColoredFirstColumn:i,columnsViewState:l,handleToggleColumn:c}))}):a.map(Fe({context:t,visibleRowLength:o,isColoredFirstColumn:i,columnsViewState:l,handleToggleColumn:c})),Fe=({context:e,visibleRowLength:t,isColoredFirstColumn:l,columnsViewState:r,handleToggleColumn:a})=>(o,i)=>n(Ge,{context:e,visibleRowLength:t,showRow:r[i],header:o.header,columnData:o.column,isFillGradient:0===i&&l,onToggleColumn:()=>a(i)},String(i)),He=(e,t)=>()=>{t(new Array(e.length).fill(!1))};async function ze(){try{const e=await fetch(Ze,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Je)});return await e.json()}catch(e){console.error(e)}}const Ze="https://coins.rshb.ru/api/catalog/vue_storefront_magento_1_currency_rates_average/currency_rates_average/_search?size=10000",Je={query:{bool:{must:[{term:{russian_region_code:"77"}},{term:{from_volume:"0"}},{terms:{currency_pair:["USD/RUB","EUR/RUB"]}}]}}},qe=e=>e.reduce(((e,t)=>{const n=t.currency_first;if(!Ke(t.rate_buy)&&!Ke(t.rate_sell))return e;const l=n.code;return e.some((e=>e.code===l))||e.push({code:l,buy:Number(t.rate_buy),sell:Number(t.rate_sell)}),e}),[]),Ke=e=>Math.round(e)>0,Qe=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Ye(e=""){const t=Qe(e);return t<=4?"h4":t<=8?"h3":"h2"}var Xe;!function(e){e.RUB="RUB",e.EUR="EUR",e.USD="USD"}(Xe||(Xe={}));const et=new Intl.NumberFormat("ru",{style:"currency",currency:Xe.RUB}),tt=e=>e?et.format(e):"",nt="font-light text-left font-normal text-sm text-secondary-text",lt={USD:"DollarIcon",EUR:"EuroIcon"},rt=r((({className:e,exchangeCurrencyItems:t})=>l("table",{className:`h-fit w-fit ${e}`,children:[n("thead",{children:l("tr",{children:[n("th",{className:nt,children:"Валюта"}),n("th",{className:`${nt} pl-11`,children:"Купить"}),n("th",{className:`${nt} pl-11`,children:"Продать"})]})}),n("tbody",{children:t.map((e=>at(e)))})]}))),at=e=>{const t=e?.code;return l("tr",{className:"pb-1",children:[n("td",{className:"pt-4",children:l("div",{className:"flex items-center",children:[t?n(p,{image:{icon:lt[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:tt(e.buy)}),n("td",{className:"pt-4 pl-11 m-title-md font-light",children:tt(e.sell)})]},t)},ot=r((({className:e="",address:t,distance:r})=>l("div",{className:`flex text-sm ${e}`,children:[n(p,{image:{icon:"GpsIcon"},width:"24",height:"24",asSVG:!0}),l("div",{className:"ml-3 font-light",children:[t?n("p",{className:"m-0 mb-[3px]",children:t}):null,r?l("p",{className:"text-secondary-text m-0",children:["Курс указан для ближайшего офиса - ",r]}):null]})]}))),it=(e,t,n)=>{const l=Number(ct(e))*Math.pow(t,n?-1:1);return Number.isInteger(l)?l:((e,t=2)=>{const n=Math.pow(10,t);return Math.round(parseFloat(String(e))*n)/n})(l)},ct=e=>e.replace(/[^\d.,]/g,"").replace(",","."),st=e=>{return(t=[[e=>e.value!==Xe.RUB&&e.oppositeValue!==Xe.RUB,()=>e.handleConvert(e.value,Xe.RUB)],[e=>e.value===Xe.RUB&&e.oppositeValue===Xe.RUB,()=>e.handleConvert(e.value,Xe.USD)],[()=>!0,()=>e.handleConvert(e.value)]],e=>{const[,n]=t.find((([t])=>t(e)))||[];return n})(e)?.();var t};const dt=r((({className:e="",id:t,name:l,type:r="text",placeholder:a,pattern:o,value:i,onChange:c})=>n("input",{className:e,id:t,name:l||t,type:r,pattern:o,placeholder:a,value:i,onChange:e=>(e=>{const t=e.target.validity.valid?e.target.value:i;c(t)})(e)}))),mt=r((({className:e="",id:t,name:l,children:r,value:a,onChange:o})=>n("select",{className:e,id:t,name:l||t,value:a,onChange:e=>o(e.target.value),children:r}))),ht=r((({className:e="",value:t,selected:l,children:r})=>n("option",{className:e,value:`${t}`,selected:l,children:r})));function ut(e){const{placeholder:t,rates:r,selected:a,value:o,setValue:i,setSelected:c}=e;return l("div",{className:"relative flex items-center",children:[n(dt,{className:"h-10 border pl-4 pt-[7px] pb-[7px] rounded-md text-m-sm w-full appearance-none -mr-12",placeholder:t,type:"text",value:o,onChange:i}),r.length?n(mt,{className:"h-9 -translate-x-4",value:a,onChange:e=>c(e),children:r.map(((e,t)=>n(ht,{value:e.code,children:e.code},String(t))))}):null]})}const pt=r((({context:e,className:t="",currencyRatesBuy:r,currencyRatesSell:a})=>{const[o,i]=e.useState({inputSell:"",inputBuy:"",selectSell:r?.[0]?.code||Xe.RUB,selectBuy:a?.[0]?.code||Xe.USD}),c=e=>{i((t=>({...t,...e})))};return l("div",{className:`grid gap-3.5 ${t}`,children:[ut({placeholder:"Хочу продать",rates:r,selected:o.selectSell,setSelected:xt(o,c,a),value:o.inputSell,setValue:e=>bt(c,a)(e,o.selectSell,o.selectBuy)}),ut({placeholder:"Получу",rates:a,selected:o.selectBuy,setSelected:gt(o,c,r),value:o.inputBuy,setValue:e=>ft(c,r)(e,o.selectBuy,o.selectSell)}),n(q,{className:"box-border mt-3.5 py-3 h-12 w-full",version:"primary",href:"https://coins.rshb.ru/exchange",target:"_blank",children:"Купить валюту"})]})})),xt=(e,t,n)=>l=>{t({selectSell:l}),st({value:l,oppositeValue:e.selectBuy,handleConvert:(l=e.selectSell,r=e.selectBuy)=>{bt(t,n)(e.inputSell,l,r)}})},gt=(e,t,n)=>l=>{t({selectBuy:l}),st({value:l,oppositeValue:e.selectSell,handleConvert:(l=e.selectBuy,r=e.selectSell)=>ft(t,n)(e.inputBuy,l,r)})},bt=(e,t)=>(n,l,r)=>{e({inputSell:ct(n),selectBuy:r});const a=t.find((e=>e.code===r))?.buy||t.find((e=>e.code===l))?.sell;a&&e({inputBuy:String(it(n,a,l===Xe.RUB)||"")})},ft=(e,t)=>(n,l,r)=>{e({inputBuy:ct(n),selectSell:r});const a=t.find((e=>e.code===r))?.sell||t.find((e=>e.code===l))?.buy;a&&e({inputSell:String(it(n,a,l===Xe.RUB)||"")})},yt={address:"Москва, ул.Ленина д.28",distance:"6км"},vt=r((({className:e="",context:t,title:r="Курсы обмена валют",anchor:a=null})=>{const o=function(e){const{data:t}=e(Ze,ze),n=t?.hits?.hits?.map((e=>e._source))||[];return n.length?qe(n):n}(t.useAsyncData),c=o.filter((e=>e.buy));c.unshift({code:Xe.RUB});const s=o.filter((e=>e.sell));return s.push({code:Xe.RUB}),n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e}`,id:a,children:n(re,{context:t,title:n(i,{headingType:Ye(e),title:r,className:"whitespace-pre-wrap"}),children:l("div",{className:"flex",children:[l("div",{className:"mr-[43px] pt-4",children:[o?n(rt,{className:"mb-[31px]",exchangeCurrencyItems:o}):null,n(ot,{...yt})]}),o.length&&c.length&&s.length?n(pt,{className:"grow",context:t,currencyRatesBuy:c,currencyRatesSell:s}):null]})})})})),Nt=r((({className:e,viewBox:t,fill:l="none",width:r,height:a,paths:o,...i})=>n("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:l,width:r,height:a,children:o.map((({d:e,fill:t,...l},r)=>n("path",{d:e,fill:t||"currentColor",...i,...l},r)))}))),wt=["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"],It={"bg-white":"text-primary-main",transparent:"text-white"},Ct={"bg-white":"text-black",transparent:"text-white"},kt=r((({className:e="",href:t,children:r,targetBlank:a,bgColor:o="bg-white",hideTitle:i})=>l("a",{className:`inline-flex items-center font-sans no-underline ${e}`,href:t||"https://rshb.ru/",target:a?"_blank":"_self","aria-label":"Россельхозбанк",children:[n(Nt,{className:`${It[o]} w-10 h-[38px]`,viewBox:"0 0 40 45",paths:wt.map((e=>({d:e})))}),i?null:n("span",{className:`${Ct[o]} text-sm font-medium ml-2.5`,children:r||"Россельхозбанк"})]}))),St=r((({className:e="",title:t="Мобильное приложение",description:r,href:a="#"})=>n("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${e}`,children:a?l("div",{className:"flex",children:[n("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]",children:n(kt,{className:"w-[33px]",bgColor:"transparent",hideTitle:!0})}),l("a",{href:a,target:"_blank",className:"flex flex-col justify-center pl-3 font-sans",children:[n("div",{className:"text-m-button font-medium mb-[3px]",children:t}),n("div",{className:"text-m-button text-secondary-text",children:r})]})]}):null}))),$t=r((({className:e="",items:t,hasButton:r,context:a})=>{const o=a.useRouter(),{handlerDecorator:i}=a;return l("div",{className:e,children:[t?.length?t.map(Tt):null,r?n(q,{version:"primary",className:"mb-6 w-full",...E({router:o,handlerDecorator:i},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),Tt=(e,t)=>{const{type:r,text:a,description:o}=e;return l("div",{className:"mb-4",children:[n("div",{children:Dt(r,a)}),n("div",{className:"mt-1 font-sans font-light text-sm text-secondary-text",children:o})]},String(t))},Dt=(e,t="")=>{switch(e){case"tel":return n("a",{className:"font-sans text-xl text-primary-text no-underline",href:`tel:${Bt(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})}},Bt=e=>e.replaceAll(/\D/g,""),Rt=r((({title:e,links:t,className:r="",context:a})=>{const o=a.useRouter(),{handlerDecorator:i}=a;return l("div",{className:r,children:[n("span",{className:"text-primary-text font-sans font-medium text-sm",children:e}),t?.length?n("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>n(_t,{index:t,...E({router:o,handlerDecorator:i},e)},String(t))))}):null]})})),_t=r((({className:e="",index:t,text:l,href:r,target:a,onClick:o})=>n("a",{className:`font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:r,target:a,onClick:o,children:l||`Документ ${t}`}))),At=[{origins:["t.me","telegram.org"],icon:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],icon:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],icon:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],icon:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],icon:{icon:"PlayMarketIcon"},label:"Google Play"}],Vt=r((({href:e,version:t="primary"})=>{const{icon:l,label:r}=At.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};if(!l)return null;const a="primary"===t;return n("a",{className:`flex items-center justify-center rounded-md w-14 h-14 group box-border ${"secondary"===t?"bg-secondary-light hover:bg-secondary-hover":"border-main-divider border-solid border-[1px] hover:bg-primary-main"} ${a?"hover:text-black":""}`,href:e,"aria-label":r,target:"_blank",rel:"noopener noreferrer",children:l?n(p,{image:l,imageClassName:a?"group-hover:text-white":"",width:"24",height:"24",asSVG:!0}):null})})),Pt=r((({className:e,media:t,version:l,context:r})=>{const a=r.useRouter(),{handlerDecorator:o}=r;return n("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e||""}`,children:t?.map(((e,t)=>n(Vt,{version:l,...E({router:a,handlerDecorator:o},e)},String(t))))})})),Lt=r((({className:e,links:t,context:r})=>{const a=r.useRouter(),{handlerDecorator:o}=r;return l("div",{className:`${e||""}`,children:[n("div",{className:"py-6",children:n("span",{className:"font-sans font-normal text-xs text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?n("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>n(Mt,{index:t,...E({router:a,handlerDecorator:o},e)},String(t))))}):null]})})),Mt=r((({className:e,index:t,text:l,href:r,target:a,onClick:o})=>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:a,onClick:o,children:l||`Документ ${t}`})));function Gt(e){const{data:t}=e(Wt(),jt);return t||{}}async function jt(){const e=await fetch(Wt());return await e.json()}function Wt(){return`/wcms-resources/${d.SITEMAP||"sitemap"}.json`}const Ut=r((({className:e,context:t})=>{const{term:r,setTerm:a}=t.useSearch();return l("form",{className:`relative ${e||""}`,children:[l("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[n("div",{className:"w-[20px] h-[20px]",children:n(p,{image:"LoupeIcon",width:"24",height:"24"})}),r?null:n("label",{htmlFor:"search-bar-input",className:"font-sans font-normal text-sm text-secondary-text",children:"Поиск по сайту"})]}),n("input",{id:"search-bar-input",className:"h-12 pl-12 w-full peer placeholder-transparent font-sans font-normal text-base text-black border border-solid rounded box-border outline-none pr-[6%] border-main-divider focus:border-primary-text",value:r,onChange:e=>a(e.target.value),type:"text",name:"search-bar-input",placeholder:"some search"}),n("button",{className:"visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none",onClick:e=>{e.preventDefault(),a("")},children:n(p,{image:"CloseIcon",width:"24",height:"24"})})]})})),Et=e=>e?.map((e=>({label:e.text||"",blocks:[{accordionBlockType:"LinkList",documents:e.items||[]}]}))),Ot=r((({className:e="",documents:t,relatedEnterprises:r,contacts:a,socialMedia:o,context:i,horizontalNavigationTitle:c})=>{const s=Gt(i.useAsyncData),d=s?.dispositions;return l("footer",{className:`px-4 py-[26px] bg-white ${e}`,children:[n($t,{className:"overflow-hidden",items:a,context:i,hasButton:!0}),n(_e,{context:i,className:"!p-0 mb-4",accordionItems:Et(s.topItems)}),n("div",{children:d?.map(Ft)}),n(St,{context:i,title:"Мобильное приложение",description:"Загрузить для IOS и Android"}),n(Ut,{context:i,className:"grow"}),n(Pt,{className:"pb-4",media:o,context:i}),n(Rt,{title:c,links:r,context:i}),n(Lt,{links:t,context:i})]})})),Ft=(e,t)=>{const{icon:r,href:a,text:o}=e;return l(q,{version:"link",href:a,className:"flex text-sm mb-4",children:[r?n(p,{className:"pr-1",image:r,width:"24",height:"24",asSVG:!0}):null,n("span",{className:"pl-2.5 font-medium text-primary-text",children:o})]},`footer-${t}`)},Ht=(e,t,n=((e,t)=>t.startsWith(e)))=>n(L(e),(e=>(e||"").replace(j,""))(L(P(e)?t.href:t.pathname))),zt=e=>t=>Ht(t.href,e),Zt=e=>t=>t.items?.some(zt(e))||Ht(t.href,e)||((e,t)=>M(e)===M(t.href))(t.href,e),Jt=e=>t=>e?.href===t?.href,qt=(e,t)=>{return(l=e,r=t,(l||[]).map((e=>r?.find(Jt(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(Jt(e))))));var n,l,r},Kt="absolute left-0 -bottom-3 w-full h-[2px]",Qt=r((({className:e,text:t,href:r,target:a,active:o,onClick:i,children:c,bgColor:s="bg-white"})=>l("a",{className:`relative inline-block bg-transparent text-center no-underline ${e||""}`,href:r,target:a,onClick:i,children:[n("span",{className:Yt(s,o),children:t||c}),o?n("div",{className:Xt(s,o)}):null]}))),Yt=(e,t)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-secondary-text hover:text-primary-main"),`${n} font-sans font-normal text-sm`},Xt=(e,t)=>t?`${"bg-white"===e?"bg-primary-main":e} ${Kt}`:Kt,en=r((({context:e,burgerSubMenu:t,onClick:r,defaultLocation:a="",children:o})=>{const[i,c]=e.useGeolocation(a);return l("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[n("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:r,children:n(p,{image:"CloseIcon",width:"24",height:"24",asSVG:!0})}),l("button",{onClick:c,className:"flex items-center text-sm text-secondary-text p-0 mb-4 bg-transparent cursor-pointer",children:[n(p,{image:"GeolocationIcon",width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),i]}),o,n("div",{className:"mb-7",children:t?.map(tn)}),n(Ut,{context:e,className:"grow"})]})})),tn=(e,t)=>{const{icon:r,href:a,text:o}=e;return l("a",{href:a,className:"flex text-sm mb-4 hover:text-primary-main",children:[r?n(p,{className:"text-primary-main pr-1",image:r,width:"24",height:"24",asSVG:!0}):null,n("span",{className:"pl-0.5 font-medium",children:o})]},`headerSubMenu-${t}`)},nn=r((({onClick:e,bgColor:t})=>l("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-[50px]",children:[l("div",{className:"flex items-center",children:[n("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:n(p,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text",width:"24",height:"24",asSVG:!0})}),n(kt,{bgColor:t})]}),n("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-sm border-0 bg-transparent cursor-pointer",children:"Войти"})]}))),ln=r((({className:e="",defaultLocation:t,bgColor:r="bg-white",context:a,topItems:o})=>{const i=a.useRouter(),c=Gt(a.useAsyncData),s=c?.dispositions,{handlerDecorator:d}=a,m=qt(c.topItems,o).find(Zt(i))?.items,h=(e=>(t=[])=>{const n=t?.filter(zt(e));var l;return n?.length?(l=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>l(e)>l(t)?e:t)))(n):null})(i)(m),[u,p]=a.useState(!1),x=()=>p(!u);return l("header",{className:`${r} ${e}`,children:[l("div",{className:"container px-4 py-0 box-border",children:[n(nn,{onClick:x,bgColor:r}),n("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-[50px]",children:n("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:m?.map(((e,t)=>rn({...E({router:i,handlerDecorator:d},e),active:e===h,bgColor:r},t)))})})]}),u?n(en,{context:a,onClick:x,burgerSubMenu:s,defaultLocation:t,children:n(_e,{context:a,accordionItems:Et(c.topItems),className:"!p-0 mb-4"})}):null]})})),rn=(e,t)=>n(Qt,{className:"mr-8 whitespace-nowrap text-sm",...e},String(t));function an(e=""){const t=Qe(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function on(e=""){const t=Qe(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const cn=r((({className:e,context:t,title:r,description:a="Блок в разработке...",anchor:o=null})=>n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${on(e)} ${an(e)} `,id:o,children:l(re,{context:t,title:r?n(i,{headingType:Ye(e),title:r,className:"whitespace-pre-wrap max-w-[600px]"}):null,children:[a?n(Q,{className:"mt-4 max-w-[600px]",description:a}):null,n("figure",{className:"m-0 min-w-[600px]",children:sn()})]})}))),sn=(e=3)=>mn(100,e).map((e=>Math.floor(e))).map(dn),dn=(e,t)=>n("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),mn=(e,t)=>[e].concat(t>0?mn(e/1.618,t-1):[]),hn={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},un=r((({block:e,headingType:t,context:l,className:r=""})=>n("section",{className:`flex grow-0 shrink-0 basis-full px-4 pt-6 ${hn[e?.version??"primary"]} ${r}`,children:n("div",{className:"flex grow",children:n(ce,{context:l,headingType:t||"h2",...e})})}))),pn=r((({className:e,context:t,slides:l=[]})=>{const r=l.map((e=>e.productBlock));return n("section",{className:`font-sans bg-white overflow-hidden w-100 pb-6 ${e||""}`,children:n($,{context:t,children:r.map(((e,l)=>n(un,{block:e,context:t},String(l))))})})})),xn={primary:{background:"bg-white",title:"text-primary-text",description:"text-secondary-text",iconBackground:"bg-secondary-light",iconConnector:"bg-secondary-light"},secondary:{background:"bg-primary-main",title:"text-white",description:"text-white/80",iconBackground:"bg-white/30",iconConnector:"bg-white"}},gn=e=>xn[e],bn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-[50px] w-[50px] min-w-[50px] min-h-[50px]"},fn={normal:"min-h-[70px]",small:"min-h-[50px]"},yn=r((({className:e,title:t,description:r,showLines:a=!0,steps:o,size:c="normal",version:s="primary"})=>{const d=gn(s);return l("section",{className:`box-border font-sans bg-white px-4 py-6 flex flex-col\n ${d.background} ${d.title} ${e||""}`,children:[t?n(i,{headingType:"h3",className:`text-center ${d.title}`,title:t}):null,r?n("p",{className:`text-m-md text-center ${d.description} ${t?"mt-2":""}`,children:r}):null,o?.length?n("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:n("div",{className:"flex flex-col justify-between gap-x-[101px]",children:o.map(vn(c,s,a))})}):null]})})),vn=(e,t,r)=>(a,o,i)=>{const c=i.length-1===o,s="normal"===e?"ml-[34px]":"ml-6",d=gn(t);return n("div",{children:l("div",{className:"flex flex-row text-center relative",children:[l("div",{className:"overflow-hidden",children:[Nn(e,t),c?null:n("div",{className:`min-h-8 h-full w-[2px] ${r?d.iconConnector:""} ${s}`})]}),l("div",{className:`flex flex-col justify-center h-fit ${fn[e]}`,children:[a.label?n("div",{className:"font-medium text-m-title-xs m-0 text-left",children:a.label}):null,a.description?n("div",{className:`font-normal text-sm ${d.description} text-left ${a.label?"mt-1":""}`,children:a.description}):null]})]})},String(o))},Nn=(e,t)=>(l,r)=>{const a=gn(t),o="normal"===e?"38":"27",i="normal"===e?"text-m-title":"text-m-title-xs";return n("div",{className:`${bn[e]} ${a.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:n("span",{className:`font-medium flex self-center ${a.title} ${i}`,children:l.icon?.icon&&n(p,{image:l.icon,width:o,height:o})||r+1})})},wn=r((({title:e,icon:t})=>l("div",{className:"flex gap-2.5 mb-2",children:[e?n(i,{headingType:"h3",className:"font-medium",title:e}):null,t?n(p,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),In=e=>e?.alt||e?.title||s[e?.icon?e.icon:""],Cn=r((({header:e,data:t})=>l("div",{className:"rounded-md border-main-stroke h-full box-border border p-4",children:[n(wn,{...e}),t?.length?t.map(kn):null]}))),kn=({label:e,description:t,list:r,image:a,buttons:o},i)=>l("div",{children:[i>0&&n("div",{className:"border-main-divider border border-solid border-t-0 border-x-0 my-2"}),e?n("div",{className:"text-m-sm m-0",children:e}):null,t?n("div",{className:"text-m-sm text-secondary-text mt-[3px]",children:t}):null,r?.items?.length?Sn(r):null,a?n(p,{image:{...a,className:"m-0"}}):null,o?.length?$n(o):null]},String(i)),Sn=e=>n(le,{className:"flex flex-col justify-between items-start text-m-sm",version:"gray",items:e.items,isDotted:e.isDotted??!0}),$n=e=>n("div",{children:e.map((({icon:e,rounded:t,...l},r)=>n(q,{className:`mt-3 ${r>0&&t?"ml-2.5":""} ${e?"w-12 h-12":""}`,ariaLabel:In(e),rounded:t,appendLeft:e?n(p,{image:e,width:"24px",height:"24px",asSVG:!0}):null,...l,"aria-label":e},String(r))))}),Tn=r((({tiles:e})=>n("div",{className:"flex flex-col gap-3.5",children:e.map(((e,t)=>n(Cn,{...e},String(t))))}))),Dn=r((({tiles:e,context:t})=>n($,{context:t,children:e.map(((e,t)=>n(Cn,{...e},String(t))))}))),Bn=r((({className:e,context:t,title:r,description:a,columns:o,rowHeaders:c,orientation:s="vertical"})=>{const d=_n(o),m=An(c,d);return l("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[r?n(i,{headingType:"h2",className:"text-center "+(a?"mb-2":"mb-5"),title:r}):null,a?n("div",{className:"mb-5 text-center text-m-md",children:a}):null,m?.length?Rn(s,m,t):null]})}));function Rn(e,t,l){return"vertical"===e?n(Tn,{tiles:t}):n(Dn,{context:l,tiles:t})}const _n=e=>e?.[0].data?e[0].data:[],An=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),Vn={Accordion:_e,ComparisonTable:Ue,ExchangeRateTile:vt,Footer:Ot,Gallery:ye,Header:ln,Headline:N,LinkDocs:V,LinkList:Ce,MobileAppTile:St,ProductBlock:ue,ProductGallery:pn,StepsBlock:yn,TariffsTable:Bn,TextBlock:xe,Placeholder:cn},Pn=r((({className:e,onClick:t,ariaLabel:l})=>n("button",{type:"button",className:`border-0 w-[36px] bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":l,children:Ln()}))),Ln=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return l("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"})]})},Mn=r((({className:e,context:t,anchor:r=null})=>{const a=t.useLikeService();return l("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(Pn,{onClick:a.like,ariaLabel:"Поставить отметку «лайк»"}),n(Pn,{onClick:a.dislike,className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),n("span",{className:"select-none",children:a.likeCount})]})})),Gn=!("undefined"==typeof window||!window.document||!window.document.createElement),jn=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),Wn=r((({className:e="",context:t,blocksRegistry:r,data:{style:a,blocks:o,slots:i={},likeControl:c,colorPalette:s="pc"},blockDecorator:d=jn})=>{const{header:m}=i,h=t.useRouter();return Gn&&globalThis.addEventListener("load",(()=>{const e=globalThis.document.querySelectorAll("section[id]");globalThis.document.addEventListener("scroll",(()=>((e,t)=>{t?.forEach((t=>{const n=globalThis.location?.hash;if(n===`#${t?.id}`)return;const l=t?.getBoundingClientRect();l&&l.top>0&&l.top<150&&e.replace(`#${t?.id}`)}))})(h,e)))})),l("section",{className:`relative ${f(a)} ${e}`,"data-theme":s,children:[m?.blocks?.length?n("div",{className:`${f(m?.style)}`,children:m.blocks.map(((e,n)=>Un({block:e,blockDecorator:d,blocksRegistry:r,context:t},n)))}):null,o?.length?n("div",{className:"container grid grid-cols-12 gap-1",children:o.map(((e,n)=>Un({block:e,blockDecorator:d,blocksRegistry:r,context:t},n)))}):null,c?n("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:n(Mn,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t},"LikeControl")}):null]})}));function Un({block:e,blockDecorator:t,blocksRegistry:l,context:r},a){const{type:o}=e;o&&o in l||console.warn(`No block with "${o}" is registered`);const i=l[o||"Placeholder"]||cn;return t({blockClassName:`scroll-mt-12 ${f(e.style)}`,block:e,render:e=>{const{version:t,content:l,anchor:c}=e.block;return n(i,{className:e.blockClassName,version:t,context:r,anchor:c,...l},`${o}-${a}`)}},`block-${a}`)}e.Blocks=Vn,e.ContentPage=Wn,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.LikeAPI=function(e,t=""){async function n(){try{const e=JSON.parse(globalThis.localStorage.getItem(a)||"");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:l}=await e.json();return globalThis.localStorage.setItem(a,JSON.stringify({token:n,name:l})),{token:n,name:l}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...l){if(!l.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:l})}),{likes:a}=await n.json();return a||[]}catch(e){return console.error(e),[]}},like:async function(l){if(!l)return 0;const{token:r,name:a}=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:a},body:JSON.stringify({node_id:l,user_name:a})}),{likes:o}=await n.json();return o||0}catch(e){return console.error(e),0}},dislike:async function(l){if(!l)return 0;const{token:r,name:a}=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:a},body:JSON.stringify({node_id:l,user_name:a})}),{likes:o}=await n.json();return o||0}catch(e){return console.error(e),0}}}},e.joinList=function(e){return t=>t.reduce(((t,n,l)=>t.length?t.concat({...e,key:l},n):[n]),[])},e.projectSettings=d,e.setup=t,e.url=G,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -1 +1 @@
1
- {"version":3,"file":"DaDataAPI.js","sourceRoot":"","sources":["../../src/api/DaDataAPI.ts"],"names":[],"mappings":";;AAAA,4DAAyD;AAIzD,SAAgB,SAAS,CAAC,OAAO,GAAG,EAAE;IACpC,KAAK,UAAU,iBAAiB;QAC9B,IAAI,CAAC,CAAC,aAAa,IAAI,SAAS,CAAC,EAAE;YACjC,OAAO,IAAI,CAAC;SACb;QAED,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,IAAA,+BAAc,GAAE,CAAC;YACtC,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,OAAO,YAAY,EAAE;gBACnD,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC;oBACnB,GAAG,EAAE,MAAM,CAAC,QAAQ;oBACpB,GAAG,EAAE,MAAM,CAAC,SAAS;oBACrB,KAAK,EAAE,CAAC;iBACT,CAAC;aACH,CAAC,CAAC;YAEH,MAAM,IAAI,GAAG,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAiB,CAAC;YACrD,OAAO,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC;SAC3C;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACjB,OAAO,IAAI,CAAC;SACb;IACH,CAAC;IAED,OAAO;QACL,iBAAiB;KAClB,CAAC;AACJ,CAAC;AA7BD,8BA6BC"}
1
+ {"version":3,"file":"DaDataAPI.js","sourceRoot":"","sources":["../../src/api/DaDataAPI.ts"],"names":[],"mappings":";;AAAA,4DAAyD;AAIzD,SAAgB,SAAS,CAAC,OAAO,GAA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