@redneckz/wildless-cms-uni-blocks 0.10.2 → 0.10.3

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 (601) hide show
  1. package/bin/migration-scripts/0.10.2.js +1 -1
  2. package/bin/migration-scripts/0.10.3.js +19 -0
  3. package/bundle/bundle.umd.js +163 -137
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/Calculator/constants.d.ts +2 -2
  6. package/bundle/components/Calculator/rangeHelpers.d.ts +3 -0
  7. package/bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  8. package/bundle/components/Calculator/useCreditCalculatorParams.d.ts +10 -3
  9. package/bundle/components/Calculator/useDepositCalculatorParams.d.ts +1 -1
  10. package/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +2 -0
  11. package/bundle/components/Header/HeaderSubMenu.d.ts +3 -0
  12. package/bundle/components/Header/InternetBankButton.d.ts +7 -0
  13. package/bundle/services/sitemap/SitemapData.d.ts +1 -0
  14. package/bundle/ui-kit/Button/ButtonProps.d.ts +0 -2
  15. package/bundle/ui-kit/Icon/IconProps.d.ts +0 -2
  16. package/bundle/ui-kit/YandexMap/renderSearchField.d.ts +1 -1
  17. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  18. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  19. package/dist/components/BusinessBlock/BusinessCard.js +2 -2
  20. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  21. package/dist/components/Calculator/Calculator.js +1 -1
  22. package/dist/components/Calculator/Calculator.js.map +1 -1
  23. package/dist/components/Calculator/CreditCalculatorForm.js +5 -0
  24. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  25. package/dist/components/Calculator/UnknownRate.js +2 -2
  26. package/dist/components/Calculator/UnknownRate.js.map +1 -1
  27. package/dist/components/Calculator/constants.d.ts +2 -2
  28. package/dist/components/Calculator/constants.js.map +1 -1
  29. package/dist/components/Calculator/rangeHelpers.d.ts +3 -0
  30. package/dist/components/Calculator/rangeHelpers.js +10 -3
  31. package/dist/components/Calculator/rangeHelpers.js.map +1 -1
  32. package/dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  33. package/dist/components/Calculator/useBusinessDepositCalculatorParams.js +2 -2
  34. package/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  35. package/dist/components/Calculator/useCreditCalculatorParams.d.ts +10 -3
  36. package/dist/components/Calculator/useCreditCalculatorParams.js +39 -33
  37. package/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  38. package/dist/components/Calculator/useDepositCalculatorParams.d.ts +1 -1
  39. package/dist/components/Calculator/useDepositCalculatorParams.js +4 -4
  40. package/dist/components/Calculator/useDepositCalculatorParams.js.map +1 -1
  41. package/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
  42. package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  43. package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  44. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  45. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  46. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  47. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  48. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  49. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -3
  50. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  51. package/dist/components/ComparisonTable/HeaderCell.js +1 -1
  52. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  53. package/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  54. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  55. package/dist/components/Footer/Footer.mobile.js +1 -1
  56. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  57. package/dist/components/Footer/MediaButton.js +1 -1
  58. package/dist/components/Footer/MediaButton.js.map +1 -1
  59. package/dist/components/Header/DropdownMenu.js +2 -2
  60. package/dist/components/Header/DropdownMenu.js.map +1 -1
  61. package/dist/components/Header/Header.js +2 -2
  62. package/dist/components/Header/Header.js.map +1 -1
  63. package/dist/components/Header/HeaderBurger.js +2 -2
  64. package/dist/components/Header/HeaderBurger.js.map +1 -1
  65. package/dist/components/Header/HeaderChatBotButton.js +1 -1
  66. package/dist/components/Header/HeaderChatBotButton.js.map +1 -1
  67. package/dist/components/Header/HeaderSecondaryMenu.js +1 -3
  68. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  69. package/dist/components/Header/HeaderSecondaryMenuButton.d.ts +2 -0
  70. package/dist/components/Header/HeaderSecondaryMenuButton.js +6 -2
  71. package/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  72. package/dist/components/Header/HeaderSubMenu.d.ts +3 -0
  73. package/dist/components/Header/HeaderSubMenu.js +6 -2
  74. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  75. package/dist/components/Header/HeaderSubMenuItem.js +2 -2
  76. package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  77. package/dist/components/Header/HeaderTop.js +1 -1
  78. package/dist/components/Header/HeaderTop.js.map +1 -1
  79. package/dist/components/Header/InternetBankButton.d.ts +7 -0
  80. package/dist/components/Header/InternetBankButton.js +12 -0
  81. package/dist/components/Header/InternetBankButton.js.map +1 -0
  82. package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  83. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  84. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  85. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  86. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  87. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  88. package/dist/components/OfficeMap/OfficeMap.js +1 -1
  89. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  90. package/dist/components/OfficeMap/renderFunctions.js +1 -1
  91. package/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  92. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  93. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  94. package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  95. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  96. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  97. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  98. package/dist/components/RollupItem/RollupItem.js +2 -2
  99. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  100. package/dist/components/RollupItem/RollupItem.mobile.js +1 -1
  101. package/dist/components/RollupItem/RollupItem.mobile.js.map +1 -1
  102. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  103. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  104. package/dist/components/StepsBlock/StepsBlock.js +1 -1
  105. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  106. package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
  107. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  108. package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  109. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  110. package/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  111. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  112. package/dist/services/sitemap/SitemapData.d.ts +1 -0
  113. package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
  114. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  115. package/dist/ui-kit/Button/ArrowButton.js +1 -1
  116. package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  117. package/dist/ui-kit/Button/ButtonProps.d.ts +0 -2
  118. package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  119. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  120. package/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  121. package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  122. package/dist/ui-kit/Icon/Icon.js +2 -2
  123. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  124. package/dist/ui-kit/Icon/IconProps.d.ts +0 -2
  125. package/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  126. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  127. package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  128. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  129. package/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  130. package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  131. package/dist/ui-kit/Logo/renderImage.js +2 -2
  132. package/dist/ui-kit/Logo/renderImage.js.map +1 -1
  133. package/dist/ui-kit/YandexMap/renderSearchField.d.ts +1 -1
  134. package/dist/ui-kit/YandexMap/renderSearchField.js +1 -1
  135. package/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  136. package/lib/common.css +1 -1
  137. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  138. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  139. package/lib/components/BusinessBlock/BusinessCard.js +2 -2
  140. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  141. package/lib/components/Calculator/Calculator.js +1 -1
  142. package/lib/components/Calculator/Calculator.js.map +1 -1
  143. package/lib/components/Calculator/CreditCalculatorForm.js +6 -1
  144. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  145. package/lib/components/Calculator/UnknownRate.js +2 -2
  146. package/lib/components/Calculator/UnknownRate.js.map +1 -1
  147. package/lib/components/Calculator/constants.d.ts +2 -2
  148. package/lib/components/Calculator/constants.js.map +1 -1
  149. package/lib/components/Calculator/rangeHelpers.d.ts +3 -0
  150. package/lib/components/Calculator/rangeHelpers.js +8 -2
  151. package/lib/components/Calculator/rangeHelpers.js.map +1 -1
  152. package/lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  153. package/lib/components/Calculator/useBusinessDepositCalculatorParams.js +2 -2
  154. package/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  155. package/lib/components/Calculator/useCreditCalculatorParams.d.ts +10 -3
  156. package/lib/components/Calculator/useCreditCalculatorParams.js +40 -34
  157. package/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  158. package/lib/components/Calculator/useDepositCalculatorParams.d.ts +1 -1
  159. package/lib/components/Calculator/useDepositCalculatorParams.js +4 -4
  160. package/lib/components/Calculator/useDepositCalculatorParams.js.map +1 -1
  161. package/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
  162. package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  163. package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  164. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  165. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  166. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  167. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  168. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  169. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -3
  170. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  171. package/lib/components/ComparisonTable/HeaderCell.js +1 -1
  172. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  173. package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  174. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  175. package/lib/components/Footer/Footer.mobile.js +1 -1
  176. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  177. package/lib/components/Footer/MediaButton.js +1 -1
  178. package/lib/components/Footer/MediaButton.js.map +1 -1
  179. package/lib/components/Header/DropdownMenu.js +2 -2
  180. package/lib/components/Header/DropdownMenu.js.map +1 -1
  181. package/lib/components/Header/Header.js +2 -2
  182. package/lib/components/Header/Header.js.map +1 -1
  183. package/lib/components/Header/HeaderBurger.js +2 -2
  184. package/lib/components/Header/HeaderBurger.js.map +1 -1
  185. package/lib/components/Header/HeaderChatBotButton.js +1 -1
  186. package/lib/components/Header/HeaderChatBotButton.js.map +1 -1
  187. package/lib/components/Header/HeaderSecondaryMenu.js +1 -3
  188. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  189. package/lib/components/Header/HeaderSecondaryMenuButton.d.ts +2 -0
  190. package/lib/components/Header/HeaderSecondaryMenuButton.js +6 -2
  191. package/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  192. package/lib/components/Header/HeaderSubMenu.d.ts +3 -0
  193. package/lib/components/Header/HeaderSubMenu.js +6 -2
  194. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  195. package/lib/components/Header/HeaderSubMenuItem.js +2 -2
  196. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  197. package/lib/components/Header/HeaderTop.js +1 -1
  198. package/lib/components/Header/HeaderTop.js.map +1 -1
  199. package/lib/components/Header/InternetBankButton.d.ts +7 -0
  200. package/lib/components/Header/InternetBankButton.js +10 -0
  201. package/lib/components/Header/InternetBankButton.js.map +1 -0
  202. package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  203. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  204. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  205. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  206. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  207. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  208. package/lib/components/OfficeMap/OfficeMap.js +1 -1
  209. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  210. package/lib/components/OfficeMap/renderFunctions.js +1 -1
  211. package/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  212. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  213. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  214. package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  215. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  216. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  217. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  218. package/lib/components/RollupItem/RollupItem.js +2 -2
  219. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  220. package/lib/components/RollupItem/RollupItem.mobile.js +1 -1
  221. package/lib/components/RollupItem/RollupItem.mobile.js.map +1 -1
  222. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  223. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  224. package/lib/components/StepsBlock/StepsBlock.js +1 -1
  225. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  226. package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
  227. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  228. package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  229. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  230. package/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  231. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  232. package/lib/services/sitemap/SitemapData.d.ts +1 -0
  233. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
  234. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  235. package/lib/ui-kit/Button/ArrowButton.js +1 -1
  236. package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  237. package/lib/ui-kit/Button/ButtonProps.d.ts +0 -2
  238. package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  239. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  240. package/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  241. package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  242. package/lib/ui-kit/Icon/Icon.js +2 -2
  243. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  244. package/lib/ui-kit/Icon/IconProps.d.ts +0 -2
  245. package/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  246. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  247. package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  248. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  249. package/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  250. package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  251. package/lib/ui-kit/Logo/renderImage.js +2 -2
  252. package/lib/ui-kit/Logo/renderImage.js.map +1 -1
  253. package/lib/ui-kit/YandexMap/renderSearchField.d.ts +1 -1
  254. package/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
  255. package/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  256. package/mobile/bundle/bundle.umd.js +17 -17
  257. package/mobile/bundle/bundle.umd.min.js +1 -1
  258. package/mobile/bundle/components/Calculator/constants.d.ts +2 -2
  259. package/mobile/bundle/components/Calculator/rangeHelpers.d.ts +3 -0
  260. package/mobile/bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  261. package/mobile/bundle/components/Calculator/useCreditCalculatorParams.d.ts +10 -3
  262. package/mobile/bundle/components/Calculator/useDepositCalculatorParams.d.ts +1 -1
  263. package/mobile/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +2 -0
  264. package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +3 -0
  265. package/mobile/bundle/components/Header/InternetBankButton.d.ts +7 -0
  266. package/mobile/bundle/services/sitemap/SitemapData.d.ts +1 -0
  267. package/mobile/bundle/ui-kit/Button/ButtonProps.d.ts +0 -2
  268. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +0 -2
  269. package/mobile/bundle/ui-kit/YandexMap/renderSearchField.d.ts +1 -1
  270. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  271. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  272. package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
  273. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  274. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  275. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  276. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +5 -0
  277. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  278. package/mobile/dist/components/Calculator/UnknownRate.js +2 -2
  279. package/mobile/dist/components/Calculator/UnknownRate.js.map +1 -1
  280. package/mobile/dist/components/Calculator/constants.d.ts +2 -2
  281. package/mobile/dist/components/Calculator/constants.js.map +1 -1
  282. package/mobile/dist/components/Calculator/rangeHelpers.d.ts +3 -0
  283. package/mobile/dist/components/Calculator/rangeHelpers.js +10 -3
  284. package/mobile/dist/components/Calculator/rangeHelpers.js.map +1 -1
  285. package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  286. package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.js +2 -2
  287. package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  288. package/mobile/dist/components/Calculator/useCreditCalculatorParams.d.ts +10 -3
  289. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +39 -33
  290. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  291. package/mobile/dist/components/Calculator/useDepositCalculatorParams.d.ts +1 -1
  292. package/mobile/dist/components/Calculator/useDepositCalculatorParams.js +4 -4
  293. package/mobile/dist/components/Calculator/useDepositCalculatorParams.js.map +1 -1
  294. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
  295. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  296. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  297. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  298. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  299. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  300. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  301. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  302. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -3
  303. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  304. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  305. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  306. package/mobile/dist/components/Footer/Footer.js +1 -1
  307. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  308. package/mobile/dist/components/Footer/MediaButton.js +1 -1
  309. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  310. package/mobile/dist/components/Header/DropdownMenu.js +2 -2
  311. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  312. package/mobile/dist/components/Header/HeaderBurger.js +2 -2
  313. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  314. package/mobile/dist/components/Header/HeaderChatBotButton.js +1 -1
  315. package/mobile/dist/components/Header/HeaderChatBotButton.js.map +1 -1
  316. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -3
  317. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  318. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +2 -0
  319. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js +6 -2
  320. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  321. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +3 -0
  322. package/mobile/dist/components/Header/HeaderSubMenu.js +6 -2
  323. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  324. package/mobile/dist/components/Header/HeaderSubMenuItem.js +2 -2
  325. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  326. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  327. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  328. package/mobile/dist/components/Header/InternetBankButton.d.ts +7 -0
  329. package/mobile/dist/components/Header/InternetBankButton.js +12 -0
  330. package/mobile/dist/components/Header/InternetBankButton.js.map +1 -0
  331. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  332. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  333. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  334. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  335. package/mobile/dist/components/OfficeMap/OfficeMap.js +1 -1
  336. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  337. package/mobile/dist/components/OfficeMap/renderFunctions.js +1 -1
  338. package/mobile/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  339. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  340. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  341. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  342. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  343. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  344. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  345. package/mobile/dist/components/RollupItem/RollupItem.js +1 -1
  346. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  347. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  348. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  349. package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
  350. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  351. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  352. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  353. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  354. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  355. package/mobile/dist/services/sitemap/SitemapData.d.ts +1 -0
  356. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
  357. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  358. package/mobile/dist/ui-kit/Button/ArrowButton.js +1 -1
  359. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  360. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +0 -2
  361. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  362. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  363. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  364. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  365. package/mobile/dist/ui-kit/Icon/Icon.js +2 -2
  366. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  367. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +0 -2
  368. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  369. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  370. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  371. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  372. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  373. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  374. package/mobile/dist/ui-kit/Logo/renderImage.js +2 -2
  375. package/mobile/dist/ui-kit/Logo/renderImage.js.map +1 -1
  376. package/mobile/dist/ui-kit/YandexMap/renderSearchField.d.ts +1 -1
  377. package/mobile/dist/ui-kit/YandexMap/renderSearchField.js +1 -1
  378. package/mobile/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  379. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  380. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  381. package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
  382. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  383. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  384. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  385. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +6 -1
  386. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  387. package/mobile/lib/components/Calculator/UnknownRate.js +2 -2
  388. package/mobile/lib/components/Calculator/UnknownRate.js.map +1 -1
  389. package/mobile/lib/components/Calculator/constants.d.ts +2 -2
  390. package/mobile/lib/components/Calculator/constants.js.map +1 -1
  391. package/mobile/lib/components/Calculator/rangeHelpers.d.ts +3 -0
  392. package/mobile/lib/components/Calculator/rangeHelpers.js +8 -2
  393. package/mobile/lib/components/Calculator/rangeHelpers.js.map +1 -1
  394. package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  395. package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.js +2 -2
  396. package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  397. package/mobile/lib/components/Calculator/useCreditCalculatorParams.d.ts +10 -3
  398. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +40 -34
  399. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  400. package/mobile/lib/components/Calculator/useDepositCalculatorParams.d.ts +1 -1
  401. package/mobile/lib/components/Calculator/useDepositCalculatorParams.js +4 -4
  402. package/mobile/lib/components/Calculator/useDepositCalculatorParams.js.map +1 -1
  403. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
  404. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  405. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  406. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  407. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  408. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  409. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  410. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  411. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -3
  412. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  413. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  414. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  415. package/mobile/lib/components/Footer/Footer.js +1 -1
  416. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  417. package/mobile/lib/components/Footer/MediaButton.js +1 -1
  418. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  419. package/mobile/lib/components/Header/DropdownMenu.js +2 -2
  420. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  421. package/mobile/lib/components/Header/HeaderBurger.js +2 -2
  422. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  423. package/mobile/lib/components/Header/HeaderChatBotButton.js +1 -1
  424. package/mobile/lib/components/Header/HeaderChatBotButton.js.map +1 -1
  425. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -3
  426. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  427. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +2 -0
  428. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js +6 -2
  429. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  430. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +3 -0
  431. package/mobile/lib/components/Header/HeaderSubMenu.js +6 -2
  432. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  433. package/mobile/lib/components/Header/HeaderSubMenuItem.js +2 -2
  434. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  435. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  436. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  437. package/mobile/lib/components/Header/InternetBankButton.d.ts +7 -0
  438. package/mobile/lib/components/Header/InternetBankButton.js +10 -0
  439. package/mobile/lib/components/Header/InternetBankButton.js.map +1 -0
  440. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  441. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  442. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  443. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  444. package/mobile/lib/components/OfficeMap/OfficeMap.js +1 -1
  445. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  446. package/mobile/lib/components/OfficeMap/renderFunctions.js +1 -1
  447. package/mobile/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  448. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  449. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  450. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  451. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  452. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  453. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  454. package/mobile/lib/components/RollupItem/RollupItem.js +1 -1
  455. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  456. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  457. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  458. package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
  459. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  460. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  461. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  462. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  463. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  464. package/mobile/lib/services/sitemap/SitemapData.d.ts +1 -0
  465. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
  466. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  467. package/mobile/lib/ui-kit/Button/ArrowButton.js +1 -1
  468. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  469. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +0 -2
  470. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  471. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  472. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  473. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  474. package/mobile/lib/ui-kit/Icon/Icon.js +2 -2
  475. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  476. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +0 -2
  477. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  478. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  479. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  480. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  481. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  482. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  483. package/mobile/lib/ui-kit/Logo/renderImage.js +2 -2
  484. package/mobile/lib/ui-kit/Logo/renderImage.js.map +1 -1
  485. package/mobile/lib/ui-kit/YandexMap/renderSearchField.d.ts +1 -1
  486. package/mobile/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
  487. package/mobile/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  488. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +0 -1
  489. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  490. package/mobile/src/components/Calculator/Calculator.tsx +0 -1
  491. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +7 -1
  492. package/mobile/src/components/Calculator/UnknownRate.tsx +2 -2
  493. package/mobile/src/components/Calculator/constants.ts +2 -2
  494. package/mobile/src/components/Calculator/rangeHelpers.ts +18 -2
  495. package/mobile/src/components/Calculator/useBusinessDepositCalculatorParams.ts +3 -3
  496. package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +83 -46
  497. package/mobile/src/components/Calculator/useDepositCalculatorParams.ts +5 -5
  498. package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
  499. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
  500. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
  501. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -1
  502. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -3
  503. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  504. package/mobile/src/components/Footer/Footer.tsx +1 -1
  505. package/mobile/src/components/Footer/MediaButton.tsx +0 -1
  506. package/mobile/src/components/Header/DropdownMenu.tsx +6 -3
  507. package/mobile/src/components/Header/HeaderBurger.tsx +2 -5
  508. package/mobile/src/components/Header/HeaderChatBotButton.tsx +2 -0
  509. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +0 -5
  510. package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +22 -5
  511. package/mobile/src/components/Header/HeaderSubMenu.tsx +62 -43
  512. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -2
  513. package/mobile/src/components/Header/HeaderTop.tsx +0 -1
  514. package/mobile/src/components/Header/InternetBankButton.tsx +28 -0
  515. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +7 -1
  516. package/mobile/src/components/LinkDocs/LinkDocs.tsx +0 -1
  517. package/mobile/src/components/OfficeMap/OfficeMap.tsx +1 -1
  518. package/mobile/src/components/OfficeMap/renderFunctions.tsx +1 -1
  519. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -7
  520. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +0 -1
  521. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +2 -2
  522. package/mobile/src/components/RollupItem/RollupItem.tsx +2 -2
  523. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  524. package/mobile/src/components/StepsBlock/StepsBlock.tsx +0 -1
  525. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
  526. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +1 -0
  527. package/mobile/src/services/sitemap/SitemapData.ts +1 -0
  528. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +0 -1
  529. package/mobile/src/ui-kit/Button/ArrowButton.tsx +0 -1
  530. package/mobile/src/ui-kit/Button/ButtonProps.ts +0 -2
  531. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +0 -1
  532. package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +0 -1
  533. package/mobile/src/ui-kit/Icon/Icon.tsx +2 -2
  534. package/mobile/src/ui-kit/Icon/IconProps.ts +0 -2
  535. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +0 -1
  536. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +0 -1
  537. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +1 -2
  538. package/mobile/src/ui-kit/Logo/renderImage.tsx +0 -2
  539. package/mobile/src/ui-kit/YandexMap/renderSearchField.tsx +1 -2
  540. package/package.json +1 -1
  541. package/src/components/BenefitsBlock/BenefitsBlock.tsx +0 -1
  542. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +8 -8
  543. package/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  544. package/src/components/Calculator/Calculator.tsx +0 -1
  545. package/src/components/Calculator/CreditCalculatorForm.tsx +7 -1
  546. package/src/components/Calculator/UnknownRate.tsx +2 -2
  547. package/src/components/Calculator/constants.ts +2 -2
  548. package/src/components/Calculator/rangeHelpers.ts +18 -2
  549. package/src/components/Calculator/useBusinessDepositCalculatorParams.ts +3 -3
  550. package/src/components/Calculator/useCreditCalculatorParams.ts +83 -46
  551. package/src/components/Calculator/useDepositCalculatorParams.ts +5 -5
  552. package/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
  553. package/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
  554. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
  555. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -1
  556. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -3
  557. package/src/components/ComparisonTable/HeaderCell.tsx +0 -1
  558. package/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  559. package/src/components/Footer/Footer.mobile.tsx +1 -1
  560. package/src/components/Footer/MediaButton.tsx +0 -1
  561. package/src/components/Header/DropdownMenu.tsx +6 -3
  562. package/src/components/Header/Header.tsx +6 -2
  563. package/src/components/Header/HeaderBurger.tsx +2 -5
  564. package/src/components/Header/HeaderChatBotButton.tsx +2 -0
  565. package/src/components/Header/HeaderSecondaryMenu.tsx +0 -5
  566. package/src/components/Header/HeaderSecondaryMenuButton.tsx +22 -5
  567. package/src/components/Header/HeaderSubMenu.tsx +62 -43
  568. package/src/components/Header/HeaderSubMenuItem.tsx +2 -2
  569. package/src/components/Header/HeaderTop.tsx +0 -1
  570. package/src/components/Header/InternetBankButton.tsx +28 -0
  571. package/src/components/HorizontalLayout/HorizontalLayout.tsx +7 -1
  572. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +4 -3
  573. package/src/components/LinkDocs/LinkDocs.mobile.tsx +0 -1
  574. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  575. package/src/components/OfficeMap/OfficeMap.tsx +1 -1
  576. package/src/components/OfficeMap/renderFunctions.tsx +1 -1
  577. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -7
  578. package/src/components/ProductBlock/renderBackwardButton.tsx +0 -1
  579. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +2 -2
  580. package/src/components/RollupItem/RollupItem.mobile.tsx +2 -2
  581. package/src/components/RollupItem/RollupItem.tsx +2 -2
  582. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  583. package/src/components/StepsBlock/StepsBlock.mobile.tsx +0 -1
  584. package/src/components/StepsBlock/StepsBlock.tsx +0 -1
  585. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
  586. package/src/components/VerticalLayout/VerticalLayout.tsx +1 -0
  587. package/src/services/sitemap/SitemapData.ts +1 -0
  588. package/src/ui-kit/BenefitItem/BenefitItem.tsx +0 -1
  589. package/src/ui-kit/Button/ArrowButton.tsx +0 -1
  590. package/src/ui-kit/Button/Button.fixture.tsx +5 -5
  591. package/src/ui-kit/Button/ButtonProps.ts +0 -2
  592. package/src/ui-kit/Button/renderButtonsSection.tsx +0 -1
  593. package/src/ui-kit/Foldable/DefaultFoldButton.tsx +0 -1
  594. package/src/ui-kit/Icon/Icon.fixture.tsx +3 -3
  595. package/src/ui-kit/Icon/Icon.tsx +2 -2
  596. package/src/ui-kit/Icon/IconProps.ts +0 -2
  597. package/src/ui-kit/InnerTable/InnerTableButton.tsx +0 -1
  598. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +0 -1
  599. package/src/ui-kit/LinkButton/LinkButton.tsx +1 -2
  600. package/src/ui-kit/Logo/renderImage.tsx +0 -2
  601. package/src/ui-kit/YandexMap/renderSearchField.tsx +1 -2
@@ -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";let t;const n=e=>(...n)=>t[e](...n),i=n("useState"),r=n("useEffect"),a=n("useCallback"),l=n("useMemo"),s=n("useRef");const o={PROD_BRANCH:"master"},c=new class{_=o;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||o.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get FOOTER(){return this._.FOOTER}get CHAT_BOT(){return this._.CHAT_BOT}get CDN(){return d(this._.CDN)}get BASE_PATH(){return d(this._.BASE_PATH)}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},d=e=>e&&!e.endsWith("/")?`${e}/`:e,m="likesToken";function h(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(m)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage?.setItem(m,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:i}=await e.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}}}}const u=(...e)=>globalThis._uni._jsx(...e),p=(...e)=>globalThis._uni._jsxs(...e),g=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:b(e)),t._tmpl},b=e=>{function t(t,n){const{children:i,...r}=t||{},a=n?.slots?.default,l=i||a&&a();return e(Object.assign(r,l&&{children:l}),n)}return t.inheritAttrs=!1,t},x={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},f=g((e=>{const{className:t,headingType:n="h3",title:i,as:r="h3"}=e;return u(r,{className:`font-sans font-medium m-0 ${x[n]} ${t||""}`,children:i})})),y=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),v=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`});function N(e,{sensitivity:t,rootRef:n}={}){const i=s(null),a=l((()=>({threshold:w(t),root:n?.current})),[t,n?.current]);return r((()=>{if(!i.current)return;const t=new IntersectionObserver(e,a);return t.observe(i.current),()=>{t.disconnect()}}),[e,a]),i}function w(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,n)=>Math.min(n/t)),1).concat(1)}const k=g((({className:e="",style:t,idx:n,activeIndex:i,observerOptions:r,children:l,onIntersection:s})=>{const o=N(a((e=>{e.length&&s&&s(n||0,e[e.length-1])}),[s,n]),r);return u("div",{className:`inline-block snap-always box-border ${e}`,style:t,"aria-current":Boolean(n===i),ref:o,children:l})})),T=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],C=g((({className:e="",containerRef:t,activeIndex:n,visibleItemCount:i=0,gap:r=0,padding:l=0,listType:o="horizontal-list",snapAlign:c="snap-center",minHeight:d,children:m,onVisibleItemsChange:h,onVisibleIndicesChange:p})=>{const g={sensitivity:1,rootRef:t},b=s([]),x=a(((e,t)=>{const n=[...b.current||[]];n[e]=t,b.current=n,h&&h(n),p&&p(_(n))}),[h,p]),f=i>0?r*Number(i)-1:0,N="vertical-list"===o,w="horizontal-list"===o,C={...w?S(l,f):{},...N?v(d):{},gap:`${r}px`};return u("div",{className:y("box-border overflow-auto no-scrollbar",o,e),style:C,ref:t,children:(I=(e,t)=>u(k,{className:y(c,i?T[i-1]:"",N?"h-full":""),style:w?S(l/4):{},activeIndex:n,idx:t,observerOptions:g,onIntersection:x,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(I):I(e,0))(m)});var I})),S=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),_=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),I={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},$={"horizontal-list":"w-6","vertical-list":"h-6"},M=g((({containerRef:e,activeIndex:t,dotCount:n=0,listType:i="horizontal-list",version:r})=>n?u("div",{className:y("flex gap-2",I[i],r?"group":""),...r?{"data-ver":r}:{},children:new Array(n).fill(null).map(((n,r)=>u("div",{className:`cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white ${r===t?$[i]:"w-2 h-2 opacity-30"}`,role:"button","aria-hidden":!0,onClick:()=>(n=>{n!==t&&e?.current&&e.current.children[n]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(r)},String(r))))}):null)),A=e=>e,R=(e=A)=>t=>t.reduceRight(((t,n)=>e(t)>e(n)?t:n)),j=R(),O=(e=A)=>R((t=>-e(t))),P=e=>t=>e.scrollWidth/t,L=e=>(t,n)=>{e.scrollBy({left:n*P(e)(t),behavior:"smooth"})},V=({itemCount:e,isCyclic:t,onVisibleIndicesChange:n})=>{const r=s(null),[l,o]=i([]),c=a((e=>{o((t=>{return(n=t)===(i=e)||Boolean(n&&i&&n?.length===i?.length&&n.every(((e,t)=>e===i[t])))?t:e;var n,i})),n&&n(e)}),[e]),[d,m]=l.length?[O()(l),R()(l)]:[-1,-1],h=d>0,u=m<e-1,p=a((()=>{var n;r.current&&(t&&!h?(n=r.current).scrollTo({left:n.scrollWidth,behavior:"smooth"}):L(r.current)(e,-1))}),[t,e,h]),g=a((()=>{r.current&&(t&&!u?r.current.scrollTo({left:0,behavior:"smooth"}):L(r.current)(e,1))}),[e,t,u]);return[r,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]},D=g((({className:e="",gap:t=14,padding:n=16,showDots:i=!0,minHeight:r,children:a,onVisibleIndicesChange:l,listType:s="horizontal-list",version:o})=>{const c=Array.isArray(a)?a.length:0,[d,m]=V({itemCount:c,onVisibleIndicesChange:l}),[h]=m.visibleIndicesRange;return p("div",{className:y(e,"vertical-list"===s?"relative h-full":""),children:[u(C,{containerRef:d,activeIndex:h,visibleItemCount:1,gap:t,padding:n,onVisibleIndicesChange:m.handleVisibleIndicesChange,listType:s,minHeight:r,children:a}),i?u(M,{containerRef:d,activeIndex:h,dotCount:c,listType:s,version:o}):null]})}));class B{subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){e in this.subjectsStateMap&&(this.subjectsStateMap[e]=t),this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const E=new B,z=(e="")=>({open:t=>E.fire("dialog",{type:"open",id:e,message:t}),close:()=>E.fire("dialog",{type:"close"})}),F=e=>Boolean(e?.includes(":")),H=(e,t)=>Boolean(e&&!F(e)&&(!t||"_self"===t)),G=e=>(e||"").replace(/\?.*/,"").replace(/\/$/,""),J=(...e)=>e.filter(Boolean).join("/").replace(/\/+/g,"/");var U=Object.freeze({__proto__:null,isURL:F,isLocalURL:H,isHash:e=>Boolean(e?.startsWith("#")),withoutQuery:G,joinPath:J});const X=e=>(t,n=c.BASE_PATH)=>{if(!t||F(t)||W(t,c.CDN))return t;const i=t.startsWith("/");return J(W(t,n)?"":n,i?"/":e.pathname?.split("/").slice(0,-1).join("/"),t)},W=(e,t)=>t&&e&&e.startsWith(t),Y=(e,t)=>Y._impl(e,t);function K(){return K._impl()}function Q(e={}){const{isRemote:t,basePath:n}=e,i=K(),{close:r}=z();return e=>({...e,href:t?e.href:X(i)(e.href,n),"aria-label":e.text,onClick:Y(a(e),e)});function a({href:e,target:n,onClick:a}){return l=>{a&&a(l),e&&!t&&H(e,n)&&(r(),l?.preventDefault(),i.push(e))}}}Y._impl=e=>e,Y.setup=e=>{Y._impl=e},K._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),K.setup=e=>{K._impl=e};const q={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active",white:"text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main",link:"",transparent:"",gray:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active","":""},Z="bg-main-divider text-main-disabled",ee={primary:Z,secondary:Z,white:Z,link:"",transparent:"",gray:Z,"":""},te="text-center font-sans select-none",ne={primary:"group-hover/btn:brightness-0 group-hover/btn:invert",secondary:"group-hover/btn:brightness-0 group-hover/btn:invert",white:"group-hover/btn:brightness-0 group-hover/btn:invert",link:"",transparent:"",gray:"group-hover/btn:brightness-0 group-hover/btn:invert","":""},ie=g((e=>{const{text:t,aboveText:n,appendLeft:i,appendRight:r,version:a="primary"}=e;return p("div",{className:y(re(e),"flex gap-2"),children:[i?u("div",{className:ne[a],children:i}):null,ae(e)?p("div",{children:[n?u("div",{className:"text-xs-light text-left",children:n}):null,u("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?u("div",{className:ne[a],children:r}):null]})})),re=e=>{const{version:t,aboveText:n,rounded:i}=e;if("link"===t)return"";const r=""+(n?"py-2.5 px-7":"py-4 px-4");return["group/btn items-center justify-center",ae(e)?r:"h-12 w-12",i?"rounded-full":""].join(" ")},ae=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),le=({className:e,rounded:t,version:n})=>["inline-block",te,n?ee[n]:"",t?"rounded-full":"rounded-md",e].join(" "),se=({className:e,rounded:t,version:n})=>[te,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit",n?q[n]:"",t?"rounded-full":"rounded-md",e].join(" "),oe=g((({disabled:e,children:t,...n})=>{const i=Q()(n),r=t??u(ie,{...i});return u(e?de:ce,{...i,children:r})})),ce=g((({className:e="",href:t,rel:n,target:i,ariaLabel:r,version:a,rounded:l,onClick:s,children:o})=>u("a",{className:se({className:e,version:a,rounded:l}),href:t,rel:n,target:i,"aria-label":r,role:t?"link":"button",onClick:s,children:o}))),de=g((({className:e,ariaLabel:t,version:n,rounded:i,children:r})=>u("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:le({className:e,rounded:i,version:n}),children:r}))),me={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},he=g((({className:e="",imageClassName:t="",name:n="",alt:i=`Иконка ${n}`,title:r=i,iconVersion:a="color",asSVG:l,...s})=>{const o=K(),d=X(o)(J(c.CDN,"/icons",`${n}.svg`));return l&&"normal"!==a?u(pe,{className:e,children:p("svg",{className:y(ue(s.width),me[a],"white"===a?"invert":"",t),...s,"aria-hidden":"true",children:[r?u("title",{children:r}):null,i?u("desc",{children:i}):null,u("use",{href:`${d}#icon`,xlinkHref:`${d}#icon`})]})}):(e.includes("h-")||(s.style={height:`${s.height}px`}),u("img",{className:e,src:d,alt:i,title:r,"aria-hidden":"true",...s}))})),ue=e=>e?"":"w-full h-full",pe=g((({className:e,children:t})=>e?u("div",{className:e,children:t}):t)),ge=(e,t)=>e?.media&&t?.media?e.media-t.media:0,be=g((({className:e="",image:t,imageClassName:n="",isMobile:i=!1,pathPrefix:r})=>{const a=K();return p("picture",{className:`${i?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.filter((e=>e?.src)).sort(ge).map((({src:e,format:n,media:i},l)=>u("source",{srcSet:fe(a,r)(e),type:ye(n),media:i?`(max-width: ${i}px)`:"",...t.size},`${l}_${e}`))):null,t?.src?xe({...t,src:fe(a,r)(t.src)},n,i):null]})})),xe=(e,t="",n=!1)=>{const i={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,l=n?"m-auto":"m-0";return u("img",{src:e.src,className:`${l} ${t}`,alt:a,title:r,style:i,...e.size})},fe=(e,t)=>n=>n&&!F(n)?X(e)(J(t,n)):n,ye=e=>e?`image/${String(e)}`:void 0,ve=g((({className:e="",image:t,imageClassName:n="",isMobile:i,pathPrefix:r,...a})=>t?.src||t?.icon?t.icon?u(he,{className:e,imageClassName:n,iconVersion:t?.iconVersion,name:t.icon,...a}):u(be,{className:e,imageClassName:n,image:t,isMobile:i,pathPrefix:r}):null)),Ne=g((e=>u(ve,{...e,isMobile:!0}))),we=(e=!1)=>e?"text-white":"",ke=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Te=g((({icon:e,image:t,title:n,subtitle:i,isFillGradient:r})=>p("div",{role:"columnheader",children:[e?u(Ne,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&u("div",{className:"mb-3.5",children:u(Ne,{image:t})}),n?u(f,{headingType:"h4",className:we(r),title:n}):null,i?u("div",{className:ke(r),children:i}):null]}))),Ce=g((({cell:e,rowHeader:t,isFillGradient:n=!1})=>u("div",{className:"box-border flex flex-col",role:"cell",children:u("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(Se(n,t))})}))),Se=(e,t)=>({label:n,description:i},r)=>p("div",{className:"flex justify-between text-s py-3.5",children:[u("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),p("div",{className:"basis-1/2",children:[n?u("div",{className:"text-right "+(e?"text-white":""),children:n}):null,i?u("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:i}):null]})]},String(r)),_e=g((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:i,showRow:r,onToggleColumn:a})=>{const l=t?.slice(0,r?t.length:n),s=i?"secondary":"primary";return p("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${i?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[u(Te,{...e,isFillGradient:i}),l?.length?l.map((({rowHeader:e,cell:t},n)=>u(Ce,{cell:t,rowHeader:e,isFillGradient:i},String(n)))):null,r&&e?.link?u(oe,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Ie({onToggleColumn:a,isFillGradient:i,showRow:r})]})})),Ie=({onToggleColumn:e,isFillGradient:t,showRow:n})=>u("div",{className:"mt-5",role:"cell",children:u("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),$e=g((e=>{const{className:t,title:n}=e;return p("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?u(f,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,u("div",{role:"table",children:u(Me,{...e})})]})})),Me=g((({columns:e=[],rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:r,orientation:l,...s})=>{const[o,c]=i(new Array(e.length).fill(!r)),d=a((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),m=a((()=>c((e=>new Array(e.length).fill(!1)))),[]),h=e?.map((({data:e,header:i},a)=>{return u(_e,{visibleRowLength:r,showRow:o[a],header:i,columnData:(l=e,l?.map(((e,n)=>({cell:e,rowHeader:t?.[n]?.title})))),isFillGradient:0===a&&n,onToggleColumn:()=>d(a),...s},String(a));var l}));return"horizontal"===l?u(D,{onVisibleIndicesChange:m,children:h}):h})),Ae=new Map;function Re(e,t,{fallback:n}={}){const a=l((()=>je(e)),[e]),[s,o]=i(),[c,d]=i(),m=e=>{o(e),d(void 0)},h=e=>{o(void 0),d(e)};r((()=>{if(!a.every((e=>null===e)))try{const e=t(...a);"then"in e?(e=>{e.then((e=>Ae.get(a)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...a]);const u=a[0],p=n&&"string"==typeof u&&n[u];return{data:!s&&p?p:s,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function je(e){return e?Array.isArray(e)?e:e instanceof Function?je(e()):[e]:[e]}async function Oe(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function Pe(e,t={}){const{data:n}=Re(`/wcms-resources/${e}.json`,Oe,{fallback:t});return n||{}}const Le=new B;const Ve={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white",gray:"bg-main-divider text-primary-text",transparent:"bg-transparent text-primary-text","":""},De=g((({className:e="",version:t="primary",isTheme:n=!0,block:l,tag:s="section",role:o,children:c})=>{const d=s,m=function(e){return N(a((t=>{if(!e||!t?.length)return;const n=t[t.length-1];Le.fire("intersection",{block:e,intersection:n})}),[e]),{sensitivity:1})}(l),[h,p]=i(!1);return r((()=>E.subscribe("tab",(e=>{p(Boolean(e.label&&l?.labels?.length&&!l.labels.includes(e.label)))}))),[l]),u(d,{className:y(Be(Boolean(t&&n)),Ve[t],h?"hidden":"",e),...t&&n?{"data-ver":t}:{},...l?.anchor?{id:l.anchor,ref:m}:{},role:o,children:c})})),Be=e=>e?"group":"",Ee=g((({className:e,onClick:t})=>u("button",{className:y("visible peer-placeholder-shown:invisible w-6 h-6 p-1 bg-transparent border-none",e),onClick:t,title:"Закрыть",children:u(Ne,{image:{icon:"CloseIcon"},width:"24",height:"24"})})));function ze(e){throw new Error(e)}function Fe({onOpen:e,onClose:t}={}){r((()=>E.subscribe("dialog",(n=>{switch(n.type){case"open":e&&e(n);break;case"close":t&&t();break;default:ze(n)}}))),[e,t])}function He(e,...t){return e.map(((e,n)=>[e,...t.map((e=>e[n]))]))}const Ge=e=>t=>{if(e===t)return 1;if(!e||!t)return 0;const{m:n,s1Matches:i,s2Matches:r}=function(e,t){const n=Math.max(0,Math.floor(Math.max(e.length,t.length)/2)-1),i=new Array(e.length),r=new Array(t.length);let a=0;for(let l=0;l<e.length;l++){const s=Math.max(0,l-n),o=Math.min(l+n,t.length-1);for(let n=s;n<=o;n++)i[l]||r[n]||e[l]!==t[n]||(a++,i[l]=!0,r[n]=!0)}return{m:a,s1Matches:i,s2Matches:r}}(e,t);if(0===n)return 0;const a=function(e,t,{s1Matches:n,s2Matches:i}){let r=0;for(let a=0,l=0;a<e.length;a++){if(!n[a])continue;let s=l;for(;s<t.length;s++)if(i[s]){l=s+1;break}e[a]!==t[s]&&r++}return r}(e,t,{s1Matches:i,s2Matches:r}),l=(n/e.length+n/t.length+(n-a/2)/n)/3,s=l>.7?.1*function(e,t){let n=0;for(;e[n]===t[n]&&n<4;)n++;return n}(e,t):0;return l+s*(1-l)};const Je=(e,t)=>(n,i)=>{for(const[r,a]of i)n.set(r,e(n.get(r)||t,a));return n},Ue=e=>e.toLowerCase().split(/[^0-9a-zа-я-]+/).filter((e=>e.length>=3&&!/[0-9a-z]/.test(e))),Xe=e=>t=>e.map((([e,n])=>[Ge(t)(e),n])).filter((([e])=>e>=.8)).map((([e,t])=>Ye(t,e))).reduce(Je(Math.max,0),new Map),We=e=>t=>{return He(t,t.map((({title:e})=>e)).map((e=>t=>{const n=Ue(t||"");return n.length?((e=[])=>e.reduce(((e,t)=>e+t),0))(e.map((e=>j(n.map(Ge(e)))))):0})(e))).sort((i=([,e])=>e,n=(e,t)=>i(e)-i(t),(e,t)=>-n(e,t))).map((([e])=>e));var n,i},Ye=(e,t)=>new Map(e.map((e=>[e,t]))),Ke=({basePathList:e=["/"],initialQuery:t="",wasOpened:n})=>{const[a,s]=i(t||"");r((()=>{null!=t&&s(t)}),[t]);const o=l((()=>e.map((e=>n?e:null))),[n,...e]),{data:c}=Re(o,Qe),[d,m]=i(null);return((e,t,n=300)=>{r((()=>{const t=setTimeout(e,n);return()=>{clearTimeout(t)}}),t)})((()=>{c&&m(c.map((e=>t=>{const{corpus:n,dictionary:i}=t||{};if(!(e&&n?.length&&i&&Object.keys(i).length))return[];const r=Ue(e);if(!r.length)return[];const a=Object.entries(i),l=[...r.map(Xe(a)).reduce(Je(((e,t)=>e+t),0),new Map).entries()].filter((([,e])=>e>=.799*r.length)).map((([e])=>n[e]));return We(r)(l)})(a)))}),[c,a]),[d,{value:a,onChange:s}]},Qe=async(...e)=>(await Promise.allSettled(e.map((e=>async function(e,t){try{return e?await Oe(e,t):null}catch(e){console.error(e)}return null}(J(e,"/","search.index.json")))))).map((e=>"fulfilled"===e.status?e.value:{})),qe=g((({className:e,isOpened:t,head:n,children:i,onClose:a})=>(r((()=>{const e=({key:e})=>{"Escape"===e&&a&&a()};return globalThis.document?.addEventListener("keydown",e),()=>{globalThis.document?.removeEventListener("keydown",e)}}),[a]),t?u("div",{className:y("fixed inset-0 bg-white text-l-light z-50 overflow-x-hidden overflow-y-scroll no-scrollbar",e),role:"dialog",children:p("div",{className:"relative container pb-12 min-h-full",children:[p("div",{className:"sticky bg-white pt-6 top-0",children:[u(Ee,{className:"absolute top-3 -right-6",onClick:a}),n]}),i]})}):null)));function Ze(e=!1){const[t,n]=i(e),r=a((()=>n(!0)),[]),l=a((()=>n(!1)),[]),s=a((()=>n((e=>!e))),[]);return[t,{setValue:n,setTrue:r,setFalse:l,toggle:s}]}const et=g((({className:e,topItems:t})=>{const n=Q({isRemote:!0});return u("div",{className:y("flex items-start justify-between",e),children:t?.map(n).map(tt)})})),tt=(e,t)=>{const{text:n,items:i,href:r,target:a,onClick:l}=e;return p("div",{className:"flex flex-col gap-3.5 w-1/4",children:[u("a",{className:"leading-5 text-l text-primary-text hover:text-primary-main no-underline",href:r,target:a||"_self",onClick:l,children:n||`Раздел ${t}`}),i?.map(((e,t)=>u(nt,{...e,basePath:r,index:t},String(t))))]},String(t))},nt=g((({text:e,index:t,basePath:n,...i})=>{const r=Q({isRemote:!(!c.BASE_PATH||!n)&&!c.BASE_PATH.startsWith(n)}),{href:a,target:l,onClick:s}=r(i);return u("a",{className:y("text-l-light text-secondary-text hover:text-primary-main no-underline","overflow-x-hidden overflow-ellipsis whitespace-nowrap"),href:a,target:l||"_self",onClick:s,children:e||`Раздел ${t}`})})),it=g((({className:e,isMobile:t,value:n,autoFocus:i,onChange:r,onFocus:l})=>{const s=a((e=>{r&&r(e.target?.value||"")}),[r]);return p("div",{className:y("font-sans relative",e),role:"form",children:[u("div",{className:"absolute h-full flex items-center pl-4 pointer-events-none",children:u(Ne,{image:{icon:"LoupeIcon"},width:"24",height:"24"})}),u("input",{className:y("h-12 pl-12 w-full text-l text-black outline-none box-border","border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text",t?"":"h-full"),value:n,type:"text",name:"search-bar-input",placeholder:"Поиск по сайту",autoFocus:i,onChange:s,onFocus:l})]})})),rt="search";g((({topItems:e})=>{const t=function(e){const[t,{setTrue:n,setFalse:r}]=Ze(),[l,o]=i({id:e}),c=s(t);c.current||=t,Fe({onOpen:a((t=>{t.id===e?(o(t),n()):r()}),[e]),onClose:r});const d=a((()=>{r(),E.fire("dialog",{type:"close"})}),[]);return{...l,isOpened:t,wasOpened:c.current,onClose:d}}(rt),n=e?.map((e=>e.href||"/")),[o,c]=Ke({basePathList:n,initialQuery:t.message,wasOpened:t.wasOpened}),d=l((()=>at(e)(o)),[e,o]);return r((()=>function(e){for(const t of e.filter((({items:e})=>e?.length)))console.group(t.text),console.table(t.items,["text","href"]),console.groupEnd()}(d)),[d]),u(qe,{...t,head:u(it,{className:"my-5",autoFocus:!0,...c}),children:u(et,{topItems:d})})}));const at=e=>t=>e?.length&&t?.length?He(e,t).map((([e,t])=>({...e,items:t?.map((({title:e,uri:t})=>({text:e,href:J("/",t)})))}))):[];const lt=g((({className:e,isMobile:t})=>{const[n,r]=i(""),l=a((()=>r("")),[]);Fe({onClose:l});const{open:s}=z(rt),o=a((e=>{r(e),st(e)&&s(e)}),[]);return p("div",{className:e,children:[u(it,{isMobile:t,value:n,onChange:o}),t?u(Ee,{className:"absolute top-2 right-3",onClick:l}):null]})})),st=e=>e&&e.length>=3,ot=g((e=>u(lt,{...e,isMobile:!0}))),ct=g((({className:e="",documents:t,...n})=>u(De,{className:`mt-2.5 ${e}`,...n,children:u("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?dt(t):null})}))),dt=e=>e.map(((e,t)=>{const{text:n,...i}=e;return u("li",{className:"mb-4 list-none",children:u("a",{className:"hover:text-primary-main",role:"link",...i,children:n||null})},`list_item_${String(t)}`)})),mt={"bg-white":"color",transparent:"white"},ht={"bg-white":"text-primary-main",transparent:"text-white"},ut=(e,t,n)=>u(Ne,t?.src?{image:t,className:ht[e],width:n?.width,height:n?.height,pathPrefix:"/wcms-resources/",asSVG:!0}:{image:{icon:t?.icon||"LogoIcon",iconVersion:mt[e]},className:ht[e],width:n?.width,height:n?.height,asSVG:!0}),pt={"bg-white":"text-primary-text",transparent:"text-white"},gt=(e,t,n)=>u("span",{className:`${pt[t]} ml-2.5 font-medium ${n||""}`,children:e||"Россельхозбанк"}),bt=g((({bgColor:e="bg-white",children:t,className:n="",href:i,logo:r,showTitle:a=!0,targetBlank:l})=>p("a",{className:`inline-flex items-center font-sans no-underline ${n}`,href:i||"https://rshb.ru/",target:l?"_blank":"_self","aria-label":r?.title||"Россельхозбанк",children:[ut(e,r?.image,{width:"34",height:"34"}),a?gt(t||r?.title,e,"text-s"):null]}))),xt=g((({className:e="",title:t="Мобильное приложение",description:n,href:i="#"})=>u("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:i?p("div",{className:"flex",children:[u("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:u(bt,{className:"w-8",bgColor:"transparent",showTitle:!0})}),p("a",{href:i,target:"_blank",className:"flex flex-col justify-center pl-3",children:[u("div",{className:"text-s font-medium mb-[3px]",children:t}),u("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),ft=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),yt=[];function vt(e,t,{className:n,...i}={}){const{key:r,blockDecorator:a=ft,blocksRegistry:l={},ancestors:s=yt}=t,{type:o}=e;o&&o in l||console.warn(`No block with "${o}" is registered`);const c=o&&l[o];return a({blockClassName:y("scroll-mt-12",n,e.style||"col-span-12"),block:e,ancestors:s,render:({block:n,blockClassName:a})=>{const{content:l}=n;return c?u(c,{className:a,block:e,options:t,...l,...i},r):null}},r)}const Nt=[],wt=(e,{key:t,ancestors:n=Nt,slotName:i=null,renderProps:r=vt,...a})=>(e||[]).map(((e,l)=>r(e,{...a,key:`${t||e.type}-${l}`,ancestors:a.parent?[...n||Nt,[a.parent,i]]:n})));function kt({children:e,block:t,options:n,renderProps:i}){return e||(t&&n?wt(t.blocks,{...n,parent:t,renderProps:i}):null)}const Tt=g((({className:e="",label:t,icon:n,dataTheme:i="",disabled:r=!1,onClick:a})=>p("button",{className:y("flex justify-center w-full px-0 py-5 border border-transparent outline-none focus:border-primary-text",r?"bg-main-divider text-main-disabled hover:bg-main-divider":"bg-primary-main text-white hover:bg-primary-hove",e),onClick:a,disabled:r,"data-theme":i,children:[u("span",{className:"text-h4 pr-3",children:t}),n?u(Ne,{image:{icon:n,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20",asSVG:!0}):null]}))),Ct=g((({className:e="",isFoldButtonOnTop:t=!1,unfoldedByDefault:n=!1,renderFoldableSection:r,renderFoldButton:l})=>{const[s,o]=i(n),c=a((()=>{o((e=>!e))}),[]),d=r({isUnfolded:s,onToggle:c}),m=l?l({isUnfolded:s,onToggle:c}):null;return p("div",t?{className:e,children:[m,d]}:{className:e,children:[d,m]})})),St=g((({className:e="",isUnfolded:t,children:n})=>{const i=s(null);return r((()=>{i.current&&(i.current.style.maxHeight=t?`${i.current.scrollHeight}px`:"")}),[t,n?.length]),u("div",{ref:i,className:`transition-max-h duration-300 overflow-hidden ${i.current||!t?"max-h-0":""} ${e}`,children:n})})),_t=g((({children:e,...t})=>u("span",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),It=g((({className:e="",label:t="Развернуть",isExpanded:n,isFoldButtonOnTop:i=!0,version:r="primary",...a})=>u(De,{className:y("border-b border-solid border-main-divider w-full",e),tag:"div",version:"transparent",...a,children:u(Ct,{isFoldButtonOnTop:i,unfoldedByDefault:n,renderFoldableSection:({isUnfolded:e})=>u(St,{className:"flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0",isUnfolded:e,children:kt(a)}),renderFoldButton:({isUnfolded:e,onToggle:n})=>$t({version:r,label:t,isUnfolded:e,onToggle:n})})})));It.childrenTypes={exclude:["RollupItem"]};const $t=({version:e,label:t,isUnfolded:n,onToggle:i,className:r="",primaryIcon:a})=>{const l=t||(n?"Скрыть":"Развернуть");return"primary"===e?Mt({label:l,icon:n?"MinusIcon":"PlusIcon",onToggle:i,className:r,primaryIcon:a}):u(Tt,{label:l,icon:n?"ArrowUpIcon":"ArrowDownIcon",onClick:i})},Mt=({label:e,icon:t,primaryIcon:n,onToggle:i})=>p("button",{className:"border-none bg-transparent flex justify-between text-left w-full text-primary-text group cursor-pointer py-3.5 px-0",onClick:i,children:[p("div",{className:"flex group-hover:text-primary-main",children:[n?u(Ne,{image:n,className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,u(_t,{size:"text-m-title-xs",font:"font-medium",children:e})]}),u(Ne,{className:"flex-shrink-0",image:{icon:t},width:"24",height:"24",asSVG:!0})]}),At=g((({className:e="",items:t,hasButton:n})=>p("div",{className:e,children:[t?.length?t.map(Rt):null,n?u(oe,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),Rt=(e,t)=>{const{type:n,text:i,description:r}=e;return p("div",{className:"mb-4",children:[u("div",{children:jt(n,i)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},jt=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${Ot(t)}`,children:t});case"email":return u("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return u("span",{children:t})}},Ot=e=>e.replaceAll(/\D/g,""),Pt=g((({className:e="",index:t,text:n,...i})=>{const r=Q(),{href:a,target:l,onClick:s}=r(i);return u("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:a,target:l,onClick:s,children:n||`Документ ${t}`})})),Lt=g((({title:e,links:t,className:n=""})=>p("div",{className:n,children:[u("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?u("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>u(Pt,{index:t,className:"text-s",...e},String(t))))}):null]}))),Vt=[{origins:["t.me","telegram.org"],iconMapped:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],iconMapped:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],iconMapped:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],iconMapped:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],iconMapped:{icon:"PlayMarketIcon"},label:"Google Play"},{origins:["youtube.com"],iconMapped:{icon:"YoutubeIcon"},label:"Youtube"}],Dt={default:"w-14 h-14",small:"w-12 h-12"},Bt=(e,t)=>e?"":`group/media flex items-center justify-center box-border ${Dt[t]}`,Et=g((({buttonSize:e="default",rounded:t=!1,icon:n,...i})=>{const{href:r,version:a,text:l=""}=i,{iconMapped:s,label:o}=Vt.find((({origins:e})=>e.some((e=>r?.includes(e)))))||{},c=zt(n)??s;return u(oe,{className:y(t?"rounded-full":"rounded-md","border border-solid hover:border-transparent","group-data-primary:border-main-divider","hover:bg-primary-main hover:text-black","group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover","group-data-gray:border-green",Bt(l,e)),"aria-label":o,rel:"noopener noreferrer",target:"_blank",text:l,version:a,...i,children:c&&!l?u(Ne,{image:c,imageClassName:"group-hover/media:text-white",width:"24",height:"24",asSVG:!0}):null})})),zt=e=>e?.src||e?.icon?e:void 0,Ft=g((({className:e="",media:t})=>u("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e}`,children:t?.map(((e,t)=>u(Et,{...e},String(t))))}))),Ht=g((({className:e="",index:t,...n})=>{const i=Q({isRemote:!0}),{href:r,target:a,text:l,onClick:s}=i(n);return u("a",{className:`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:r,target:a,onClick:s,children:l||`Документ ${t}`})})),Gt=g((({className:e="",links:t})=>p("div",{className:e,children:[u("div",{className:"py-6",children:u("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>u(Ht,{index:t,...e},String(t))))}):null]}))),Jt=g((({className:e="",...t})=>{const n=t.options?.page?.fallback,i=Pe(c.SITEMAP||"sitemap",n),{documents:r,relatedEnterprises:a,contacts:l,socialMedia:s,horizontalNavigationTitle:o}=Pe(c.FOOTER||"footer",n);return p(De,{tag:"footer",className:`px-4 py-[26px] ${e}`,...t,children:[u(At,{className:"overflow-hidden",items:l,hasButton:!0}),u("div",{className:"m-0 p-0",children:i.topItems?.map(((e,t)=>u(It,{label:e?.text,children:u(ct,{documents:e.items})},String(t))))}),u("div",{className:"mt-4",children:i?.dispositions?.map(Ut)}),u(xt,{title:"Мобильное приложение",description:"Загрузить для IOS и Android",...t}),u(ot,{className:"grow"}),u(Ft,{className:"pb-4",media:s}),u(Lt,{title:o,links:a}),u(Gt,{links:r})]})})),Ut=(e,t)=>{const{icon:n,href:i,text:r}=e;return p(oe,{version:"link",href:i,className:"flex text-s mb-4 w-6",children:[n?u(Ne,{className:"pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,u("span",{className:"pl-2.5 font-medium text-primary-text",children:r})]},`footer-${t}`)},Xt=e=>({href:t})=>G(F(t)?e.href:e.pathname).startsWith(G(t)),Wt=g((({className:e="",active:t,dataItemName:n,children:i,...r})=>{const a=Q(),{href:l,target:s,text:o,onClick:c}=a(r);return p("a",{className:y("relative inline-block bg-transparent text-center no-underline",e),href:l,target:s,"data-item-name":n,onClick:c,children:[u("span",{className:Yt(t),children:o||i}),t?u("div",{className:"absolute left-0 -bottom-3 w-full h-0.5 bg-primary-main group-data-transparent:bg-transparent"}):null]})})),Yt=(e=!1)=>y("font-sans text-s",e?"text-primary-main":"text-secondary-text hover:text-primary-main","group-data-transparent:text-white group-data-transparent:hover:text-primary-hover"),Kt=864e5;function Qt(e,t,n=globalThis?.localStorage){const i=a((async(...i)=>{const r=`async:${e}`,a=function(e){const{data:t=null,timestamp:n=null}=e?JSON.parse(e):{};return t&&Date.now()-n<Kt?t:void 0}(n.getItem(r));if(a)return a;const l=await t(...i);return n.setItem(r,JSON.stringify({data:l,timestamp:Date.now()})),l}),[e,t]);return Re(e,i)}const qt=()=>{const e=globalThis.localStorage?.getItem("location");try{return e?JSON.parse(e):null}catch(e){return null}},Zt=g((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:l})=>{const[s]=function(e="Москва"){const t=qt(),[n,l]=i(t?.region??{name:e}),{data:s}=Qt("/api/v1/region",Oe);return r((()=>{l(t?.region&&t?.manual?t.region:s||{name:e})}),[s]),[n,a((e=>{globalThis.localStorage?.setItem("location",JSON.stringify({manual:!0,region:e})),l(e)}),[])]}(n);return p("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[u("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:u(Ne,{image:{icon:"CloseIcon"},width:"24",height:"24",asSVG:!0})}),p("button",{className:"flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer",children:[u(Ne,{image:{icon:"GeolocationIcon"},width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),u(_t,{color:"text-secondary-text",children:s.name})]}),l,u("div",{className:"mb-7",children:e?.map(en)}),u(ot,{className:"grow"})]})})),en=(e,t)=>{const{icon:n,href:i,text:r}=e;return p("a",{href:i,className:"flex text-s mb-4 hover:text-primary-main",children:[n?u(Ne,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,u("span",{className:"font-medium pl-0.5",children:r})]},`headerSubMenu-${t}`)},tn=g((({onClick:e,bgColor:t,logo:n})=>p("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-12",children:[p("div",{className:"flex items-center",children:[u("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:u(Ne,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),u(bt,{className:"mr-8",bgColor:t,logo:n})]}),u("button",{className:"text-primary-main group-data-transparent:text-white group-data-transparent:hover:text-primary-hover text-s border-0 bg-transparent",children:"Войти"})]}))),nn={"bg-white":"primary",transparent:"transparent"},rn=g((({bgColor:e="bg-white",version:t=nn[e],...n})=>{const r=K(),l=n.options?.page?.fallback,{topItems:s,dispositions:o,defaultLocation:d,logo:m}=Pe(c.SITEMAP||"sitemap",l),h=s?.find((e=>Xt(c.BASE_PATH?{pathname:c.BASE_PATH}:e))(r)),g=h?.items,b=(e=>(t=[])=>{const n=t?.filter(Xt(e));return n?.length?R((e=>e.href?.length||0))(n):void 0})(r)(g),[x,f]=i(!1),y=a((()=>f((e=>!e))),[]);return p(De,{tag:"header",version:t,...n,children:[p("div",{className:"container px-4 py-0 box-border",children:[u(tn,{onClick:y,bgColor:e,logo:m}),u("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-12",children:u("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:g?.map(((e,t)=>u(Wt,{className:"mr-8 whitespace-nowrap text-s",active:e===b,...e},String(t))))})})]}),x?u(Zt,{onClick:y,burgerSubMenu:o,defaultLocation:d,children:u("div",{className:"list-none m-0 p-0",children:s?.map(((e,t)=>u(It,{label:e.text,children:u(ct,{documents:e.items})},String(t))))})}):null]})})),an=g((({children:e,...t})=>u("p",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),ln={XXL:{wrapper:"gap-[18px]",title:{headingType:"h0",as:"h1"},descriptionSize:"text-h5"},XL:{wrapper:"gap-4",title:{headingType:"h1",as:"h1"},descriptionSize:"text-xl-light"},L:{wrapper:"gap-4",title:{headingType:"h2",as:"h2"},descriptionSize:"text-xl-light"},M:{wrapper:"gap-3",title:{headingType:"h3",as:"h3"},descriptionSize:"text-xl-light"},S:{wrapper:"gap-2",title:{headingType:"h4",as:"h4"},descriptionSize:"text-xl-light"},XS:{wrapper:"gap-2",title:{headingType:"h5",as:"h5"},descriptionSize:"text-l-light"}},sn=g((({className:e,title:t,description:n,headlineVersion:i="XL",align:r="text-center",as:a,isPadding:l=!0,isTheme:s=!1,version:o="",...c})=>{const d=ln[i];return p(De,{className:y("flex flex-col",l?"p-12":"",d.wrapper,e),version:o,isTheme:s,...c,children:[t?u(f,{className:y("whitespace-pre-wrap",r),...d?.title,as:a||d?.title.as,title:t}):null,n?u(an,{size:d.descriptionSize,align:r,children:n}):null]})})),on=g((({doc:e,icon:t})=>{const{text:n,fileSize:i,...r}=e;return p("a",{className:"flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main",role:"link",...r,children:[t,n?p(_t,{size:"text-l",font:"font-light",children:[n,u(_t,{color:"text-secondary-text",children:r?.href&&cn(dn(r.href),i)})]}):null]})})),cn=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),dn=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},mn=g((({className:e="",title:t,description:n,icon:i={icon:"DocDownloadIcon",iconVersion:"black"},documents:r,align:a,...l})=>p(De,{className:y("py-6 px-4",e),...l,children:[u(sn,{isPadding:!1,title:t,description:n,align:a,headlineVersion:"M",as:"h2"}),r?.length?u("div",{className:"mt-5 flex flex-col gap-6",role:"list",children:r.map(((e,t)=>u("div",{role:"listitem",children:u(on,{doc:e,icon:i?u(Ne,{className:"min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md",image:i,width:"24",height:"24",asSVG:!0}):null})},String(t))))}):null]}))),hn=e=>{const t="col-span-",n=e?.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function un(e=""){const t=hn(e);return t<=4?"S":t<=8?"M":"L"}function pn(e=""){const t=hn(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function gn(e=""){const t=hn(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const bn=g((({className:e,title:t,description:n="Блок в разработке...",...i})=>p(De,{className:y("p-9 box-border",e,gn(e),pn(e)),...i,children:[u(sn,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:un(e)}),u("figure",{className:"m-0 min-w-[80%]",children:xn()})]}))),xn=(e=3)=>yn(100,e).map((e=>Math.floor(e))).map(fn),fn=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),yn=(e,t)=>[e].concat(t>0?yn(e/1.618,t-1):[]),vn=(e,{className:t="",buttonClassName:n,isVertical:i}={})=>e?.length&&e.some((e=>e?.text||e?.icon?.icon))?u("div",{className:y("flex",i?"flex-col gap-2":"gap-4",t),children:e.map(Nn(n))}):null,Nn=(e="")=>(t,n)=>{const{text:i,icon:r,iconRight:a,version:l,...s}=t||{},o="secondary"===l?"color":"white",c=r?.iconVersion?r?.iconVersion:o;return i||r?.icon?u(oe,{className:e,appendLeft:wn({...r,iconVersion:c}),appendRight:wn({...a,iconVersion:c}),version:l,text:i,...s},n?String(n):""):null},wn=e=>e?.icon||e?.src?u(Ne,{image:e,width:String(e?.size?.width||24),height:String(24),asSVG:!0}):null,kn={L:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4",M:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3",S:"w-1 h-1 min-w-1 min-h-1 mr-2"},Tn=g((({className:e="",isDotted:t=!0,children:n,size:i="M"})=>p("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?u("div",{children:u("div",{className:`rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${kn[i]}`})}):null,u("span",{children:n})]}))),Cn={S:"text-l-light",M:"text-h6",L:"text-h5"},Sn={S:"ml-2",M:"ml-3",L:"ml-4"},_n=g((({className:e="",hasIndent:t,isDotted:n,itemClassName:i="",items:r,listItemSize:a="M"})=>r?.length?u("section",{className:`text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${Cn[a]} ${t?Sn[a]:""} ${e}`,role:"list",children:r.map(((e,t)=>u(Tn,{className:i,isDotted:n,size:a,children:e},String(t))))}):null)),In=g((({className:e="",title:t="",buttons:n,image:i,children:r})=>p("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,p("div",{className:"flex grow w-full justify-between",children:[p("div",{className:"flex flex-col justify-between w-full",children:[u("div",{className:"h-full",children:r}),n?u("div",{className:"mt-auto pt-8",children:n}):null]}),i]})]}))),$n=g((e=>{const{className:t="",icon:n,label:i,description:r,version:a="primary",benefitsVersion:l="normal"}=e;return p("div",{className:`flex gap-5 ${r?"items-start":"items-center"} ${t}`,children:[n?u("div",{className:Mn(a,l),children:u(Ne,{className:"w-6 h-6",image:{...n,iconVersion:n.iconVersion||l},asSVG:!0})}):null,p("div",{className:"gap-0.5",children:[i?u("div",{className:"text-h6 text-primary-text group-data-secondary:text-white",children:i}):null,r?u("div",{className:"text-m-light text-secondary-text group-data-secondary:text-white",children:r}):null]})]})}));function Mn(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const An=(e="primary",t="normal")=>({icon:n,label:i,description:r},a)=>u($n,{icon:n,label:i,description:r,version:e,benefitsVersion:t},String(a)),Rn=g((({className:e="",headlineVersion:t="L",benefits:n,benefitsVersion:i="normal",buttons:r,image:a,items:l,isDotted:s=!0,label:o,title:c,description:d,...m})=>p(De,{className:`w-full ${e}`,...m,children:[p("div",{children:[o?On(o):null,u(sn,{className:"!p-0 max-w-[600px]",title:c,description:d,headlineVersion:t,align:"text-left"}),p(In,{buttons:vn(r,{className:"mt-5",isVertical:!0}),children:[n?.filter((e=>e.label))?.length?u("div",{className:"mt-3",children:n.map(An("primary",i))}):null,l?.length?u(_n,{className:"mt-3 text-m",items:l,isDotted:s}):null]})]}),jn(a)]})));function jn(e){return e?.src?u(Ne,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const On=e=>u("div",{className:"w-fit px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid border-secondary-hover",children:u(_t,{color:"text-primary-main group-data-secondary:text-white/80",children:e})}),Pn=g((e=>{const{className:t="",...n}=e;return u(De,{className:`px-4 py-6 ${t}`,...n,children:u(Rn,{...e})})})),Ln=g((e=>{const{__html:t="",richVersion:n=""}=e;return u("div",{className:y(n,"md-container"),dangerouslySetInnerHTML:{__html:t}})})),Vn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},Dn={normal:"min-h-[70px]",small:"min-h-12"},Bn={description:"text-white/80 text-l-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text",iconText:"text-white group-data-primary:text-secondary-text group-data-gray:text-secondary-text",iconBackground:"bg-white/30 group-data-primary:bg-main-divider",iconConnector:"bg-white group-data-primary:bg-secondary-light",dot:"bg-white/80 group-data-primary:bg-secondary-text"},En=g((({className:e="",title:t,description:n,showLines:i=!0,steps:r,size:a="normal",version:l="primary",...s})=>p(De,{className:`box-border px-4 py-6 flex flex-col ${e}`,version:l,...s,children:[t?u(f,{headingType:"h3",className:"text-center",title:t}):null,n?u("p",{className:`text-m-light text-center ${Bn.description} ${t?"mt-2":""}`,children:n}):null,r?.length?u("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:u("div",{className:"flex flex-col justify-between gap-x-[101px]",children:r.map(zn(a,l,i))})}):null]}))),zn=(e,t,n)=>(i,r,a)=>{const{type:l}=i;if("default"!==l&&"rte"!==l)return null;switch(l){case"default":return Fn(e,t,n)(i,r,a);case"rte":return u(Ln,{__html:i.__html});default:ze(i)}},Fn=(e,t,n)=>(i,r,a)=>{const l=a.length-1===r,s="normal"===e?"ml-[34px]":"ml-6";return u("div",{children:p("div",{className:"flex flex-row text-center relative",children:[p("div",{className:"overflow-hidden flex-shrink-0",children:[Hn(e,t)(i,r),l?null:u("div",{className:`min-h-8 h-full w-0.5 ${n?Bn.iconConnector:""} ${s}`})]}),p("div",{className:`flex flex-col justify-center h-fit ${Dn[e]}`,children:[i.label?u("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:i.label}):null,i.description?u("div",{className:`text-s ${Bn.description} text-left`,children:i.description}):null]})]})},String(r))},Hn=(e,t)=>(n,i)=>{const r="normal"===e?"38":"27",a="secondary"===t?"white":"color";return u("div",{className:`${Vn[e]} ${Bn.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:u("span",{className:`font-medium flex self-center ${"normal"===e?"text-m-title":"text-m-title-xs"}`,children:(l=n?.icon,Boolean(l?.icon||l?.src)?u(Ne,{image:{...n.icon,iconVersion:n.icon?.iconVersion||a},width:r,height:r,asSVG:!0}):u("span",{children:i+1}))})});var l},Gn={Buttons:({buttons:e})=>vn(e,{className:"mt-3",buttonClassName:"w-12 h-12"}),Img:({image:e})=>e?.src?u(Ne,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>u(_n,{className:"flex flex-col justify-between items-start text-m",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>p("div",{children:[e?u("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?u("div",{className:"text-s text-secondary-text",children:t}):null]})},Jn=g((({title:e,icon:t})=>p("div",{className:"flex gap-2.5 mb-2",children:[e?u(f,{headingType:"h3",className:"font-medium",title:e}):null,t?u(Ne,{className:"ml-auto min-w-6",image:t,width:"24",height:"24"}):null]}))),Un=g((({tile:e,...t})=>p("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[u(Jn,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>p("div",{children:[n>0?u("div",{className:"h-5"}):null,Xn(e,t)]},String(n)))):null]})));function Xn(e,t){if(!e||!e.tableCellType||!(e.tableCellType in Gn))return null;const n=Gn[e.tableCellType];return u(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const Wn=g((({tiles:e,...t})=>e?.length?u(D,{...t,children:e.map(((e,n)=>u(Un,{tile:e,...t},String(n))))}):null)),Yn=g((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>u(Un,{tile:e,...t},String(n))))}):null)),Kn=g((({className:e,title:t,description:n,tariffsColumns:i,rowHeaders:r,orientation:a="vertical",...l})=>{const s=Qn(i),o=qn(r,s);return p("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?u(f,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?u("div",{className:"mb-5 text-center text-m",children:n}):null,u("vertical"===a?Yn:Wn,{tiles:o,...l})]})})),Qn=e=>e?.[0]?.data?e[0].data:[],qn=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),Zn=g((({title:e,description:t,iconVersion:n,image:i,className:r="",items:a,isDotted:l=!0})=>p("section",{className:`font-sans px-4 py-[18px] flex flex-col bg-white group-data-secondary:bg-primary-main ${r}`,children:["small"===n?u("div",{className:"mb-3",children:u("div",{className:"rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main",children:"i"})}):null,"big"===n?ei(i):null,p("div",{className:"py-0.5 text-secondary-text group-data-secondary:text-white",children:[e?u("div",{className:"text-l font-medium mb-1",children:e}):null,t?u("div",{className:"text-s ",children:t}):null,a?.length?u(_n,{className:"mt-1 text-m",items:a,isDotted:l}):null]})]})));function ei(e){return e?.src?u(Ne,{className:"pb-3 mr-auto",image:e}):null}const ti={XXL:"gap-12",XL:"gap-10",L:"gap-8",M:"gap-4",S:"gap-2",XS:"gap-1","":""},ni={stretch:"items-stretch",left:"items-start",center:"items-center",right:"items-end"},ii=g((({className:e="",gap:t="",align:n="stretch",isPadding:i=!1,isInnerPadding:r=!0,version:a="transparent",isTheme:l=!1,...s})=>{const o=r?"":"!p-0";return u(De,{className:y("flex flex-col [&>*]:max-w-full",i?"p-12":"",ti[t],n&&ni[n],e),version:a,isTheme:l,...s,children:kt({...s,renderProps:(e,t)=>vt(e,t,{className:o})})})}));ii.childrenTypes=[];const ri={ComparisonTable:$e,Footer:Jt,Header:rn,Headline:sn,LinkDocs:mn,LinkList:ct,MobileAppTile:xt,ProductBlock:Pn,StepsBlock:En,TariffsTable:Kn,TextBlock:Zn,Placeholder:bn,RollupItem:It,VerticalLayout:ii};const ai=["Header","Footer"],li=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function si(e=globalThis){const t=s(new Map);r((()=>Le.subscribe("intersection",(({block:e,intersection:n})=>{t.current&&t.current.set(e,n)}))),[]),r((()=>{const n=((e,t=600)=>{let n;const i=(...r)=>{i.dispose(),n=setTimeout((()=>{e(...r)}),t)};return i.dispose=()=>{n&&clearTimeout(n)},i})((()=>{!function(e){const t=`#${n=e?.anchor,n?.replace("#","")||""}`;var n;globalThis.location?.hash!==t&&globalThis.history?.replaceState(globalThis.history?.state,"",t)}(globalThis.scrollY>3*globalThis.innerHeight/4?function(e){const t=e.filter((([e])=>!ai.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[n]=t.length>0?O(li)(t):[];return n}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",n),()=>{n.dispose(),e.removeEventListener("scroll",n)}}),[e])}const oi=h();const ci=g((({className:e,onClick:t,ariaLabel:n})=>u("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:di()}))),di=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[u("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"}),u("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"})]})},mi=g((({className:e=""})=>{const t=function(e){const[t,n]=i(0);return r((()=>{(async()=>{const[t]=await oi.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:a((async()=>{n(await oi.like(e))}),[e]),dislike:a((async()=>{n(await oi.dislike(e))}),[e])}}(K().pathname);return p("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e}`,children:[u(ci,{onClick:Y(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(ci,{onClick:Y(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),hi=g((e=>{const{className:t="",blocksRegistry:n,blockDecorator:i,data:r={}}=e,{style:a,blocks:l,slots:s,likeControl:o,colorPalette:c="pc"}=r,d={key:"",page:r,blocksRegistry:n,blockDecorator:i,parent:r};si();const[m,{setTrue:h,setFalse:g}]=Ze();return Fe({onOpen:h,onClose:g}),p("section",{className:y("relative",a,t,m?"overflow-hidden h-screen":""),"data-theme":c,children:[s?.header?u("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:wt(s?.header,{...d,slotName:"header"})}):null,p("div",{className:"container grid grid-cols-12 gap-1",children:[wt(l,d),s?.footer?wt(s?.footer,{...d,slotName:"footer"}):null]}),o?u("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:u(mi,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null]})}));hi.childrenTypes=[],hi.slots=()=>["header","footer"];e.Blocks=ri,e.ContentPage=hi,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=h,e.handlerDecorator=Y,e.joinList=function(e){return t=>t.reduce(((t,n,i)=>t.length?t.concat({...e,key:i},n):[n]),[])},e.packageVersion="0.10.2",e.projectSettings=c,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=U,e.useRouter=K,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";let t;const n=e=>(...n)=>t[e](...n),i=n("useState"),r=n("useEffect"),a=n("useCallback"),l=n("useMemo"),s=n("useRef");const o={PROD_BRANCH:"master"},c=new class{_=o;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||o.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get FOOTER(){return this._.FOOTER}get CHAT_BOT(){return this._.CHAT_BOT}get CDN(){return d(this._.CDN)}get BASE_PATH(){return d(this._.BASE_PATH)}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},d=e=>e&&!e.endsWith("/")?`${e}/`:e,m="likesToken";function h(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(m)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage?.setItem(m,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:i}=await e.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}}}}const u=(...e)=>globalThis._uni._jsx(...e),p=(...e)=>globalThis._uni._jsxs(...e),g=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:b(e)),t._tmpl},b=e=>{function t(t,n){const{children:i,...r}=t||{},a=n?.slots?.default,l=i||a&&a();return e(Object.assign(r,l&&{children:l}),n)}return t.inheritAttrs=!1,t},x={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},f=g((e=>{const{className:t,headingType:n="h3",title:i,as:r="h3"}=e;return u(r,{className:`font-sans font-medium m-0 ${x[n]} ${t||""}`,children:i})})),y=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),v=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`});function N(e,{sensitivity:t,rootRef:n}={}){const i=s(null),a=l((()=>({threshold:w(t),root:n?.current})),[t,n?.current]);return r((()=>{if(!i.current)return;const t=new IntersectionObserver(e,a);return t.observe(i.current),()=>{t.disconnect()}}),[e,a]),i}function w(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,n)=>Math.min(n/t)),1).concat(1)}const k=g((({className:e="",style:t,idx:n,activeIndex:i,observerOptions:r,children:l,onIntersection:s})=>{const o=N(a((e=>{e.length&&s&&s(n||0,e[e.length-1])}),[s,n]),r);return u("div",{className:`inline-block snap-always box-border ${e}`,style:t,"aria-current":Boolean(n===i),ref:o,children:l})})),T=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],C=g((({className:e="",containerRef:t,activeIndex:n,visibleItemCount:i=0,gap:r=0,padding:l=0,listType:o="horizontal-list",snapAlign:c="snap-center",minHeight:d,children:m,onVisibleItemsChange:h,onVisibleIndicesChange:p})=>{const g={sensitivity:1,rootRef:t},b=s([]),x=a(((e,t)=>{const n=[...b.current||[]];n[e]=t,b.current=n,h&&h(n),p&&p(_(n))}),[h,p]),f=i>0?r*Number(i)-1:0,N="vertical-list"===o,w="horizontal-list"===o,C={...w?S(l,f):{},...N?v(d):{},gap:`${r}px`};return u("div",{className:y("box-border overflow-auto no-scrollbar",o,e),style:C,ref:t,children:(I=(e,t)=>u(k,{className:y(c,i?T[i-1]:"",N?"h-full":""),style:w?S(l/4):{},activeIndex:n,idx:t,observerOptions:g,onIntersection:x,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(I):I(e,0))(m)});var I})),S=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),_=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),I={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},$={"horizontal-list":"w-6","vertical-list":"h-6"},M=g((({containerRef:e,activeIndex:t,dotCount:n=0,listType:i="horizontal-list",version:r})=>n?u("div",{className:y("flex gap-2",I[i],r?"group":""),...r?{"data-ver":r}:{},children:new Array(n).fill(null).map(((n,r)=>u("div",{className:`cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white ${r===t?$[i]:"w-2 h-2 opacity-30"}`,role:"button","aria-hidden":!0,onClick:()=>(n=>{n!==t&&e?.current&&e.current.children[n]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(r)},String(r))))}):null)),A=e=>e,R=(e=A)=>t=>t.reduceRight(((t,n)=>e(t)>e(n)?t:n)),j=R(),O=(e=A)=>R((t=>-e(t))),P=e=>t=>e.scrollWidth/t,L=e=>(t,n)=>{e.scrollBy({left:n*P(e)(t),behavior:"smooth"})},D=({itemCount:e,isCyclic:t,onVisibleIndicesChange:n})=>{const r=s(null),[l,o]=i([]),c=a((e=>{o((t=>{return(n=t)===(i=e)||Boolean(n&&i&&n?.length===i?.length&&n.every(((e,t)=>e===i[t])))?t:e;var n,i})),n&&n(e)}),[e]),[d,m]=l.length?[O()(l),R()(l)]:[-1,-1],h=d>0,u=m<e-1,p=a((()=>{var n;r.current&&(t&&!h?(n=r.current).scrollTo({left:n.scrollWidth,behavior:"smooth"}):L(r.current)(e,-1))}),[t,e,h]),g=a((()=>{r.current&&(t&&!u?r.current.scrollTo({left:0,behavior:"smooth"}):L(r.current)(e,1))}),[e,t,u]);return[r,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]},B=g((({className:e="",gap:t=14,padding:n=16,showDots:i=!0,minHeight:r,children:a,onVisibleIndicesChange:l,listType:s="horizontal-list",version:o})=>{const c=Array.isArray(a)?a.length:0,[d,m]=D({itemCount:c,onVisibleIndicesChange:l}),[h]=m.visibleIndicesRange;return p("div",{className:y(e,"vertical-list"===s?"relative h-full":""),children:[u(C,{containerRef:d,activeIndex:h,visibleItemCount:1,gap:t,padding:n,onVisibleIndicesChange:m.handleVisibleIndicesChange,listType:s,minHeight:r,children:a}),i?u(M,{containerRef:d,activeIndex:h,dotCount:c,listType:s,version:o}):null]})}));class E{subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){e in this.subjectsStateMap&&(this.subjectsStateMap[e]=t),this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const V=new E,z=(e="")=>({open:t=>V.fire("dialog",{type:"open",id:e,message:t}),close:()=>V.fire("dialog",{type:"close"})}),F=e=>Boolean(e?.includes(":")),H=(e,t)=>Boolean(e&&!F(e)&&(!t||"_self"===t)),J=e=>(e||"").replace(/\?.*/,"").replace(/\/$/,""),U=(...e)=>e.filter(Boolean).join("/").replace(/\/+/g,"/");var X=Object.freeze({__proto__:null,isURL:F,isLocalURL:H,isHash:e=>Boolean(e?.startsWith("#")),withoutQuery:J,joinPath:U});const W=e=>(t,n=c.BASE_PATH)=>{if(!t||F(t)||G(t,c.CDN))return t;const i=t.startsWith("/");return U(G(t,n)?"":n,i?"/":e.pathname?.split("/").slice(0,-1).join("/"),t)},G=(e,t)=>t&&e&&e.startsWith(t),Y=(e,t)=>Y._impl(e,t);function K(){return K._impl()}function Q(e={}){const{isRemote:t,basePath:n}=e,i=K(),{close:r}=z();return e=>({...e,href:t?e.href:W(i)(e.href,n),"aria-label":e.text,onClick:Y(a(e),e)});function a({href:e,target:n,onClick:a}){return l=>{a&&a(l),e&&!t&&H(e,n)&&(r(),l?.preventDefault(),i.push(e))}}}Y._impl=e=>e,Y.setup=e=>{Y._impl=e},K._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),K.setup=e=>{K._impl=e};const q={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active",white:"text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main",link:"",transparent:"",gray:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active","":""},Z="bg-main-divider text-main-disabled",ee={primary:Z,secondary:Z,white:Z,link:"",transparent:"",gray:Z,"":""},te="text-center font-sans select-none",ne={primary:"group-hover/btn:brightness-0 group-hover/btn:invert",secondary:"group-hover/btn:brightness-0 group-hover/btn:invert",white:"group-hover/btn:brightness-0 group-hover/btn:invert",link:"",transparent:"",gray:"group-hover/btn:brightness-0 group-hover/btn:invert","":""},ie=g((e=>{const{text:t,aboveText:n,appendLeft:i,appendRight:r,version:a="primary"}=e;return p("div",{className:y(re(e),"flex gap-2"),children:[i?u("div",{className:ne[a],children:i}):null,ae(e)?p("div",{children:[n?u("div",{className:"text-xs-light text-left",children:n}):null,u("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?u("div",{className:ne[a],children:r}):null]})})),re=e=>{const{version:t,aboveText:n,rounded:i}=e;if("link"===t)return"";const r=""+(n?"py-2.5 px-7":"py-4 px-4");return["group/btn items-center justify-center",ae(e)?r:"h-12 w-12",i?"rounded-full":""].join(" ")},ae=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),le=({className:e,rounded:t,version:n})=>["inline-block",te,n?ee[n]:"",t?"rounded-full":"rounded-md",e].join(" "),se=({className:e,rounded:t,version:n})=>[te,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit",n?q[n]:"",t?"rounded-full":"rounded-md",e].join(" "),oe=g((({disabled:e,children:t,...n})=>{const i=Q()(n),r=t??u(ie,{...i});return u(e?de:ce,{...i,children:r})})),ce=g((({className:e="",href:t,rel:n,target:i,ariaLabel:r,version:a,rounded:l,onClick:s,children:o})=>u("a",{className:se({className:e,version:a,rounded:l}),href:t,rel:n,target:i,"aria-label":r,role:t?"link":"button",onClick:s,children:o}))),de=g((({className:e,ariaLabel:t,version:n,rounded:i,children:r})=>u("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:le({className:e,rounded:i,version:n}),children:r}))),me={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},he=g((({className:e="",imageClassName:t="",name:n="",alt:i=`Иконка ${n}`,title:r=i,iconVersion:a="color",...l})=>{const s=K(),o=W(s)(U(c.CDN,"/icons",`${n}.svg`));return"normal"!==a?u(pe,{className:e,children:p("svg",{className:y(ue(l.width),me[a],"white"===a?"invert":"",t),...l,"aria-hidden":"true",children:[r?u("title",{children:r}):null,i?u("desc",{children:i}):null,u("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]})}):(e.includes("h-")||(l.style={height:`${l.height}px`}),u("img",{className:e,src:o,alt:i,title:r,"aria-hidden":"true",...l}))})),ue=e=>e?"":"w-full h-full",pe=g((({className:e,children:t})=>e?u("div",{className:e,children:t}):t)),ge=(e,t)=>e?.media&&t?.media?e.media-t.media:0,be=g((({className:e="",image:t,imageClassName:n="",isMobile:i=!1,pathPrefix:r})=>{const a=K();return p("picture",{className:`${i?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.filter((e=>e?.src)).sort(ge).map((({src:e,format:n,media:i},l)=>u("source",{srcSet:fe(a,r)(e),type:ye(n),media:i?`(max-width: ${i}px)`:"",...t.size},`${l}_${e}`))):null,t?.src?xe({...t,src:fe(a,r)(t.src)},n,i):null]})})),xe=(e,t="",n=!1)=>{const i={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,l=n?"m-auto":"m-0";return u("img",{src:e.src,className:`${l} ${t}`,alt:a,title:r,style:i,...e.size})},fe=(e,t)=>n=>n&&!F(n)?W(e)(U(t,n)):n,ye=e=>e?`image/${String(e)}`:void 0,ve=g((({className:e="",image:t,imageClassName:n="",isMobile:i,pathPrefix:r,...a})=>t?.src||t?.icon?t.icon?u(he,{className:e,imageClassName:n,iconVersion:t?.iconVersion,name:t.icon,...a}):u(be,{className:e,imageClassName:n,image:t,isMobile:i,pathPrefix:r}):null)),Ne=g((e=>u(ve,{...e,isMobile:!0}))),we=(e=!1)=>e?"text-white":"",ke=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Te=g((({icon:e,image:t,title:n,subtitle:i,isFillGradient:r})=>p("div",{role:"columnheader",children:[e?u(Ne,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&u("div",{className:"mb-3.5",children:u(Ne,{image:t})}),n?u(f,{headingType:"h4",className:we(r),title:n}):null,i?u("div",{className:ke(r),children:i}):null]}))),Ce=g((({cell:e,rowHeader:t,isFillGradient:n=!1})=>u("div",{className:"box-border flex flex-col",role:"cell",children:u("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(Se(n,t))})}))),Se=(e,t)=>({label:n,description:i},r)=>p("div",{className:"flex justify-between text-s py-3.5",children:[u("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),p("div",{className:"basis-1/2",children:[n?u("div",{className:"text-right "+(e?"text-white":""),children:n}):null,i?u("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:i}):null]})]},String(r)),_e=g((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:i,showRow:r,onToggleColumn:a})=>{const l=t?.slice(0,r?t.length:n),s=i?"secondary":"primary";return p("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${i?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[u(Te,{...e,isFillGradient:i}),l?.length?l.map((({rowHeader:e,cell:t},n)=>u(Ce,{cell:t,rowHeader:e,isFillGradient:i},String(n)))):null,r&&e?.link?u(oe,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Ie({onToggleColumn:a,isFillGradient:i,showRow:r})]})})),Ie=({onToggleColumn:e,isFillGradient:t,showRow:n})=>u("div",{className:"mt-5",role:"cell",children:u("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),$e=g((e=>{const{className:t,title:n}=e;return p("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?u(f,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,u("div",{role:"table",children:u(Me,{...e})})]})})),Me=g((({columns:e=[],rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:r,orientation:l,...s})=>{const[o,c]=i(new Array(e.length).fill(!r)),d=a((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),m=a((()=>c((e=>new Array(e.length).fill(!1)))),[]),h=e?.map((({data:e,header:i},a)=>{return u(_e,{visibleRowLength:r,showRow:o[a],header:i,columnData:(l=e,l?.map(((e,n)=>({cell:e,rowHeader:t?.[n]?.title})))),isFillGradient:0===a&&n,onToggleColumn:()=>d(a),...s},String(a));var l}));return"horizontal"===l?u(B,{onVisibleIndicesChange:m,children:h}):h})),Ae=new Map;function Re(e,t,{fallback:n}={}){const a=l((()=>je(e)),[e]),[s,o]=i(),[c,d]=i(),m=e=>{o(e),d(void 0)},h=e=>{o(void 0),d(e)};r((()=>{if(!a.every((e=>null===e)))try{const e=t(...a);"then"in e?(e=>{e.then((e=>Ae.get(a)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...a]);const u=a[0],p=n&&"string"==typeof u&&n[u];return{data:!s&&p?p:s,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function je(e){return e?Array.isArray(e)?e:e instanceof Function?je(e()):[e]:[e]}async function Oe(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function Pe(e,t={}){const{data:n}=Re(`/wcms-resources/${e}.json`,Oe,{fallback:t});return n||{}}const Le=new E;const De={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white",gray:"bg-main-divider text-primary-text",transparent:"bg-transparent text-primary-text","":""},Be=g((({className:e="",version:t="primary",isTheme:n=!0,block:l,tag:s="section",role:o,children:c})=>{const d=s,m=function(e){return N(a((t=>{if(!e||!t?.length)return;const n=t[t.length-1];Le.fire("intersection",{block:e,intersection:n})}),[e]),{sensitivity:1})}(l),[h,p]=i(!1);return r((()=>V.subscribe("tab",(e=>{p(Boolean(e.label&&l?.labels?.length&&!l.labels.includes(e.label)))}))),[l]),u(d,{className:y(Ee(Boolean(t&&n)),De[t],h?"hidden":"",e),...t&&n?{"data-ver":t}:{},...l?.anchor?{id:l.anchor,ref:m}:{},role:o,children:c})})),Ee=e=>e?"group":"",Ve=g((({className:e,onClick:t})=>u("button",{className:y("visible peer-placeholder-shown:invisible w-6 h-6 p-1 bg-transparent border-none",e),onClick:t,title:"Закрыть",children:u(Ne,{image:{icon:"CloseIcon"},width:"24",height:"24"})})));function ze(e){throw new Error(e)}function Fe({onOpen:e,onClose:t}={}){r((()=>V.subscribe("dialog",(n=>{switch(n.type){case"open":e&&e(n);break;case"close":t&&t();break;default:ze(n)}}))),[e,t])}function He(e,...t){return e.map(((e,n)=>[e,...t.map((e=>e[n]))]))}const Je=e=>t=>{if(e===t)return 1;if(!e||!t)return 0;const{m:n,s1Matches:i,s2Matches:r}=function(e,t){const n=Math.max(0,Math.floor(Math.max(e.length,t.length)/2)-1),i=new Array(e.length),r=new Array(t.length);let a=0;for(let l=0;l<e.length;l++){const s=Math.max(0,l-n),o=Math.min(l+n,t.length-1);for(let n=s;n<=o;n++)i[l]||r[n]||e[l]!==t[n]||(a++,i[l]=!0,r[n]=!0)}return{m:a,s1Matches:i,s2Matches:r}}(e,t);if(0===n)return 0;const a=function(e,t,{s1Matches:n,s2Matches:i}){let r=0;for(let a=0,l=0;a<e.length;a++){if(!n[a])continue;let s=l;for(;s<t.length;s++)if(i[s]){l=s+1;break}e[a]!==t[s]&&r++}return r}(e,t,{s1Matches:i,s2Matches:r}),l=(n/e.length+n/t.length+(n-a/2)/n)/3,s=l>.7?.1*function(e,t){let n=0;for(;e[n]===t[n]&&n<4;)n++;return n}(e,t):0;return l+s*(1-l)};const Ue=(e,t)=>(n,i)=>{for(const[r,a]of i)n.set(r,e(n.get(r)||t,a));return n},Xe=e=>e.toLowerCase().split(/[^0-9a-zа-я-]+/).filter((e=>e.length>=3&&!/[0-9a-z]/.test(e))),We=e=>t=>e.map((([e,n])=>[Je(t)(e),n])).filter((([e])=>e>=.8)).map((([e,t])=>Ye(t,e))).reduce(Ue(Math.max,0),new Map),Ge=e=>t=>{return He(t,t.map((({title:e})=>e)).map((e=>t=>{const n=Xe(t||"");return n.length?((e=[])=>e.reduce(((e,t)=>e+t),0))(e.map((e=>j(n.map(Je(e)))))):0})(e))).sort((i=([,e])=>e,n=(e,t)=>i(e)-i(t),(e,t)=>-n(e,t))).map((([e])=>e));var n,i},Ye=(e,t)=>new Map(e.map((e=>[e,t]))),Ke=({basePathList:e=["/"],initialQuery:t="",wasOpened:n})=>{const[a,s]=i(t||"");r((()=>{null!=t&&s(t)}),[t]);const o=l((()=>e.map((e=>n?e:null))),[n,...e]),{data:c}=Re(o,Qe),[d,m]=i(null);return((e,t,n=300)=>{r((()=>{const t=setTimeout(e,n);return()=>{clearTimeout(t)}}),t)})((()=>{c&&m(c.map((e=>t=>{const{corpus:n,dictionary:i}=t||{};if(!(e&&n?.length&&i&&Object.keys(i).length))return[];const r=Xe(e);if(!r.length)return[];const a=Object.entries(i),l=[...r.map(We(a)).reduce(Ue(((e,t)=>e+t),0),new Map).entries()].filter((([,e])=>e>=.799*r.length)).map((([e])=>n[e]));return Ge(r)(l)})(a)))}),[c,a]),[d,{value:a,onChange:s}]},Qe=async(...e)=>(await Promise.allSettled(e.map((e=>async function(e,t){try{return e?await Oe(e,t):null}catch(e){console.error(e)}return null}(U(e,"/","search.index.json")))))).map((e=>"fulfilled"===e.status?e.value:{})),qe=g((({className:e,isOpened:t,head:n,children:i,onClose:a})=>(r((()=>{const e=({key:e})=>{"Escape"===e&&a&&a()};return globalThis.document?.addEventListener("keydown",e),()=>{globalThis.document?.removeEventListener("keydown",e)}}),[a]),t?u("div",{className:y("fixed inset-0 bg-white text-l-light z-50 overflow-x-hidden overflow-y-scroll no-scrollbar",e),role:"dialog",children:p("div",{className:"relative container pb-12 min-h-full",children:[p("div",{className:"sticky bg-white pt-6 top-0",children:[u(Ve,{className:"absolute top-3 -right-6",onClick:a}),n]}),i]})}):null)));function Ze(e=!1){const[t,n]=i(e),r=a((()=>n(!0)),[]),l=a((()=>n(!1)),[]),s=a((()=>n((e=>!e))),[]);return[t,{setValue:n,setTrue:r,setFalse:l,toggle:s}]}const et=g((({className:e,topItems:t})=>{const n=Q({isRemote:!0});return u("div",{className:y("flex items-start justify-between",e),children:t?.map(n).map(tt)})})),tt=(e,t)=>{const{text:n,items:i,href:r,target:a,onClick:l}=e;return p("div",{className:"flex flex-col gap-3.5 w-1/4",children:[u("a",{className:"leading-5 text-l text-primary-text hover:text-primary-main no-underline",href:r,target:a||"_self",onClick:l,children:n||`Раздел ${t}`}),i?.map(((e,t)=>u(nt,{...e,basePath:r,index:t},String(t))))]},String(t))},nt=g((({text:e,index:t,basePath:n,...i})=>{const r=Q({isRemote:!(!c.BASE_PATH||!n)&&!c.BASE_PATH.startsWith(n)}),{href:a,target:l,onClick:s}=r(i);return u("a",{className:y("text-l-light text-secondary-text hover:text-primary-main no-underline","overflow-x-hidden overflow-ellipsis whitespace-nowrap"),href:a,target:l||"_self",onClick:s,children:e||`Раздел ${t}`})})),it=g((({className:e,isMobile:t,value:n,autoFocus:i,onChange:r,onFocus:l})=>{const s=a((e=>{r&&r(e.target?.value||"")}),[r]);return p("div",{className:y("font-sans relative",e),role:"form",children:[u("div",{className:"absolute h-full flex items-center pl-4 pointer-events-none",children:u(Ne,{image:{icon:"LoupeIcon"},width:"24",height:"24"})}),u("input",{className:y("h-12 pl-12 w-full text-l text-black outline-none box-border","border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text",t?"":"h-full"),value:n,type:"text",name:"search-bar-input",placeholder:"Поиск по сайту",autoFocus:i,onChange:s,onFocus:l})]})})),rt="search";g((({topItems:e})=>{const t=function(e){const[t,{setTrue:n,setFalse:r}]=Ze(),[l,o]=i({id:e}),c=s(t);c.current||=t,Fe({onOpen:a((t=>{t.id===e?(o(t),n()):r()}),[e]),onClose:r});const d=a((()=>{r(),V.fire("dialog",{type:"close"})}),[]);return{...l,isOpened:t,wasOpened:c.current,onClose:d}}(rt),n=e?.map((e=>e.href||"/")),[o,c]=Ke({basePathList:n,initialQuery:t.message,wasOpened:t.wasOpened}),d=l((()=>at(e)(o)),[e,o]);return r((()=>function(e){for(const t of e.filter((({items:e})=>e?.length)))console.group(t.text),console.table(t.items,["text","href"]),console.groupEnd()}(d)),[d]),u(qe,{...t,head:u(it,{className:"my-5",autoFocus:!0,...c}),children:u(et,{topItems:d})})}));const at=e=>t=>e?.length&&t?.length?He(e,t).map((([e,t])=>({...e,items:t?.map((({title:e,uri:t})=>({text:e,href:U("/",t)})))}))):[];const lt=g((({className:e,isMobile:t})=>{const[n,r]=i(""),l=a((()=>r("")),[]);Fe({onClose:l});const{open:s}=z(rt),o=a((e=>{r(e),st(e)&&s(e)}),[]);return p("div",{className:e,children:[u(it,{isMobile:t,value:n,onChange:o}),t?u(Ve,{className:"absolute top-2 right-3",onClick:l}):null]})})),st=e=>e&&e.length>=3,ot=g((e=>u(lt,{...e,isMobile:!0}))),ct=g((({className:e="",documents:t,...n})=>u(Be,{className:`mt-2.5 ${e}`,...n,children:u("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?dt(t):null})}))),dt=e=>e.map(((e,t)=>{const{text:n,...i}=e;return u("li",{className:"mb-4 list-none",children:u("a",{className:"hover:text-primary-main",role:"link",...i,children:n||null})},`list_item_${String(t)}`)})),mt={"bg-white":"color",transparent:"white"},ht={"bg-white":"text-primary-main",transparent:"text-white"},ut=(e,t,n)=>u(Ne,t?.src?{image:t,className:ht[e],width:n?.width,height:n?.height,pathPrefix:"/wcms-resources/"}:{image:{icon:t?.icon||"LogoIcon",iconVersion:mt[e]},className:ht[e],width:n?.width,height:n?.height}),pt={"bg-white":"text-primary-text",transparent:"text-white"},gt=(e,t,n)=>u("span",{className:`${pt[t]} ml-2.5 font-medium ${n||""}`,children:e||"Россельхозбанк"}),bt=g((({bgColor:e="bg-white",children:t,className:n="",href:i,logo:r,showTitle:a=!0,targetBlank:l})=>p("a",{className:`inline-flex items-center font-sans no-underline ${n}`,href:i||"https://rshb.ru/",target:l?"_blank":"_self","aria-label":r?.title||"Россельхозбанк",children:[ut(e,r?.image,{width:"34",height:"34"}),a?gt(t||r?.title,e,"text-s"):null]}))),xt=g((({className:e="",title:t="Мобильное приложение",description:n,href:i="#"})=>u("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:i?p("div",{className:"flex",children:[u("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:u(bt,{className:"w-8",bgColor:"transparent",showTitle:!0})}),p("a",{href:i,target:"_blank",className:"flex flex-col justify-center pl-3",children:[u("div",{className:"text-s font-medium mb-[3px]",children:t}),u("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),ft=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),yt=[];function vt(e,t,{className:n,...i}={}){const{key:r,blockDecorator:a=ft,blocksRegistry:l={},ancestors:s=yt}=t,{type:o}=e;o&&o in l||console.warn(`No block with "${o}" is registered`);const c=o&&l[o];return a({blockClassName:y("scroll-mt-12",n,e.style||"col-span-12"),block:e,ancestors:s,render:({block:n,blockClassName:a})=>{const{content:l}=n;return c?u(c,{className:a,block:e,options:t,...l,...i},r):null}},r)}const Nt=[],wt=(e,{key:t,ancestors:n=Nt,slotName:i=null,renderProps:r=vt,...a})=>(e||[]).map(((e,l)=>r(e,{...a,key:`${t||e.type}-${l}`,ancestors:a.parent?[...n||Nt,[a.parent,i]]:n})));function kt({children:e,block:t,options:n,renderProps:i}){return e||(t&&n?wt(t.blocks,{...n,parent:t,renderProps:i}):null)}const Tt=g((({className:e="",label:t,icon:n,dataTheme:i="",disabled:r=!1,onClick:a})=>p("button",{className:y("flex justify-center w-full px-0 py-5 border border-transparent outline-none focus:border-primary-text",r?"bg-main-divider text-main-disabled hover:bg-main-divider":"bg-primary-main text-white hover:bg-primary-hove",e),onClick:a,disabled:r,"data-theme":i,children:[u("span",{className:"text-h4 pr-3",children:t}),n?u(Ne,{image:{icon:n,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20"}):null]}))),Ct=g((({className:e="",isFoldButtonOnTop:t=!1,unfoldedByDefault:n=!1,renderFoldableSection:r,renderFoldButton:l})=>{const[s,o]=i(n),c=a((()=>{o((e=>!e))}),[]),d=r({isUnfolded:s,onToggle:c}),m=l?l({isUnfolded:s,onToggle:c}):null;return p("div",t?{className:e,children:[m,d]}:{className:e,children:[d,m]})})),St=g((({className:e="",isUnfolded:t,children:n})=>{const i=s(null);return r((()=>{i.current&&(i.current.style.maxHeight=t?`${i.current.scrollHeight}px`:"")}),[t,n?.length]),u("div",{ref:i,className:`transition-max-h duration-300 overflow-hidden ${i.current||!t?"max-h-0":""} ${e}`,children:n})})),_t=g((({children:e,...t})=>u("span",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),It=g((({className:e="",label:t="Развернуть",isExpanded:n,isFoldButtonOnTop:i=!0,version:r="primary",...a})=>u(Be,{className:y("border-b border-solid border-main-divider w-full",e),tag:"div",version:"transparent",...a,children:u(Ct,{isFoldButtonOnTop:i,unfoldedByDefault:n,renderFoldableSection:({isUnfolded:e})=>u(St,{className:"flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0",isUnfolded:e,children:kt(a)}),renderFoldButton:({isUnfolded:e,onToggle:n})=>$t({version:r,label:t,isUnfolded:e,onToggle:n})})})));It.childrenTypes={exclude:["RollupItem"]};const $t=({version:e,label:t,isUnfolded:n,onToggle:i,className:r="",primaryIcon:a})=>{const l=t||(n?"Скрыть":"Развернуть");return"primary"===e?Mt({label:l,icon:n?"MinusIcon":"PlusIcon",onToggle:i,className:r,primaryIcon:a}):u(Tt,{label:l,icon:n?"ArrowUpIcon":"ArrowDownIcon",onClick:i})},Mt=({label:e,icon:t,primaryIcon:n,onToggle:i})=>p("button",{className:"border-none bg-transparent flex justify-between text-left w-full text-primary-text group cursor-pointer py-3.5 px-0",onClick:i,children:[p("div",{className:"flex group-hover:text-primary-main",children:[n?u(Ne,{image:n,className:"mr-3 flex-shrink-0",width:"24",height:"24"}):null,u(_t,{size:"text-m-title-xs",font:"font-medium",children:e})]}),u(Ne,{className:"flex-shrink-0",image:{icon:t},width:"24",height:"24"})]}),At=g((({className:e="",items:t,hasButton:n})=>p("div",{className:e,children:[t?.length?t.map(Rt):null,n?u(oe,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),Rt=(e,t)=>{const{type:n,text:i,description:r}=e;return p("div",{className:"mb-4",children:[u("div",{children:jt(n,i)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},jt=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${Ot(t)}`,children:t});case"email":return u("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return u("span",{children:t})}},Ot=e=>e.replaceAll(/\D/g,""),Pt=g((({className:e="",index:t,text:n,...i})=>{const r=Q(),{href:a,target:l,onClick:s}=r(i);return u("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:a,target:l,onClick:s,children:n||`Документ ${t}`})})),Lt=g((({title:e,links:t,className:n=""})=>p("div",{className:n,children:[u("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?u("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>u(Pt,{index:t,className:"text-s",...e},String(t))))}):null]}))),Dt=[{origins:["t.me","telegram.org"],iconMapped:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],iconMapped:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],iconMapped:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],iconMapped:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],iconMapped:{icon:"PlayMarketIcon"},label:"Google Play"},{origins:["youtube.com"],iconMapped:{icon:"YoutubeIcon"},label:"Youtube"}],Bt={default:"w-14 h-14",small:"w-12 h-12"},Et=(e,t)=>e?"":`group/media flex items-center justify-center box-border ${Bt[t]}`,Vt=g((({buttonSize:e="default",rounded:t=!1,icon:n,...i})=>{const{href:r,version:a,text:l=""}=i,{iconMapped:s,label:o}=Dt.find((({origins:e})=>e.some((e=>r?.includes(e)))))||{},c=zt(n)??s;return u(oe,{className:y(t?"rounded-full":"rounded-md","border border-solid hover:border-transparent","group-data-primary:border-main-divider","hover:bg-primary-main hover:text-black","group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover","group-data-gray:border-green",Et(l,e)),"aria-label":o,rel:"noopener noreferrer",target:"_blank",text:l,version:a,...i,children:c&&!l?u(Ne,{image:c,imageClassName:"group-hover/media:text-white",width:"24",height:"24"}):null})})),zt=e=>e?.src||e?.icon?e:void 0,Ft=g((({className:e="",media:t})=>u("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e}`,children:t?.map(((e,t)=>u(Vt,{...e},String(t))))}))),Ht=g((({className:e="",index:t,...n})=>{const i=Q({isRemote:!0}),{href:r,target:a,text:l,onClick:s}=i(n);return u("a",{className:`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:r,target:a,onClick:s,children:l||`Документ ${t}`})})),Jt=g((({className:e="",links:t})=>p("div",{className:e,children:[u("div",{className:"py-6",children:u("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>u(Ht,{index:t,...e},String(t))))}):null]}))),Ut=g((({className:e="",...t})=>{const n=t.options?.page?.fallback,i=Pe(c.SITEMAP||"sitemap",n),{documents:r,relatedEnterprises:a,contacts:l,socialMedia:s,horizontalNavigationTitle:o}=Pe(c.FOOTER||"footer",n);return p(Be,{tag:"footer",className:`px-4 py-[26px] ${e}`,...t,children:[u(At,{className:"overflow-hidden",items:l,hasButton:!0}),u("div",{className:"m-0 p-0",children:i.topItems?.map(((e,t)=>u(It,{label:e?.text,children:u(ct,{documents:e.items})},String(t))))}),u("div",{className:"mt-4",children:i?.dispositions?.map(Xt)}),u(xt,{title:"Мобильное приложение",description:"Загрузить для IOS и Android",...t}),u(ot,{className:"grow"}),u(Ft,{className:"pb-4",media:s}),u(Lt,{title:o,links:a}),u(Jt,{links:r})]})})),Xt=(e,t)=>{const{icon:n,href:i,text:r}=e;return p(oe,{version:"link",href:i,className:"flex text-s mb-4 w-6",children:[n?u(Ne,{className:"pr-1",image:n,width:"24",height:"24"}):null,u("span",{className:"pl-2.5 font-medium text-primary-text",children:r})]},`footer-${t}`)},Wt=e=>({href:t})=>J(F(t)?e.href:e.pathname).startsWith(J(t)),Gt=g((({className:e="",active:t,dataItemName:n,children:i,...r})=>{const a=Q(),{href:l,target:s,text:o,onClick:c}=a(r);return p("a",{className:y("relative inline-block bg-transparent text-center no-underline",e),href:l,target:s,"data-item-name":n,onClick:c,children:[u("span",{className:Yt(t),children:o||i}),t?u("div",{className:"absolute left-0 -bottom-3 w-full h-0.5 bg-primary-main group-data-transparent:bg-transparent"}):null]})})),Yt=(e=!1)=>y("font-sans text-s",e?"text-primary-main":"text-secondary-text hover:text-primary-main","group-data-transparent:text-white group-data-transparent:hover:text-primary-hover"),Kt=864e5;function Qt(e,t,n=globalThis?.localStorage){const i=a((async(...i)=>{const r=`async:${e}`,a=function(e){const{data:t=null,timestamp:n=null}=e?JSON.parse(e):{};return t&&Date.now()-n<Kt?t:void 0}(n.getItem(r));if(a)return a;const l=await t(...i);return n.setItem(r,JSON.stringify({data:l,timestamp:Date.now()})),l}),[e,t]);return Re(e,i)}const qt=()=>{const e=globalThis.localStorage?.getItem("location");try{return e?JSON.parse(e):null}catch(e){return null}},Zt=g((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:l})=>{const[s]=function(e="Москва"){const t=qt(),[n,l]=i(t?.region??{name:e}),{data:s}=Qt("/api/v1/region",Oe);return r((()=>{l(t?.region&&t?.manual?t.region:s||{name:e})}),[s]),[n,a((e=>{globalThis.localStorage?.setItem("location",JSON.stringify({manual:!0,region:e})),l(e)}),[])]}(n);return p("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[u("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:u(Ne,{image:{icon:"CloseIcon"},width:"24",height:"24"})}),p("button",{className:"flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer",children:[u(Ne,{image:{icon:"GeolocationIcon"},width:"20",height:"20",className:"text-primary-main box-border mr-2"}),u(_t,{color:"text-secondary-text",children:s.name})]}),l,u("div",{className:"mb-7",children:e?.map(en)}),u(ot,{className:"grow"})]})})),en=(e,t)=>{const{icon:n,href:i,text:r}=e;return p("a",{href:i,className:"flex text-s mb-4 hover:text-primary-main",children:[n?u(Ne,{className:"text-primary-main pr-1",image:n,width:"24",height:"24"}):null,u("span",{className:"font-medium pl-0.5",children:r})]},`headerSubMenu-${t}`)},tn=g((({onClick:e,bgColor:t,logo:n})=>p("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-12",children:[p("div",{className:"flex items-center",children:[u("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:u(Ne,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24"})}),u(bt,{className:"mr-8",bgColor:t,logo:n})]}),u("button",{className:"text-primary-main group-data-transparent:text-white group-data-transparent:hover:text-primary-hover text-s border-0 bg-transparent",children:"Войти"})]}))),nn={"bg-white":"primary",transparent:"transparent"},rn=g((({bgColor:e="bg-white",version:t=nn[e],...n})=>{const r=K(),l=n.options?.page?.fallback,{topItems:s,dispositions:o,defaultLocation:d,logo:m}=Pe(c.SITEMAP||"sitemap",l),h=s?.find((e=>Wt(c.BASE_PATH?{pathname:c.BASE_PATH}:e))(r)),g=h?.items,b=(e=>(t=[])=>{const n=t?.filter(Wt(e));return n?.length?R((e=>e.href?.length||0))(n):void 0})(r)(g),[x,f]=i(!1),y=a((()=>f((e=>!e))),[]);return p(Be,{tag:"header",version:t,...n,children:[p("div",{className:"container px-4 py-0 box-border",children:[u(tn,{onClick:y,bgColor:e,logo:m}),u("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-12",children:u("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:g?.map(((e,t)=>u(Gt,{className:"mr-8 whitespace-nowrap text-s",active:e===b,...e},String(t))))})})]}),x?u(Zt,{onClick:y,burgerSubMenu:o,defaultLocation:d,children:u("div",{className:"list-none m-0 p-0",children:s?.map(((e,t)=>u(It,{label:e.text,children:u(ct,{documents:e.items})},String(t))))})}):null]})})),an=g((({children:e,...t})=>u("p",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),ln={XXL:{wrapper:"gap-[18px]",title:{headingType:"h0",as:"h1"},descriptionSize:"text-h5"},XL:{wrapper:"gap-4",title:{headingType:"h1",as:"h1"},descriptionSize:"text-xl-light"},L:{wrapper:"gap-4",title:{headingType:"h2",as:"h2"},descriptionSize:"text-xl-light"},M:{wrapper:"gap-3",title:{headingType:"h3",as:"h3"},descriptionSize:"text-xl-light"},S:{wrapper:"gap-2",title:{headingType:"h4",as:"h4"},descriptionSize:"text-xl-light"},XS:{wrapper:"gap-2",title:{headingType:"h5",as:"h5"},descriptionSize:"text-l-light"}},sn=g((({className:e,title:t,description:n,headlineVersion:i="XL",align:r="text-center",as:a,isPadding:l=!0,isTheme:s=!1,version:o="",...c})=>{const d=ln[i];return p(Be,{className:y("flex flex-col",l?"p-12":"",d.wrapper,e),version:o,isTheme:s,...c,children:[t?u(f,{className:y("whitespace-pre-wrap",r),...d?.title,as:a||d?.title.as,title:t}):null,n?u(an,{size:d.descriptionSize,align:r,children:n}):null]})})),on=g((({doc:e,icon:t})=>{const{text:n,fileSize:i,...r}=e;return p("a",{className:"flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main",role:"link",...r,children:[t,n?p(_t,{size:"text-l",font:"font-light",children:[n,u(_t,{color:"text-secondary-text",children:r?.href&&cn(dn(r.href),i)})]}):null]})})),cn=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),dn=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},mn=g((({className:e="",title:t,description:n,icon:i={icon:"DocDownloadIcon",iconVersion:"black"},documents:r,align:a,...l})=>p(Be,{className:y("py-6 px-4",e),...l,children:[u(sn,{isPadding:!1,title:t,description:n,align:a,headlineVersion:"M",as:"h2"}),r?.length?u("div",{className:"mt-5 flex flex-col gap-6",role:"list",children:r.map(((e,t)=>u("div",{role:"listitem",children:u(on,{doc:e,icon:i?u(Ne,{className:"min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md",image:i,width:"24",height:"24"}):null})},String(t))))}):null]}))),hn=e=>{const t="col-span-",n=e?.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function un(e=""){const t=hn(e);return t<=4?"S":t<=8?"M":"L"}function pn(e=""){const t=hn(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function gn(e=""){const t=hn(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const bn=g((({className:e,title:t,description:n="Блок в разработке...",...i})=>p(Be,{className:y("p-9 box-border",e,gn(e),pn(e)),...i,children:[u(sn,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:un(e)}),u("figure",{className:"m-0 min-w-[80%]",children:xn()})]}))),xn=(e=3)=>yn(100,e).map((e=>Math.floor(e))).map(fn),fn=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),yn=(e,t)=>[e].concat(t>0?yn(e/1.618,t-1):[]),vn=(e,{className:t="",buttonClassName:n,isVertical:i}={})=>e?.length&&e.some((e=>e?.text||e?.icon?.icon))?u("div",{className:y("flex",i?"flex-col gap-2":"gap-4",t),children:e.map(Nn(n))}):null,Nn=(e="")=>(t,n)=>{const{text:i,icon:r,iconRight:a,version:l,...s}=t||{},o="secondary"===l?"color":"white",c=r?.iconVersion?r?.iconVersion:o;return i||r?.icon?u(oe,{className:e,appendLeft:wn({...r,iconVersion:c}),appendRight:wn({...a,iconVersion:c}),version:l,text:i,...s},n?String(n):""):null},wn=e=>e?.icon||e?.src?u(Ne,{image:e,width:String(e?.size?.width||24),height:String(24)}):null,kn={L:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4",M:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3",S:"w-1 h-1 min-w-1 min-h-1 mr-2"},Tn=g((({className:e="",isDotted:t=!0,children:n,size:i="M"})=>p("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?u("div",{children:u("div",{className:`rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${kn[i]}`})}):null,u("span",{children:n})]}))),Cn={S:"text-l-light",M:"text-h6",L:"text-h5"},Sn={S:"ml-2",M:"ml-3",L:"ml-4"},_n=g((({className:e="",hasIndent:t,isDotted:n,itemClassName:i="",items:r,listItemSize:a="M"})=>r?.length?u("section",{className:`text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${Cn[a]} ${t?Sn[a]:""} ${e}`,role:"list",children:r.map(((e,t)=>u(Tn,{className:i,isDotted:n,size:a,children:e},String(t))))}):null)),In=g((({className:e="",title:t="",buttons:n,image:i,children:r})=>p("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,p("div",{className:"flex grow w-full justify-between",children:[p("div",{className:"flex flex-col justify-between w-full",children:[u("div",{className:"h-full",children:r}),n?u("div",{className:"mt-auto pt-8",children:n}):null]}),i]})]}))),$n=g((e=>{const{className:t="",icon:n,label:i,description:r,version:a="primary",benefitsVersion:l="normal"}=e;return p("div",{className:`flex gap-5 ${r?"items-start":"items-center"} ${t}`,children:[n?u("div",{className:Mn(a,l),children:u(Ne,{className:"w-6 h-6",image:{...n,iconVersion:n.iconVersion||l}})}):null,p("div",{className:"gap-0.5",children:[i?u("div",{className:"text-h6 text-primary-text group-data-secondary:text-white",children:i}):null,r?u("div",{className:"text-m-light text-secondary-text group-data-secondary:text-white",children:r}):null]})]})}));function Mn(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const An=(e="primary",t="normal")=>({icon:n,label:i,description:r},a)=>u($n,{icon:n,label:i,description:r,version:e,benefitsVersion:t},String(a)),Rn=g((({className:e="",headlineVersion:t="L",benefits:n,benefitsVersion:i="normal",buttons:r,image:a,items:l,isDotted:s=!0,label:o,title:c,description:d,...m})=>p(Be,{className:`w-full ${e}`,...m,children:[p("div",{children:[o?On(o):null,u(sn,{className:"!p-0 max-w-[600px]",title:c,description:d,headlineVersion:t,align:"text-left"}),p(In,{buttons:vn(r,{className:"mt-5",isVertical:!0}),children:[n?.filter((e=>e.label))?.length?u("div",{className:"mt-3",children:n.map(An("primary",i))}):null,l?.length?u(_n,{className:"mt-3 text-m",items:l,isDotted:s}):null]})]}),jn(a)]})));function jn(e){return e?.src?u(Ne,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const On=e=>u("div",{className:"w-fit px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid border-secondary-hover",children:u(_t,{color:"text-primary-main group-data-secondary:text-white/80",children:e})}),Pn=g((e=>{const{className:t="",...n}=e;return u(Be,{className:`px-4 py-6 ${t}`,...n,children:u(Rn,{...e})})})),Ln=g((e=>{const{__html:t="",richVersion:n=""}=e;return u("div",{className:y(n,"md-container"),dangerouslySetInnerHTML:{__html:t}})})),Dn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},Bn={normal:"min-h-[70px]",small:"min-h-12"},En={description:"text-white/80 text-l-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text",iconText:"text-white group-data-primary:text-secondary-text group-data-gray:text-secondary-text",iconBackground:"bg-white/30 group-data-primary:bg-main-divider",iconConnector:"bg-white group-data-primary:bg-secondary-light",dot:"bg-white/80 group-data-primary:bg-secondary-text"},Vn=g((({className:e="",title:t,description:n,showLines:i=!0,steps:r,size:a="normal",version:l="primary",...s})=>p(Be,{className:`box-border px-4 py-6 flex flex-col ${e}`,version:l,...s,children:[t?u(f,{headingType:"h3",className:"text-center",title:t}):null,n?u("p",{className:`text-m-light text-center ${En.description} ${t?"mt-2":""}`,children:n}):null,r?.length?u("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:u("div",{className:"flex flex-col justify-between gap-x-[101px]",children:r.map(zn(a,l,i))})}):null]}))),zn=(e,t,n)=>(i,r,a)=>{const{type:l}=i;if("default"!==l&&"rte"!==l)return null;switch(l){case"default":return Fn(e,t,n)(i,r,a);case"rte":return u(Ln,{__html:i.__html});default:ze(i)}},Fn=(e,t,n)=>(i,r,a)=>{const l=a.length-1===r,s="normal"===e?"ml-[34px]":"ml-6";return u("div",{children:p("div",{className:"flex flex-row text-center relative",children:[p("div",{className:"overflow-hidden flex-shrink-0",children:[Hn(e,t)(i,r),l?null:u("div",{className:`min-h-8 h-full w-0.5 ${n?En.iconConnector:""} ${s}`})]}),p("div",{className:`flex flex-col justify-center h-fit ${Bn[e]}`,children:[i.label?u("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:i.label}):null,i.description?u("div",{className:`text-s ${En.description} text-left`,children:i.description}):null]})]})},String(r))},Hn=(e,t)=>(n,i)=>{const r="normal"===e?"38":"27",a="secondary"===t?"white":"color";return u("div",{className:`${Dn[e]} ${En.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:u("span",{className:`font-medium flex self-center ${"normal"===e?"text-m-title":"text-m-title-xs"}`,children:(l=n?.icon,Boolean(l?.icon||l?.src)?u(Ne,{image:{...n.icon,iconVersion:n.icon?.iconVersion||a},width:r,height:r}):u("span",{children:i+1}))})});var l},Jn={Buttons:({buttons:e})=>vn(e,{className:"mt-3",buttonClassName:"w-12 h-12"}),Img:({image:e})=>e?.src?u(Ne,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>u(_n,{className:"flex flex-col justify-between items-start text-m",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>p("div",{children:[e?u("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?u("div",{className:"text-s text-secondary-text",children:t}):null]})},Un=g((({title:e,icon:t})=>p("div",{className:"flex gap-2.5 mb-2",children:[e?u(f,{headingType:"h3",className:"font-medium",title:e}):null,t?u(Ne,{className:"ml-auto min-w-6",image:t,width:"24",height:"24"}):null]}))),Xn=g((({tile:e,...t})=>p("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[u(Un,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>p("div",{children:[n>0?u("div",{className:"h-5"}):null,Wn(e,t)]},String(n)))):null]})));function Wn(e,t){if(!e||!e.tableCellType||!(e.tableCellType in Jn))return null;const n=Jn[e.tableCellType];return u(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const Gn=g((({tiles:e,...t})=>e?.length?u(B,{...t,children:e.map(((e,n)=>u(Xn,{tile:e,...t},String(n))))}):null)),Yn=g((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>u(Xn,{tile:e,...t},String(n))))}):null)),Kn=g((({className:e,title:t,description:n,tariffsColumns:i,rowHeaders:r,orientation:a="vertical",...l})=>{const s=Qn(i),o=qn(r,s);return p("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?u(f,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?u("div",{className:"mb-5 text-center text-m",children:n}):null,u("vertical"===a?Yn:Gn,{tiles:o,...l})]})})),Qn=e=>e?.[0]?.data?e[0].data:[],qn=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),Zn=g((({title:e,description:t,iconVersion:n,image:i,className:r="",items:a,isDotted:l=!0})=>p("section",{className:`font-sans px-4 py-[18px] flex flex-col bg-white group-data-secondary:bg-primary-main ${r}`,children:["small"===n?u("div",{className:"mb-3",children:u("div",{className:"rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main",children:"i"})}):null,"big"===n?ei(i):null,p("div",{className:"py-0.5 text-secondary-text group-data-secondary:text-white",children:[e?u("div",{className:"text-l font-medium mb-1",children:e}):null,t?u("div",{className:"text-s ",children:t}):null,a?.length?u(_n,{className:"mt-1 text-m",items:a,isDotted:l}):null]})]})));function ei(e){return e?.src?u(Ne,{className:"pb-3 mr-auto",image:e}):null}const ti={XXL:"gap-12",XL:"gap-10",L:"gap-8",M:"gap-4",S:"gap-2",XS:"gap-1","":""},ni={stretch:"items-stretch",left:"items-start",center:"items-center",right:"items-end"},ii=g((({className:e="",gap:t="",align:n="stretch",isPadding:i=!1,isInnerPadding:r=!0,version:a="transparent",isTheme:l=!1,...s})=>{const o=r?"":"!p-0";return u(Be,{className:y("relative","flex flex-col [&>*]:max-w-full",i?"p-12":"",ti[t],n&&ni[n],e),version:a,isTheme:l,...s,children:kt({...s,renderProps:(e,t)=>vt(e,t,{className:o})})})}));ii.childrenTypes=[];const ri={ComparisonTable:$e,Footer:Ut,Header:rn,Headline:sn,LinkDocs:mn,LinkList:ct,MobileAppTile:xt,ProductBlock:Pn,StepsBlock:Vn,TariffsTable:Kn,TextBlock:Zn,Placeholder:bn,RollupItem:It,VerticalLayout:ii};const ai=["Header","Footer"],li=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function si(e=globalThis){const t=s(new Map);r((()=>Le.subscribe("intersection",(({block:e,intersection:n})=>{t.current&&t.current.set(e,n)}))),[]),r((()=>{const n=((e,t=600)=>{let n;const i=(...r)=>{i.dispose(),n=setTimeout((()=>{e(...r)}),t)};return i.dispose=()=>{n&&clearTimeout(n)},i})((()=>{!function(e){const t=`#${n=e?.anchor,n?.replace("#","")||""}`;var n;globalThis.location?.hash!==t&&globalThis.history?.replaceState(globalThis.history?.state,"",t)}(globalThis.scrollY>3*globalThis.innerHeight/4?function(e){const t=e.filter((([e])=>!ai.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[n]=t.length>0?O(li)(t):[];return n}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",n),()=>{n.dispose(),e.removeEventListener("scroll",n)}}),[e])}const oi=h();const ci=g((({className:e,onClick:t,ariaLabel:n})=>u("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:di()}))),di=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[u("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"}),u("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"})]})},mi=g((({className:e=""})=>{const t=function(e){const[t,n]=i(0);return r((()=>{(async()=>{const[t]=await oi.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:a((async()=>{n(await oi.like(e))}),[e]),dislike:a((async()=>{n(await oi.dislike(e))}),[e])}}(K().pathname);return p("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e}`,children:[u(ci,{onClick:Y(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(ci,{onClick:Y(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),hi=g((e=>{const{className:t="",blocksRegistry:n,blockDecorator:i,data:r={}}=e,{style:a,blocks:l,slots:s,likeControl:o,colorPalette:c="pc"}=r,d={key:"",page:r,blocksRegistry:n,blockDecorator:i,parent:r};si();const[m,{setTrue:h,setFalse:g}]=Ze();return Fe({onOpen:h,onClose:g}),p("section",{className:y("relative",a,t,m?"overflow-hidden h-screen":""),"data-theme":c,children:[s?.header?u("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:wt(s?.header,{...d,slotName:"header"})}):null,p("div",{className:"container grid grid-cols-12 gap-1",children:[wt(l,d),s?.footer?wt(s?.footer,{...d,slotName:"footer"}):null]}),o?u("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:u(mi,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null]})}));hi.childrenTypes=[],hi.slots=()=>["header","footer"];e.Blocks=ri,e.ContentPage=hi,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=h,e.handlerDecorator=Y,e.joinList=function(e){return t=>t.reduce(((t,n,i)=>t.length?t.concat({...e,key:i},n):[n]),[])},e.packageVersion="0.10.3",e.projectSettings=c,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=X,e.useRouter=K,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -1,6 +1,6 @@
1
1
  import { BonusCalculatorSourceBookParams } from './useBonusCalculatorParams';
2
2
  import { BusinessDepositCalculatorSourceBookParams } from './useBusinessDepositCalculatorParams';
3
- import { CreditCalculatorSourceBookParams } from './useCreditCalculatorParams';
3
+ import { CreditCalculatorSourceBookRateParams } from './useCreditCalculatorParams';
4
4
  import { DepositCalculatorSourceBookParams } from './useDepositCalculatorParams';
5
5
  export declare const DEFAULT_MIN_SUM = 10000;
6
6
  export declare const DEFAULT_MAX_SUM = 5000000;
@@ -18,7 +18,7 @@ export declare const BUSINESS_OPERATING_MAX_DAYS = 730;
18
18
  export declare const BUSINESS_DEFAULT_DAYS = 90;
19
19
  export declare const MONTHS_IN_YEAR = 12;
20
20
  export declare const MONTHLY_INTEREST_RATE: number;
21
- export declare const DEFAULT_CREDIT_CALCULATOR_PARAMS: CreditCalculatorSourceBookParams;
21
+ export declare const DEFAULT_CREDIT_CALCULATOR_PARAMS: CreditCalculatorSourceBookRateParams;
22
22
  export declare const DEFAULT_TRAVEL_MIN_SUM = 6000;
23
23
  export declare const DEFAULT_REST_MIN_SUM = 6000;
24
24
  export declare const DEFAULT_BONUS_CALCULATOR_PARAMS: BonusCalculatorSourceBookParams;
@@ -1,3 +1,6 @@
1
+ export declare const getLimitRangeByKeys: <MinKey extends string, MaxKey extends string, T extends Record<MinKey | MaxKey, number>>([minKey, maxKey]: [MinKey, MaxKey], limitParams?: T | undefined, rateRows?: T[]) => {
2
+ [x: string]: unknown;
3
+ };
1
4
  export declare const getRangeByKeys: <MinKey extends string, MaxKey extends string, T extends Record<MinKey | MaxKey, number>>([minKey, maxKey]: [MinKey, MaxKey], rows?: T[]) => {
2
5
  [x: string]: unknown;
3
6
  };
@@ -23,6 +23,6 @@ export interface BusinessDepositCalculatorParams extends BusinessDepositCalculat
23
23
  isShowUnknownRate?: boolean;
24
24
  }
25
25
  export declare type BusinessDepositCalculatorData = {
26
- rows: BusinessDepositCalculatorSourceBookParams[];
26
+ rateRows: BusinessDepositCalculatorSourceBookParams[];
27
27
  };
28
28
  export declare const useBusinessDepositCalculatorParams: (userInputParams: BusinessDepositCalculatorUserInputParams, sourceBookDir?: string) => BusinessDepositCalculatorParams;
@@ -5,22 +5,29 @@ export interface CommonCreditParams {
5
5
  isPensionClient: boolean;
6
6
  isStateEmployee: boolean;
7
7
  }
8
- export interface CreditCalculatorSourceBookParams extends CommonCreditParams {
8
+ export interface CreditCalculatorSourceBookRateParams extends CommonCreditParams {
9
9
  minSum: number;
10
10
  maxSum: number;
11
11
  minMonths: number;
12
12
  maxMonths: number;
13
13
  rate: number;
14
14
  }
15
+ export interface CreditCalculatorSourceBookLimitParams extends CommonCreditParams {
16
+ minSum: number;
17
+ maxSum: number;
18
+ minMonths: number;
19
+ maxMonths: number;
20
+ }
15
21
  export interface CreditCalculatorUserInputParams extends CommonCreditParams {
16
22
  isAnnuity: boolean;
17
23
  moneyValue: number;
18
24
  monthsValue: number;
19
25
  }
20
- export interface CreditCalculatorParams extends CreditCalculatorSourceBookParams, CreditCalculatorUserInputParams {
26
+ export interface CreditCalculatorParams extends CreditCalculatorSourceBookRateParams, CreditCalculatorUserInputParams {
21
27
  monthlyPayment: number;
22
28
  }
23
29
  export declare type CreditCalculatorData = {
24
- rows: CreditCalculatorSourceBookParams[];
30
+ rateRows?: CreditCalculatorSourceBookRateParams[];
31
+ limitRows?: CreditCalculatorSourceBookLimitParams[];
25
32
  };
26
33
  export declare const useCreditCalculatorParams: (userInputParams: CreditCalculatorUserInputParams, sourceBookDir?: string, paramsViewSettings?: CreditCalculatorParamsViewSettings) => CreditCalculatorParams;
@@ -21,6 +21,6 @@ export interface DepositCalculatorParams extends DepositCalculatorSourceBookPara
21
21
  finalSum: number;
22
22
  }
23
23
  export declare type DepositCalculatorData = {
24
- rows: DepositCalculatorSourceBookParams[];
24
+ rateRows: DepositCalculatorSourceBookParams[];
25
25
  };
26
26
  export declare const useDepositCalculatorParams: (userInputParams: DepositCalculatorUserInputParams, sourceBookDir?: string, paramsViewSettings?: DepositCalculatorParamsViewSettings) => DepositCalculatorParams;
@@ -2,6 +2,8 @@ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
2
2
  export interface HeaderSecondaryMenuButtonProps extends ImageContent {
3
3
  className?: string;
4
4
  isRounded?: boolean;
5
+ buttonSize?: 'default' | 'large';
6
+ isGrayBg?: boolean;
5
7
  disabled?: boolean;
6
8
  ariaLabel?: string;
7
9
  onClick?: () => void;
@@ -1,5 +1,8 @@
1
1
  import type { LinkProps } from '../../model/LinkProps';
2
+ import type { BlockVersion } from '../../model/BlockVersion';
2
3
  export interface HeaderSubMenuProps {
4
+ version?: BlockVersion;
3
5
  subItems?: LinkProps[];
6
+ internetBankUrl?: string;
4
7
  }
5
8
  export declare const HeaderSubMenu: import("@redneckz/uni-jsx").UNIComponent<HeaderSubMenuProps, any, any>;
@@ -0,0 +1,7 @@
1
+ import type { BlockVersion } from '../../model/BlockVersion';
2
+ interface InternetBankButtonProps {
3
+ version?: BlockVersion;
4
+ internetBankUrl?: string;
5
+ }
6
+ export declare const InternetBankButton: import("@redneckz/uni-jsx").UNIComponent<InternetBankButtonProps, any, any>;
7
+ export {};
@@ -29,4 +29,5 @@ export interface SitemapData {
29
29
  foreignOffices?: ForeignOffice[];
30
30
  defaultLocation?: string;
31
31
  officesLink?: string;
32
+ internetBankUrl?: string;
32
33
  }
@@ -52,6 +52,4 @@ export declare type BackwardButtonProps = ButtonProps & IconProps & {
52
52
  appendLeft?: VNode;
53
53
  /** @title Закругленные углы */
54
54
  rounded?: boolean;
55
- /** @hidden */
56
- asSVG?: boolean;
57
55
  };
@@ -10,8 +10,6 @@ export interface IconCompatibilityFields {
10
10
  width?: string;
11
11
  /** @title Высота */
12
12
  height?: string;
13
- /** @hidden */
14
- asSVG?: boolean;
15
13
  }
16
14
  export declare type IconProps = IconCompatibilityFields & {
17
15
  className?: string;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { MockPoints } from './mockPoints';
3
2
  import ymaps from 'yandex-maps';
3
+ import type { MockPoints } from './mockPoints';
4
4
  export declare const renderSearchField: (points: MockPoints[], yandexMaps: ymaps.Map, updatePointsToRender: (any: MockPoints[] | null) => void) => JSX.Element;
@@ -8,7 +8,7 @@ const Img_1 = require("../../ui-kit/Img/Img");
8
8
  exports.BenefitsBlock = (0, uni_jsx_1.JSX)(({ className = '', title, benefitList, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-12 flex flex-col items-center ${className}`, ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", as: "h2", className: "max-w-[47rem] text-center", title: title })) : null, benefitList?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep) })) : null] })));
9
9
  const renderStep = (benefit, i) => {
10
10
  const description = benefit.description;
11
- return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black", image: benefit.icon, asSVG: true })) : null, benefit?.icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: benefit.icon }) : null, (0, jsx_runtime_1.jsxs)("div", { className: "ml-5 h-full", children: [benefit?.label ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription(description)] })] }, String(i)));
11
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black", image: benefit.icon })) : null, benefit?.icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: benefit.icon }) : null, (0, jsx_runtime_1.jsxs)("div", { className: "ml-5 h-full", children: [benefit?.label ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription(description)] })] }, String(i)));
12
12
  };
13
13
  const renderDescription = (description) => {
14
14
  const benefitType = description?.benefitType || null;
@@ -1 +1 @@
1
- {"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAW9B,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACnD,wBAAC,2BAAY,IAAC,SAAS,EAAE,mCAAmC,SAAS,EAAE,KAAM,IAAI,aAC9E,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,2BAA2B,EAAC,KAAK,EAAE,KAAK,GAAI,CACzF,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,EAAE,MAAM,CAAC,CAA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AA4B,EAAE,EAAE,CAAC,WAAW,EAAE,IAAI,IAAI,IAAI,CAAC;AAEtF,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE;IACzD,MAAM,aAAa,GAAG,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IAEnE,OAAO,WAAW,EAAE,KAAK,IAAI,WAAW,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC1D,+BAAI,SAAS,EAAE,aAAa,YACzB,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,yCAAkC,CAAC,IAA1B,mBAAmB,CAAC,EAAE,CAAU,CAC1C,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC"}
@@ -7,10 +7,10 @@ const Heading_1 = require("../../ui-kit/Heading/Heading");
7
7
  const Img_1 = require("../../ui-kit/Img/Img");
8
8
  exports.BusinessCard = (0, uni_jsx_1.JSX)((props) => {
9
9
  const { title, image, cardItems, button } = props;
10
- return ((0, jsx_runtime_1.jsxs)("div", { className: "border-gray border p-9 w-1/2", children: [image ? ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-center", children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-5", image: image }) : null, image?.icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: image, asSVG: true }) : null] })) : null, title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? (0, jsx_runtime_1.jsx)("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, (0, renderButtonsSection_1.renderButtonsSection)([button], { buttonClassName: 'mt-6' })] }));
10
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "border-gray border p-9 w-1/2", children: [image ? ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-center", children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-5", image: image }) : null, image?.icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: image }) : null] })) : null, title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? (0, jsx_runtime_1.jsx)("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, (0, renderButtonsSection_1.renderButtonsSection)([button], { buttonClassName: 'mt-6' })] }));
11
11
  });
12
12
  const renderItem = (item, key) => {
13
13
  const { icon, text } = item;
14
- return ((0, jsx_runtime_1.jsxs)("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider", asSVG: true })) : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, (0, jsx_runtime_1.jsx)("span", { className: "text-xl-light", children: text })] }, key));
14
+ return ((0, jsx_runtime_1.jsxs)("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider" })) : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, (0, jsx_runtime_1.jsx)("span", { className: "text-xl-light", children: text })] }, key));
15
15
  };
16
16
  //# sourceMappingURL=BusinessCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BusinessCard.js","sourceRoot":"","sources":["../../../src/components/BusinessBlock/BusinessCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,mFAAgF;AAChF,0DAAuD;AACvD,8CAA2C;AAG9B,QAAA,YAAY,GAAG,IAAA,aAAG,EAAoB,CAAC,KAAK,EAAE,EAAE;IAC3D,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,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AAC,CAAC,GAAM,CAAC,CAAC,CAAC,IAAI,EACvF,IAAA,2CAAoB,EAAC,CAAC,MAAM,CAAC,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC,IACxD,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,IAA2B,EAAE,GAAW,EAAE,EAAE;IAC9D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAE5B,OAAO,CACL,gCAAc,SAAS,EAAC,0CAA0C,aAC/D,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CACZ,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,SAAS,EAAC,qDAAqD,GAAG,CACrF,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACxC,iCAAM,SAAS,EAAC,eAAe,YAAE,IAAI,GAAQ,KALtC,GAAG,CAMP,CACN,CAAC;AACJ,CAAC,CAAC"}
@@ -41,7 +41,7 @@ function renderNavButton({ tab, i, isActive, onClick }) {
41
41
  ${btnClassName}`, children: [(0, jsx_runtime_1.jsx)(Img_1.Img, { className: `h-6 w-6 min-w-6 min-h-6 mr-4 ${iconClassName}`, image: {
42
42
  ...tab?.icon,
43
43
  iconVersion: iconVersion ?? activeIconStyle,
44
- }, width: "24", height: "24", asSVG: true }), (0, jsx_runtime_1.jsxs)("div", { className: "border-0", children: [(0, jsx_runtime_1.jsx)("div", { className: `${btnTitleClassName}`, children: tab?.title }), (0, jsx_runtime_1.jsx)("div", { className: `${btnDescClassName}`, children: tab.description })] })] }, String(i)));
44
+ }, width: "24", height: "24" }), (0, jsx_runtime_1.jsxs)("div", { className: "border-0", children: [(0, jsx_runtime_1.jsx)("div", { className: `${btnTitleClassName}`, children: tab?.title }), (0, jsx_runtime_1.jsx)("div", { className: `${btnDescClassName}`, children: tab.description })] })] }, String(i)));
45
45
  }
46
46
  function renderTabs({ activeIndex, tabsNav, slideIndexShift, onClick }) {
47
47
  const CARD_SHIFT = 388;
@@ -1 +1 @@
1
- {"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,yEAAsE;AAEtE,4DAAyD;AACzD,mEAAgE;AAChE,8CAA2C;AAE3C,mEAAgE;AAkBnD,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,cAAc,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACnD,MAAM,OAAO,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,IAAK,EAAoB,CAAC,CAAC;IAC1E,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,CACzC,CAAC,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,eAAe,IAAK,EAAyB,CACvE,CAAC;IACF,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAC1D,MAAM,qBAAqB,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACpF,MAAM,kBAAkB,GAAG,CAAC,CAAC;IAE7B,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAA,yCAAmB,EAAC;QAClD,SAAS,EAAE,cAAc,EAAE,MAAM;QACjC,gBAAgB,EAAE,kBAAkB;KACrC,CAAC,CAAC;IAEH,OAAO,CACL,wBAAC,2BAAY,IAAC,SAAS,EAAE,6CAA6C,SAAS,EAAE,KAAM,IAAI,aACzF,iCAAK,SAAS,EAAC,UAAU,aACtB,OAAO,CAAC,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,GAAG,EAAE,KAAK,EACtB,SAAS,EAAE;QACT,YAAY,EAAE,aAEhB,uBAAC,SAAG,IACF,SAAS,EAAE,gCAAgC,aAAa,EAAE,EAC1D,KAAK,EAAE;oBACL,GAAG,GAAG,EAAE,IAAI;oBACZ,WAAW,EAAE,WAAW,IAAI,eAAe;iBAC5C,EACD,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,EACF,iCAAK,SAAS,EAAC,UAAU,aACvB,gCAAK,SAAS,EAAE,GAAG,iBAAiB,EAAE,YAAG,GAAG,EAAE,KAAK,GAAO,EAC1D,gCAAK,SAAS,EAAE,GAAG,gBAAgB,EAAE,YAAG,GAAG,CAAC,WAAW,GAAO,IAC1D,KAnBD,MAAM,CAAC,CAAC,CAAC,CAoBP,CACV,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,EAAa;IAC/E,MAAM,UAAU,GAAG,GAAG,CAAC;IAEvB,OAAO,CACL,4CACE,gCACE,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,WAAW,GAAG,UAAU,KAAK,EAAE,EAClE,SAAS,EAAC,gFAAgF,YAE1F,gCAAK,SAAS,EAAC,yCAAyC,YACrD,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CACtB,eAAe,CAAC;wBACd,GAAG;wBACH,CAAC;wBACD,QAAQ,EAAE,OAAO,CAAC,CAAC,KAAK,eAAe,CAAC;wBACxC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;qBAC1B,CAAC,CACH,GACG,GACF,EACN,gCAAK,SAAS,EAAC,4BAA4B,GAAG,IAC1C,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACp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,EAAC,IAAI,GACX,EACF,iCAAK,SAAS,EAAC,UAAU,aACvB,gCAAK,SAAS,EAAE,GAAG,iBAAiB,EAAE,YAAG,GAAG,EAAE,KAAK,GAAO,EAC1D,gCAAK,SAAS,EAAE,GAAG,gBAAgB,EAAE,YAAG,GAAG,CAAC,WAAW,GAAO,IAC1D,KAlBD,MAAM,CAAC,CAAC,CAAC,CAmBP,CACV,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,EAAa;IAC/E,MAAM,UAAU,GAAG,GAAG,CAAC;IAEvB,OAAO,CACL,4CACE,gCACE,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,WAAW,GAAG,UAAU,KAAK,EAAE,EAClE,SAAS,EAAC,gFAAgF,YAE1F,gCAAK,SAAS,EAAC,yCAAyC,YACrD,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CACtB,eAAe,CAAC;wBACd,GAAG;wBACH,CAAC;wBACD,QAAQ,EAAE,OAAO,CAAC,CAAC,KAAK,eAAe,CAAC;wBACxC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;qBAC1B,CAAC,CACH,GACG,GACF,EACN,gCAAK,SAAS,EAAC,4BAA4B,GAAG,IAC1C,CACP,CAAC;AACJ,CAAC"}
@@ -5,6 +5,7 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
6
  const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
7
7
  const Checkbox_1 = require("../../ui-kit/Checkbox/Checkbox");
8
+ const clamp_1 = require("../../utils/clamp");
8
9
  const style_1 = require("../../utils/style");
9
10
  const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
10
11
  const constants_1 = require("./constants");
@@ -38,6 +39,10 @@ exports.CreditCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBookD
38
39
  monthsValue,
39
40
  };
40
41
  const calculatorParams = (0, useCreditCalculatorParams_1.useCreditCalculatorParams)(userInputParams, sourceBookDir, paramsViewSettings);
42
+ (0, hooks_1.useEffect)(() => {
43
+ setMoneyValue((0, clamp_1.clamp)(moneyValue, calculatorParams.minSum, calculatorParams.maxSum));
44
+ setMonthsValue((0, clamp_1.clamp)(monthsValue, calculatorParams.minMonths, calculatorParams.maxMonths));
45
+ }, [calculatorParams]);
41
46
  return ((0, jsx_runtime_1.jsxs)("section", { className: (0, style_1.style)('flex justify-between', className), children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[468px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, handleMoneyValue), (0, renderMonthsInput_1.renderMonthsInput)('Срок кредита, месяцев', calculatorParams, handleMonthsValue), (0, jsx_runtime_1.jsx)("div", { className: "mt-7", children: renderCreditParamsForm({
42
47
  ...calculatorParams,
43
48
  ...paramsViewSettings,
@@ -1 +1 @@
1
- {"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,mFAAgF;AAChF,6DAA0D;AAC1D,6CAA0C;AAK1C,iEAA8D;AAC9D,2CAAiE;AACjE,iCAA8B;AAC9B,qDAAkD;AAClD,2DAAwD;AACxD,2DAAwD;AACxD,iEAA8D;AAC9D,2EAAgG;AAMnF,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,EAAE,EAAE;IAC3E,MAAM,CAAC,SAAS,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACrD,MAAM,CAAC,cAAc,EAAE,oBAAoB,CAAC,GAAG,IAAA,g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,KAAK,EAAC,sCAAQ,EAAC,IAAI,EAAE,IAAI,EAAE,kBAAkB,EAAC,kBAAkB,EAAC,IAAI,EAAC,GAAG,GAAG,CACnF,CAAC;AASF,MAAM,sBAAsB,GAAG,CAAC,EAC9B,cAAc,EACd,eAAe,EACf,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,GACK,EAAE,EAAE,CAAC,CAC3B,4CACG,kBAAkB,CAAC,CAAC,CAAC,CACpB,uBAAC,mBAAQ,IACP,IAAI,EAAC,qOAA4C,EACjD,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,oBAAoB,GAC9B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,mBAAmB,CAAC,CAAC,CAAC,CACrB,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,6KAAiC,EACtC,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,qBAAqB,GAC/B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,mBAAmB,CAAC,CAAC,CAAC,CACrB,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,wNAAyC,EAC9C,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,qBAAqB,GAC/B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,eAAe,CAAC,CAAC,CAAC,CACjB,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,gKAA8B,EACnC,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,iBAAiB,GAC3B,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC"}
1
+ {"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA+E;AAC/E,mFAAgF;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AAoB,GAC9B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,mBAAmB,CAAC,CAAC,CAAC,CACrB,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,6KAAiC,EACtC,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,qBAAqB,GAC/B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,mBAAmB,CAAC,CAAC,CAAC,CACrB,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,wNAAyC,EAC9C,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,qBAAqB,GAC/B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,eAAe,CAAC,CAAC,CAAC,CACjB,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,gKAA8B,EACnC,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,iBAAiB,GAC3B,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC"}
@@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.UnknownRate = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const Img_1 = require("../../ui-kit/Img/Img");
5
+ const Icon_1 = require("../../ui-kit/Icon/Icon");
6
6
  const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
7
7
  const Text_1 = require("../../ui-kit/Text/Text");
8
- exports.UnknownRate = (0, uni_jsx_1.JSX)(({ title = 'Ставка' }) => ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-l-light", color: "text-secondary-text", children: title }), (0, jsx_runtime_1.jsx)("div", { className: "mt-1 pt-1 pl-5 pb-1.5", children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: { icon: 'PercentIcon' }, width: "90", height: "85", asSVG: true }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-[250px] mt-3.5", children: (0, jsx_runtime_1.jsxs)(Paragraph_1.Paragraph, { size: "text-xl-light", color: "text-primary-text", children: ["\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u043D\u0430\u044F \u0441\u0442\u0430\u0432\u043A\u0430 \u0434\u043B\u044F \u0441\u0440\u043E\u043A\u0430 ", (0, jsx_runtime_1.jsx)("strong", { children: "1-30 \u0434\u043D\u0435\u0439" }), " \u0443\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0438 \u0432 \u0411\u0430\u043D\u043A"] }) })] })));
8
+ exports.UnknownRate = (0, uni_jsx_1.JSX)(({ title = 'Ставка' }) => ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-l-light", color: "text-secondary-text", children: title }), (0, jsx_runtime_1.jsx)("div", { className: "mt-1 pt-1 pl-5 pb-1.5", children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "PercentIcon", width: "90", height: "85" }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-[250px] mt-3.5", children: (0, jsx_runtime_1.jsxs)(Paragraph_1.Paragraph, { size: "text-xl-light", color: "text-primary-text", children: ["\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u043D\u0430\u044F \u0441\u0442\u0430\u0432\u043A\u0430 \u0434\u043B\u044F \u0441\u0440\u043E\u043A\u0430 ", (0, jsx_runtime_1.jsx)("strong", { children: "1-30 \u0434\u043D\u0435\u0439" }), " \u0443\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0438 \u0432 \u0411\u0430\u043D\u043A"] }) })] })));
9
9
  //# sourceMappingURL=UnknownRate.js.map