@redneckz/wildless-cms-uni-blocks 0.11.2 → 0.11.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 (446) hide show
  1. package/bin/migration-scripts/0.11.1.js +34 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +76 -56
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  6. package/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  7. package/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
  8. package/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
  9. package/bundle/components/CarouselCard/titleSize.d.ts +1 -0
  10. package/bundle/components/CarouselCard/titleSize.mobile.d.ts +1 -0
  11. package/bundle/components/Footer/Contacts.d.ts +2 -2
  12. package/bundle/components/Footer/FooterContent.d.ts +9 -1
  13. package/bundle/components/Footer/FooterDataProps.d.ts +2 -2
  14. package/bundle/components/PictureText/positionStyle.d.ts +1 -0
  15. package/bundle/components/PictureText/positionStyle.mobile.d.ts +1 -0
  16. package/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  17. package/bundle/components/PictureText/styleInsuranceSum.d.ts +1 -0
  18. package/bundle/components/PictureText/styleInsuranceSum.mobile.d.ts +1 -0
  19. package/bundle/components/PictureText/styleValueBlock.d.ts +2 -0
  20. package/bundle/components/PictureText/styleValueBlock.mobile.d.ts +2 -0
  21. package/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
  22. package/bundle/components/RollupItem/renderRoundedIcon.d.ts +3 -0
  23. package/bundle/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
  24. package/bundle/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
  25. package/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  26. package/bundle/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
  27. package/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
  28. package/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  29. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  30. package/dist/components/Blocks.js +2 -2
  31. package/dist/components/Blocks.js.map +1 -1
  32. package/dist/components/Blocks.mobile.js +6 -0
  33. package/dist/components/Blocks.mobile.js.map +1 -1
  34. package/dist/components/Bonus/Bonus.js +1 -1
  35. package/dist/components/BusinessBlock/BusinessCard.js +1 -1
  36. package/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  37. package/{mobile/dist/components/ButtonBlock/ButtonBlock.js → dist/components/ButtonsBlock/ButtonsBlock.js} +3 -3
  38. package/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
  39. package/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  40. package/dist/components/{ButtonBlock/ButtonBlockContent.js → ButtonsBlock/ButtonsBlockContent.js} +1 -1
  41. package/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
  42. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  43. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  44. package/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
  45. package/dist/components/CarouselCard/CarouselCard.js +9 -7
  46. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  47. package/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
  48. package/dist/components/CarouselCard/getCardWidth.js +18 -0
  49. package/dist/components/CarouselCard/getCardWidth.js.map +1 -0
  50. package/dist/components/CarouselCard/titleSize.d.ts +1 -0
  51. package/dist/components/CarouselCard/titleSize.js +4 -0
  52. package/dist/components/CarouselCard/titleSize.js.map +1 -0
  53. package/dist/components/CarouselCard/titleSize.mobile.d.ts +1 -0
  54. package/dist/components/CarouselCard/titleSize.mobile.js +4 -0
  55. package/dist/components/CarouselCard/titleSize.mobile.js.map +1 -0
  56. package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  57. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  58. package/dist/components/Footer/Contacts.d.ts +2 -2
  59. package/dist/components/Footer/Contacts.js +4 -5
  60. package/dist/components/Footer/Contacts.js.map +1 -1
  61. package/dist/components/Footer/FooterContent.d.ts +9 -1
  62. package/dist/components/Footer/FooterDataProps.d.ts +2 -2
  63. package/dist/components/PictureText/PictureText.js +5 -11
  64. package/dist/components/PictureText/PictureText.js.map +1 -1
  65. package/dist/components/PictureText/positionStyle.d.ts +1 -0
  66. package/dist/components/PictureText/positionStyle.js +4 -0
  67. package/dist/components/PictureText/positionStyle.js.map +1 -0
  68. package/dist/components/PictureText/positionStyle.mobile.d.ts +1 -0
  69. package/dist/components/PictureText/positionStyle.mobile.js +4 -0
  70. package/dist/components/PictureText/positionStyle.mobile.js.map +1 -0
  71. package/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  72. package/dist/components/PictureText/renderInsuranceSumMonth.js +15 -0
  73. package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
  74. package/dist/components/PictureText/styleInsuranceSum.d.ts +1 -0
  75. package/dist/components/PictureText/styleInsuranceSum.js +4 -0
  76. package/dist/components/PictureText/styleInsuranceSum.js.map +1 -0
  77. package/dist/components/PictureText/styleInsuranceSum.mobile.d.ts +1 -0
  78. package/dist/components/PictureText/styleInsuranceSum.mobile.js +4 -0
  79. package/dist/components/PictureText/styleInsuranceSum.mobile.js.map +1 -0
  80. package/dist/components/PictureText/styleValueBlock.d.ts +2 -0
  81. package/dist/components/PictureText/styleValueBlock.js +5 -0
  82. package/dist/components/PictureText/styleValueBlock.js.map +1 -0
  83. package/dist/components/PictureText/styleValueBlock.mobile.d.ts +2 -0
  84. package/dist/components/PictureText/styleValueBlock.mobile.js +5 -0
  85. package/dist/components/PictureText/styleValueBlock.mobile.js.map +1 -0
  86. package/dist/components/RollupItem/RollupItem.js +14 -9
  87. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  88. package/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
  89. package/dist/components/RollupItem/renderRoundedIcon.d.ts +3 -0
  90. package/dist/components/RollupItem/renderRoundedIcon.js +5 -0
  91. package/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
  92. package/dist/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
  93. package/dist/components/RollupItem/renderRoundedIcon.mobile.js +7 -0
  94. package/dist/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
  95. package/dist/ui-kit/BenefitItem/BenefitItem.js +12 -11
  96. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  97. package/dist/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
  98. package/dist/ui-kit/BenefitItem/borderRadius.mobile.js +4 -0
  99. package/dist/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
  100. package/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  101. package/dist/ui-kit/BenefitItem/labelSize.js +4 -0
  102. package/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
  103. package/dist/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
  104. package/dist/ui-kit/BenefitItem/labelSize.mobile.js +4 -0
  105. package/dist/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
  106. package/dist/ui-kit/Button/renderButtonsSection.js +2 -2
  107. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  108. package/dist/ui-kit/Icon/IconProps.d.ts +8 -3
  109. package/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  110. package/dist/ui-kit/Icon/RoundedIcon.js +5 -1
  111. package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
  112. package/lib/common.css +1 -1
  113. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  114. package/lib/components/Blocks.js +2 -2
  115. package/lib/components/Blocks.js.map +1 -1
  116. package/lib/components/Blocks.mobile.js +6 -0
  117. package/lib/components/Blocks.mobile.js.map +1 -1
  118. package/lib/components/Bonus/Bonus.js +1 -1
  119. package/lib/components/BusinessBlock/BusinessCard.js +1 -1
  120. package/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  121. package/lib/components/ButtonsBlock/ButtonsBlock.fixture.mobile.d.ts +6 -0
  122. package/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
  123. package/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
  124. package/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  125. package/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
  126. package/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
  127. package/lib/components/CardTransfer/CardTransfer.fixture.mobile.d.ts +6 -0
  128. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  129. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  130. package/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
  131. package/lib/components/CarouselCard/CarouselCard.fixture.mobile.d.ts +8 -0
  132. package/lib/components/CarouselCard/CarouselCard.js +9 -7
  133. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  134. package/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
  135. package/lib/components/CarouselCard/getCardWidth.js +15 -0
  136. package/lib/components/CarouselCard/getCardWidth.js.map +1 -0
  137. package/lib/components/CarouselCard/titleSize.d.ts +1 -0
  138. package/lib/components/CarouselCard/titleSize.js +2 -0
  139. package/lib/components/CarouselCard/titleSize.js.map +1 -0
  140. package/lib/components/CarouselCard/titleSize.mobile.d.ts +1 -0
  141. package/lib/components/CarouselCard/titleSize.mobile.js +2 -0
  142. package/lib/components/CarouselCard/titleSize.mobile.js.map +1 -0
  143. package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  144. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  145. package/lib/components/Footer/Contacts.d.ts +2 -2
  146. package/lib/components/Footer/Contacts.js +4 -5
  147. package/lib/components/Footer/Contacts.js.map +1 -1
  148. package/lib/components/Footer/FooterContent.d.ts +9 -1
  149. package/lib/components/Footer/FooterDataProps.d.ts +2 -2
  150. package/lib/components/PictureText/PictureText.fixture.mobile.d.ts +14 -0
  151. package/lib/components/PictureText/PictureText.js +5 -11
  152. package/lib/components/PictureText/PictureText.js.map +1 -1
  153. package/lib/components/PictureText/positionStyle.d.ts +1 -0
  154. package/lib/components/PictureText/positionStyle.js +2 -0
  155. package/lib/components/PictureText/positionStyle.js.map +1 -0
  156. package/lib/components/PictureText/positionStyle.mobile.d.ts +1 -0
  157. package/lib/components/PictureText/positionStyle.mobile.js +2 -0
  158. package/lib/components/PictureText/positionStyle.mobile.js.map +1 -0
  159. package/lib/components/PictureText/renderBenefit.d.ts +0 -1
  160. package/lib/components/PictureText/renderInsuranceSumMonth.d.ts +1 -0
  161. package/lib/components/PictureText/renderInsuranceSumMonth.js +12 -0
  162. package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
  163. package/lib/components/PictureText/styleInsuranceSum.d.ts +1 -0
  164. package/lib/components/PictureText/styleInsuranceSum.js +2 -0
  165. package/lib/components/PictureText/styleInsuranceSum.js.map +1 -0
  166. package/lib/components/PictureText/styleInsuranceSum.mobile.d.ts +1 -0
  167. package/lib/components/PictureText/styleInsuranceSum.mobile.js +2 -0
  168. package/lib/components/PictureText/styleInsuranceSum.mobile.js.map +1 -0
  169. package/lib/components/PictureText/styleValueBlock.d.ts +2 -0
  170. package/lib/components/PictureText/styleValueBlock.js +3 -0
  171. package/lib/components/PictureText/styleValueBlock.js.map +1 -0
  172. package/lib/components/PictureText/styleValueBlock.mobile.d.ts +2 -0
  173. package/lib/components/PictureText/styleValueBlock.mobile.js +3 -0
  174. package/lib/components/PictureText/styleValueBlock.mobile.js.map +1 -0
  175. package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +1 -0
  176. package/lib/components/RollupItem/RollupItem.js +14 -9
  177. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  178. package/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
  179. package/lib/components/RollupItem/renderRoundedIcon.d.ts +3 -0
  180. package/lib/components/RollupItem/renderRoundedIcon.js +2 -0
  181. package/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
  182. package/lib/components/RollupItem/renderRoundedIcon.mobile.d.ts +3 -0
  183. package/lib/components/RollupItem/renderRoundedIcon.mobile.js +4 -0
  184. package/lib/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
  185. package/lib/ui-kit/BenefitItem/BenefitItem.js +12 -11
  186. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  187. package/lib/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
  188. package/lib/ui-kit/BenefitItem/borderRadius.mobile.js +2 -0
  189. package/lib/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
  190. package/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  191. package/lib/ui-kit/BenefitItem/labelSize.js +2 -0
  192. package/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
  193. package/lib/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
  194. package/lib/ui-kit/BenefitItem/labelSize.mobile.js +2 -0
  195. package/lib/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
  196. package/lib/ui-kit/Button/renderButtonsSection.js +2 -2
  197. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  198. package/lib/ui-kit/Icon/IconProps.d.ts +8 -3
  199. package/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  200. package/lib/ui-kit/Icon/RoundedIcon.js +5 -1
  201. package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
  202. package/mobile/bundle/bundle.umd.js +542 -378
  203. package/mobile/bundle/bundle.umd.min.js +1 -1
  204. package/mobile/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  205. package/mobile/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  206. package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
  207. package/mobile/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
  208. package/mobile/bundle/components/CarouselCard/titleSize.d.ts +1 -0
  209. package/mobile/bundle/components/Footer/Contacts.d.ts +2 -2
  210. package/mobile/bundle/components/Footer/FooterContent.d.ts +9 -1
  211. package/mobile/bundle/components/Footer/FooterDataProps.d.ts +2 -2
  212. package/mobile/bundle/components/PictureText/positionStyle.d.ts +1 -0
  213. package/mobile/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  214. package/mobile/bundle/components/PictureText/styleInsuranceSum.d.ts +1 -0
  215. package/mobile/bundle/components/PictureText/styleValueBlock.d.ts +2 -0
  216. package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
  217. package/mobile/bundle/components/RollupItem/renderRoundedIcon.d.ts +4 -0
  218. package/mobile/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  219. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
  220. package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  221. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  222. package/mobile/dist/components/Blocks.js +6 -0
  223. package/mobile/dist/components/Blocks.js.map +1 -1
  224. package/mobile/dist/components/Bonus/Bonus.js +1 -1
  225. package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
  226. package/mobile/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  227. package/{dist/components/ButtonBlock/ButtonBlock.js → mobile/dist/components/ButtonsBlock/ButtonsBlock.js} +3 -3
  228. package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
  229. package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  230. package/mobile/dist/components/{ButtonBlock/ButtonBlockContent.js → ButtonsBlock/ButtonsBlockContent.js} +1 -1
  231. package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
  232. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  233. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  234. package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
  235. package/mobile/dist/components/CarouselCard/CarouselCard.js +9 -7
  236. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  237. package/mobile/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
  238. package/mobile/dist/components/CarouselCard/getCardWidth.js +18 -0
  239. package/mobile/dist/components/CarouselCard/getCardWidth.js.map +1 -0
  240. package/mobile/dist/components/CarouselCard/titleSize.d.ts +1 -0
  241. package/mobile/dist/components/CarouselCard/titleSize.js +4 -0
  242. package/mobile/dist/components/CarouselCard/titleSize.js.map +1 -0
  243. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  244. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  245. package/mobile/dist/components/Footer/Contacts.d.ts +2 -2
  246. package/mobile/dist/components/Footer/Contacts.js +4 -5
  247. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  248. package/mobile/dist/components/Footer/FooterContent.d.ts +9 -1
  249. package/mobile/dist/components/Footer/FooterDataProps.d.ts +2 -2
  250. package/mobile/dist/components/PictureText/PictureText.js +5 -11
  251. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  252. package/mobile/dist/components/PictureText/positionStyle.d.ts +1 -0
  253. package/mobile/dist/components/PictureText/positionStyle.js +4 -0
  254. package/mobile/dist/components/PictureText/positionStyle.js.map +1 -0
  255. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  256. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +15 -0
  257. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
  258. package/mobile/dist/components/PictureText/styleInsuranceSum.d.ts +1 -0
  259. package/mobile/dist/components/PictureText/styleInsuranceSum.js +4 -0
  260. package/mobile/dist/components/PictureText/styleInsuranceSum.js.map +1 -0
  261. package/mobile/dist/components/PictureText/styleValueBlock.d.ts +2 -0
  262. package/mobile/dist/components/PictureText/styleValueBlock.js +5 -0
  263. package/mobile/dist/components/PictureText/styleValueBlock.js.map +1 -0
  264. package/mobile/dist/components/RollupItem/RollupItem.js +14 -9
  265. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  266. package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
  267. package/mobile/dist/components/RollupItem/renderRoundedIcon.d.ts +4 -0
  268. package/mobile/dist/components/RollupItem/renderRoundedIcon.js +7 -0
  269. package/mobile/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
  270. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +12 -11
  271. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  272. package/mobile/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  273. package/mobile/dist/ui-kit/BenefitItem/labelSize.js +4 -0
  274. package/mobile/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
  275. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -2
  276. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  277. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +8 -3
  278. package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  279. package/mobile/dist/ui-kit/Icon/RoundedIcon.js +5 -1
  280. package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
  281. package/mobile/lib/common.css +1 -1
  282. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  283. package/mobile/lib/components/Blocks.js +6 -0
  284. package/mobile/lib/components/Blocks.js.map +1 -1
  285. package/mobile/lib/components/Bonus/Bonus.js +1 -1
  286. package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
  287. package/mobile/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  288. package/mobile/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
  289. package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
  290. package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  291. package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
  292. package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
  293. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  294. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  295. package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
  296. package/mobile/lib/components/CarouselCard/CarouselCard.js +9 -7
  297. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  298. package/mobile/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
  299. package/mobile/lib/components/CarouselCard/getCardWidth.js +15 -0
  300. package/mobile/lib/components/CarouselCard/getCardWidth.js.map +1 -0
  301. package/mobile/lib/components/CarouselCard/titleSize.d.ts +1 -0
  302. package/mobile/lib/components/CarouselCard/titleSize.js +2 -0
  303. package/mobile/lib/components/CarouselCard/titleSize.js.map +1 -0
  304. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  305. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  306. package/mobile/lib/components/Footer/Contacts.d.ts +2 -2
  307. package/mobile/lib/components/Footer/Contacts.js +4 -5
  308. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  309. package/mobile/lib/components/Footer/FooterContent.d.ts +9 -1
  310. package/mobile/lib/components/Footer/FooterDataProps.d.ts +2 -2
  311. package/mobile/lib/components/PictureText/PictureText.js +5 -11
  312. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  313. package/mobile/lib/components/PictureText/positionStyle.d.ts +1 -0
  314. package/mobile/lib/components/PictureText/positionStyle.js +2 -0
  315. package/mobile/lib/components/PictureText/positionStyle.js.map +1 -0
  316. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  317. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +12 -0
  318. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
  319. package/mobile/lib/components/PictureText/styleInsuranceSum.d.ts +1 -0
  320. package/mobile/lib/components/PictureText/styleInsuranceSum.js +2 -0
  321. package/mobile/lib/components/PictureText/styleInsuranceSum.js.map +1 -0
  322. package/mobile/lib/components/PictureText/styleValueBlock.d.ts +2 -0
  323. package/mobile/lib/components/PictureText/styleValueBlock.js +3 -0
  324. package/mobile/lib/components/PictureText/styleValueBlock.js.map +1 -0
  325. package/mobile/lib/components/RollupItem/RollupItem.js +14 -9
  326. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  327. package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
  328. package/mobile/lib/components/RollupItem/renderRoundedIcon.d.ts +4 -0
  329. package/mobile/lib/components/RollupItem/renderRoundedIcon.js +4 -0
  330. package/mobile/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
  331. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +12 -11
  332. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  333. package/mobile/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  334. package/mobile/lib/ui-kit/BenefitItem/labelSize.js +2 -0
  335. package/mobile/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
  336. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -2
  337. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  338. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +8 -3
  339. package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  340. package/mobile/lib/ui-kit/Icon/RoundedIcon.js +5 -1
  341. package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
  342. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  343. package/mobile/src/components/Blocks.ts +6 -0
  344. package/mobile/src/components/Bonus/Bonus.tsx +1 -1
  345. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +1 -1
  346. package/mobile/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
  347. package/mobile/src/components/{ButtonBlock/ButtonBlock.tsx → ButtonsBlock/ButtonsBlock.tsx} +4 -4
  348. package/mobile/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
  349. package/mobile/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
  350. package/mobile/src/components/CardTransfer/CardTransfer.tsx +9 -3
  351. package/mobile/src/components/CarouselCard/CarouselCard.tsx +16 -12
  352. package/mobile/src/components/CarouselCard/getCardWidth.tsx +16 -0
  353. package/mobile/src/components/CarouselCard/titleSize.tsx +1 -0
  354. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -3
  355. package/mobile/src/components/Footer/Contacts.tsx +20 -12
  356. package/mobile/src/components/Footer/FooterContent.ts +10 -1
  357. package/mobile/src/components/Footer/FooterDataProps.ts +2 -2
  358. package/mobile/src/components/PictureText/PictureText.tsx +13 -27
  359. package/mobile/src/components/PictureText/positionStyle.tsx +1 -0
  360. package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +28 -0
  361. package/mobile/src/components/PictureText/styleInsuranceSum.tsx +1 -0
  362. package/mobile/src/components/PictureText/styleValueBlock.tsx +2 -0
  363. package/mobile/src/components/RollupItem/RollupItem.tsx +25 -18
  364. package/mobile/src/components/RollupItem/RollupItem.ui.json +7 -1
  365. package/mobile/src/components/RollupItem/RollupItemContent.ts +4 -2
  366. package/mobile/src/components/RollupItem/renderRoundedIcon.tsx +7 -0
  367. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +26 -22
  368. package/mobile/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
  369. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +8 -2
  370. package/mobile/src/ui-kit/Icon/IconProps.ts +9 -4
  371. package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +18 -6
  372. package/package.json +1 -1
  373. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  374. package/src/components/Blocks.mobile.ts +6 -0
  375. package/src/components/Blocks.ts +2 -2
  376. package/src/components/Bonus/Bonus.tsx +1 -1
  377. package/src/components/BusinessBlock/BusinessCard.tsx +1 -1
  378. package/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
  379. package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +26 -0
  380. package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +26 -0
  381. package/src/components/{ButtonBlock/ButtonBlock.tsx → ButtonsBlock/ButtonsBlock.tsx} +4 -4
  382. package/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
  383. package/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
  384. package/src/components/CardTransfer/CardTransfer.fixture.mobile.tsx +18 -0
  385. package/src/components/CardTransfer/CardTransfer.tsx +9 -3
  386. package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +28 -0
  387. package/src/components/CarouselCard/CarouselCard.tsx +16 -12
  388. package/src/components/CarouselCard/getCardWidth.tsx +16 -0
  389. package/src/components/CarouselCard/titleSize.mobile.tsx +1 -0
  390. package/src/components/CarouselCard/titleSize.tsx +1 -0
  391. package/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -3
  392. package/src/components/Footer/Contacts.tsx +20 -12
  393. package/src/components/Footer/FooterContent.ts +10 -1
  394. package/src/components/Footer/FooterDataProps.ts +2 -2
  395. package/src/components/PictureText/PictureText.fixture.mobile.tsx +122 -0
  396. package/src/components/PictureText/PictureText.tsx +13 -27
  397. package/src/components/PictureText/positionStyle.mobile.tsx +1 -0
  398. package/src/components/PictureText/positionStyle.tsx +1 -0
  399. package/src/components/PictureText/renderInsuranceSumMonth.tsx +28 -0
  400. package/src/components/PictureText/styleInsuranceSum.mobile.tsx +1 -0
  401. package/src/components/PictureText/styleInsuranceSum.tsx +1 -0
  402. package/src/components/PictureText/styleValueBlock.mobile.tsx +2 -0
  403. package/src/components/PictureText/styleValueBlock.tsx +2 -0
  404. package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +15 -0
  405. package/src/components/RollupItem/RollupItem.tsx +25 -18
  406. package/src/components/RollupItem/RollupItem.ui.json +7 -1
  407. package/src/components/RollupItem/RollupItemContent.ts +4 -2
  408. package/src/components/RollupItem/renderRoundedIcon.mobile.tsx +7 -0
  409. package/src/components/RollupItem/renderRoundedIcon.tsx +4 -0
  410. package/src/ui-kit/BenefitItem/BenefitItem.tsx +26 -22
  411. package/src/ui-kit/BenefitItem/borderRadius.mobile.tsx +1 -0
  412. package/src/ui-kit/BenefitItem/labelSize.mobile.tsx +1 -0
  413. package/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
  414. package/src/ui-kit/Button/renderButtonsSection.tsx +8 -2
  415. package/src/ui-kit/Icon/IconProps.ts +9 -4
  416. package/src/ui-kit/Icon/RoundedIcon.tsx +18 -6
  417. package/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  418. package/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  419. package/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  420. package/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
  421. package/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  422. package/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
  423. package/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  424. package/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
  425. package/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  426. package/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
  427. package/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
  428. package/mobile/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  429. package/mobile/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  430. package/mobile/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  431. package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
  432. package/mobile/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  433. package/mobile/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
  434. package/mobile/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  435. package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
  436. package/mobile/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  437. package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
  438. package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
  439. package/mobile/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
  440. package/mobile/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
  441. package/mobile/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
  442. package/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
  443. package/src/components/ButtonBlock/ButtonBlock.fixture.tsx +0 -19
  444. package/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
  445. package/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
  446. /package/lib/components/{ButtonBlock/ButtonBlock.fixture.d.ts → ButtonsBlock/ButtonsBlock.fixture.d.ts} +0 -0
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const i=e=>(...i)=>t[e](...i),n=i("useState"),r=i("useEffect"),l=i("useCallback"),a=i("useMemo"),s=i("useRef");const o=e=>e&&!e.endsWith("/")?`${e}/`:e,c={PROD_BRANCH:"master"},d=new class{_=c;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||c.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 o(this._.CDN)}get BASE_PATH(){return o(this._.BASE_PATH)}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},h="likesToken";function m(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(h)||"");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:i}=await e.json();return globalThis.localStorage?.setItem(h,JSON.stringify({token:t,name:i})),{token:t,name:i}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i},body:JSON.stringify({node_ids:t})}),{likes:n}=await e.json();return n||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:i,name:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i,UserID:n},body:JSON.stringify({node_id:t,user_name:n})}),{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:i,name:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i,UserID:n},body:JSON.stringify({node_id:t,user_name:n})}),{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,i){const{children:n,...r}=t||{},l=i?.slots?.default,a=n||l&&l();return e(Object.assign(r,a&&{children:a}),i)}return t.inheritAttrs=!1,t},x=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),f=({blockClassName:e,block:t,render:i})=>i({blockClassName:e,block:t}),y=[];function v(e,t,{className:i,...n}={}){const{key:r,blockDecorator:l=f,blocksRegistry:a={},ancestors:s=y}=t,{type:o}=e;o&&o in a||console.warn(`No block with "${o}" is registered`);const c=o&&a[o];return l({blockClassName:x("scroll-mt-12",i,e.style||"col-span-12"),block:e,ancestors:s,render:({block:i,blockClassName:l})=>{const{content:a}=i;return c?u(c,{className:l,block:e,options:t,...a,...n},r):null}},r)}const N=[],w=(e,{key:t,ancestors:i=N,slotName:n=null,renderProps:r=v,...l})=>(e||[]).map(((e,a)=>r(e,{...l,key:`${t||e.type}-${a}`,ancestors:l.parent?[...i||N,[l.parent,n]]:i})));function k({children:e,block:t,options:i,renderProps:n}){return e||(t&&i?w(t.blocks,{...i,parent:t,renderProps:n}):null)}class C{subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const i=this.subjectsStateMap[e];return i&&t(i),()=>{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 T=new C;function _(e,{sensitivity:t,rootRef:i}={}){const n=s(null),l=a((()=>({threshold:S(t),root:i?.current})),[t,i?.current]);return r((()=>{if(!n.current)return;const t=new IntersectionObserver(e,l);return t.observe(n.current),()=>{t.disconnect()}}),[e,l]),n}function S(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,i)=>Math.min(i/t)),1).concat(1)}const I=new C;const R={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","":""},$=g((({className:e,version:t="primary",isTheme:i=!0,block:a,tag:s="section",role:o,children:c})=>{const d=s,h=function(e){return _(l((t=>{if(!e||!t?.length)return;const i=t[t.length-1];I.fire("intersection",{block:e,intersection:i})}),[e]),{sensitivity:1})}(a),[m,p]=n(!1);return r((()=>T.subscribe("tab",(e=>{p(Boolean(e.label&&a?.labels?.length&&!a.labels.includes(e.label)))}))),[a]),u(d,{className:x(A(Boolean(t&&i)),R[t],m?"hidden":"",e),...t&&i?{"data-ver":t}:{},...a?.anchor?{id:a.anchor,ref:h}:{},role:o,children:c})})),A=e=>e?"group":"",j=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`}),P=g((({className:e="",style:t,idx:i,activeIndex:n,observerOptions:r,children:a,onIntersection:s})=>{const o=_(l((e=>{e.length&&s&&s(i||0,e[e.length-1])}),[s,i]),r);return u("div",{className:`inline-block snap-always box-border ${e}`,style:t,"aria-current":Boolean(i===n),ref:o,children:a})})),L=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],B=g((({className:e="",containerRef:t,activeIndex:i,visibleItemCount:n=0,gap:r=0,padding:a=0,listType:o="horizontal-list",snapAlign:c="snap-center",minHeight:d,children:h,onVisibleItemsChange:m,onVisibleIndicesChange:p})=>{const g={sensitivity:1,rootRef:t},b=s([]),f=l(((e,t)=>{const i=[...b.current||[]];i[e]=t,b.current=i,m&&m(i),p&&p(z(i))}),[m,p]),y=n>0?r*Number(n)-1:0,v="vertical-list"===o,N="horizontal-list"===o,w={...N?D(a,y):{},...v?j(d):{},gap:`${r}px`};return u("div",{className:x("box-border overflow-auto no-scrollbar",o,e),style:w,ref:t,children:(k=(e,t)=>u(P,{className:x(c,n?L[n-1]:"",v?"h-full":""),style:N?D(a/4):{},activeIndex:i,idx:t,observerOptions:g,onIntersection:f,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(k):k(e,0))(h)});var k})),D=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),z=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),V={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},M={"horizontal-list":"w-6","vertical-list":"h-6"},O=g((({containerRef:e,activeIndex:t,dotCount:i=0,listType:n="horizontal-list",version:r})=>i?u("div",{className:x("flex gap-2",V[n],r?"group":""),...r?{"data-ver":r}:{},children:new Array(i).fill(null).map(((i,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?M[n]:"w-2 h-2 opacity-30"}`,role:"button","aria-hidden":!0,onClick:()=>(i=>{i!==t&&e?.current&&e.current.children[i]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(r)},String(r))))}):null)),H=e=>e,E=(e=H)=>t=>t.reduceRight(((t,i)=>e(t)>e(i)?t:i)),F=(e=H)=>E((t=>-e(t))),U=e=>t=>e.scrollWidth/t,X=e=>(t,i)=>{e.scrollBy({left:i*U(e)(t),behavior:"smooth"})},J=({itemCount:e,isCyclic:t,onVisibleIndicesChange:i})=>{const r=s(null),[a,o]=n([]),c=l((e=>{o((t=>{return(i=t)===(n=e)||Boolean(i&&n&&i?.length===n?.length&&i.every(((e,t)=>e===n[t])))?t:e;var i,n})),i&&i(e)}),[e]),[d,h]=a.length?[F()(a),E()(a)]:[-1,-1],m=d>0,u=h<e-1,p=l((()=>{var i;r.current&&(t&&!m?(i=r.current).scrollTo({left:i.scrollWidth,behavior:"smooth"}):X(r.current)(e,-1))}),[t,e,m]),g=l((()=>{r.current&&(t&&!u?r.current.scrollTo({left:0,behavior:"smooth"}):X(r.current)(e,1))}),[e,t,u]);return[r,{scrollLeft:p,scrollRight:g,canScrollLeft:t||m,canScrollRight:t||u,visibleIndicesRange:[d,h],handleVisibleIndicesChange:c}]};function G(){return G._impl()}G._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),G.setup=e=>{G._impl=e};const W=e=>Boolean(e?.includes(":")),Y=(e,t)=>Boolean(e&&!W(e)&&(!t||"_self"===t)),K=(...e)=>e.filter(Boolean).join("/").replace(/\/+/g,"/");var q=Object.freeze({__proto__:null,isURL:W,isLocalURL:Y,isHash:e=>Boolean(e?.startsWith("#")),withoutQuery:e=>(e||"").replace(/\?.*/,"").replace(/\/$/,""),joinPath:K});const Q=e=>(t,i=d.BASE_PATH)=>{if(!t||W(t)||Z(t,d.CDN))return t;const n=t.startsWith("/");return K(Z(t,i)?"":i,n?"/":e.pathname?.split("/").slice(0,-1).join("/"),t)},Z=(e,t)=>t&&e&&e.startsWith(t),ee={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},te=g((({className:e="",imageClassName:t="",name:i="",alt:n=`Иконка ${i}`,title:r=n,iconVersion:l="color",...a})=>{const s=G(),o=Q(s)(K(d.CDN,"/icons",`${i}.svg`));return"normal"!==l?u(ne,{className:e,children:p("svg",{className:x(ie(a.width),ee[l],"white"===l?"invert":"",t),...a,"aria-hidden":"true",children:[r?u("title",{children:r}):null,n?u("desc",{children:n}):null,u("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]})}):(e.includes("h-")||(a.style={height:`${a.height}px`}),u("img",{className:e,src:o,alt:n,title:r,"aria-hidden":"true",...a}))})),ie=e=>e?"":"w-full h-full",ne=g((({className:e,children:t})=>e?u("div",{className:e,children:t}):t)),re=(e,t)=>e?.media&&t?.media?e.media-t.media:0,le=g((({className:e="",image:t,imageClassName:i="",isMobile:n=!1,pathPrefix:r})=>{const l=G();return p("picture",{className:`${n?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.filter((e=>e?.src)).sort(re).map((({src:e,format:i,media:n},a)=>u("source",{srcSet:se(l,r)(e),type:oe(i),media:n?`(max-width: ${n}px)`:"",...t.size},`${a}_${e}`))):null,t?.src?ae({...t,src:se(l,r)(t.src)},i,n):null]})})),ae=(e,t="",i=!1)=>{const n={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"auto"},r=e.title||"",l=e.alt||e.title,a=i?"m-auto":"m-0";return u("img",{src:e.src,className:`${a} ${t}`,alt:l,title:r,style:n,...e.size})},se=(e,t)=>i=>i&&!W(i)?Q(e)(K(t,i)):i,oe=e=>e?`image/${String(e)}`:void 0,ce=g((({className:e="",image:t,imageClassName:i="",isMobile:n,pathPrefix:r,...l})=>t?.src||t?.icon?t.icon?u(te,{className:e,imageClassName:i,iconVersion:t?.iconVersion,name:t.icon,...l}):u(le,{className:e,imageClassName:i,image:t,isMobile:n,pathPrefix:r}):null)),de=g((e=>u(ce,{...e,isMobile:!0}))),he=(e,t)=>he._impl(e,t);function me(e={}){const{isRemote:t,basePath:i}=e,n=G(),{close:r}=((e="")=>({open:t=>T.fire("dialog",{type:"open",id:e,message:t}),close:()=>T.fire("dialog",{type:"close"})}))();return e=>({...e,href:t&&!i?e.href:Q(n)(e.href,i),"aria-label":e.text,onClick:he(l(e),e)});function l({href:e,target:i,onClick:l}){return a=>{l&&l(a),e&&!t&&Y(e,i)&&(r(),a?.preventDefault(),n.push(e))}}}he._impl=e=>e,he.setup=e=>{he._impl=e};const ue={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","":""},pe="bg-main-divider text-main-disabled",ge={primary:pe,secondary:pe,white:pe,link:"",transparent:"",gray:pe,"":""},be="text-center font-sans select-none",xe={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","":""},fe=g((e=>{const{text:t,aboveText:i,appendLeft:n,appendRight:r,version:l="primary"}=e;return p("div",{className:x(ye(e),"flex gap-2"),children:[n?u("div",{className:xe[l],children:n}):null,ve(e)?p("div",{children:[i?u("div",{className:"text-xs-light text-left",children:i}):null,u("div",{className:"text-left "+(i?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?u("div",{className:xe[l],children:r}):null]})})),ye=e=>{const{version:t,aboveText:i,rounded:n}=e;if("link"===t)return"";const r=""+(i?"py-2.5 px-7":"py-4 px-4");return["group/btn items-center justify-center",ve(e)?r:"h-12 w-12",n?"rounded-full":""].join(" ")},ve=({text:e,aboveText:t,appendLeft:i})=>Boolean(e||t||!i),Ne=({className:e,rounded:t,version:i})=>["inline-block",be,i?ge[i]:"",t?"rounded-full":"rounded-md",e].join(" "),we=({className:e,rounded:t,version:i})=>[be,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit",i?ue[i]:"",t?"rounded-full":"rounded-md",e].join(" "),ke=g((({disabled:e,children:t,...i})=>{const n=me()(i),r=t??u(fe,{...n});return u(e?Te:Ce,{...n,children:r})})),Ce=g((({className:e="",href:t,rel:i,target:n,ariaLabel:r,version:l,rounded:a,onClick:s,children:o})=>u("a",{className:we({className:e,version:l,rounded:a}),href:t,rel:i,target:n,"aria-label":r,role:t?"link":"button",onClick:s,children:o}))),Te=g((({className:e,ariaLabel:t,version:i,rounded:n,children:r})=>u("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:Ne({className:e,rounded:n,version:i}),children:r}))),_e=g((({className:e,disabled:t,...i})=>u(ke,{rounded:!0,className:`group/btn shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${t?"bg-secondary-light text-secondary-text":"bg-white text-primary-text hover:text-primary-main"} ${e||""}`,disabled:t,...i,children:u(de,{className:"w-4 h-4 min-w-4 min-h-4 rounded-full box-border",image:{icon:"ArrowLeftIcon",iconVersion:"black"},imageClassName:"group-hover/btn:text-primary-main",width:"16",height:"16"})}))),Se=g((e=>u(_e,{...e,ariaLabel:"Пролистать влево","data-block-control":"scroll-left"}))),Ie=g((e=>u(_e,{...e,className:`${e.className||""} rotate-180`,ariaLabel:"Пролистать вправо","data-block-control":"scroll-right"}))),Re="absolute top-[calc(50%-24px)] z-40",$e="absolute top-0 bottom-0 z-40 w-[84px] pointer-events-none",Ae=g((({scroll:e,arrowsPadded:t,isBlur:i,onScrollLeft:n,onScrollRight:r,hasEdgeBlocks:a,activeIndex:s,itemCount:o})=>{const{canScrollLeft:c,canScrollRight:d,scrollLeft:h,scrollRight:m}=e,g=a?s>0:c,b=a?s<o-1:d,f=l((()=>{a?(c&&s!==o-1&&h(),n()):h()}),[h,n,a,c,s,o]),y=l((()=>{a?(d&&0!==s&&m(),r()):m()}),[m,r,a,c,s,o]);return p("div",{children:[je(i,e),g?u(Se,{className:x(Re,t?"left-8":"left-0"),onClick:f}):null,b?u(Ie,{className:x(Re,t?"right-8":"right-0"),onClick:y}):null]})})),je=(e,t)=>e?p("div",{children:[t.canScrollLeft?u("div",{className:x($e,"left-0 bg-opacity-from-white")}):null,t.canScrollRight?u("div",{className:x($e,"right-0 bg-opacity-to-white")}):null]}):null,Pe=g((({className:e="",itemCount:t,visibleItemCount:i,isBlur:r=!0,isCyclic:a=!1,arrowsPadded:s=!0,isPadding:o=!0,showDots:c=!1,isAlignCenter:d=!1,...h})=>{const{blocks:m=[]}=h.block||{},g=t||m?.length,[b,f]=n(Math.floor((i||0)/2)),y=l((()=>f((e=>e+1))),[]),N=l((()=>f((e=>e-1))),[]),[w,C]=J({itemCount:g,isCyclic:a}),[T]=C.visibleIndicesRange,_=m&&"CarouselBankHistoryCard"===m[0]?.type;return u($,{className:x(Le(o),"group-data-secondary:bg-primary-main group-data-secondary:text-white",e),...h,children:p("div",{className:x(Be(d),"relative max-w-full"),children:[u(B,{containerRef:w,visibleItemCount:i,snapAlign:"snap-start",gap:16,onVisibleIndicesChange:C.handleVisibleIndicesChange,children:k({...h,renderProps:_?(e,t)=>v(e,t,{blocksLength:m?.length,activeIndex:b}):v})}),u(Ae,{scroll:C,isBlur:r,arrowsPadded:s,onScrollLeft:N,onScrollRight:y,hasEdgeBlocks:_,activeIndex:b,itemCount:g}),c?De(w,T,g):null]})})}));Pe.childrenTypes=["CarouselCard","CarouselBankHistoryCard","CarouselCatalogCard","CarouselInvestmentCard","CarouselProductCard","CarouselProgramsCard","CarouselRecommendationCard","CarouselTariffsCard","CarouselRichTextCard","CarouselInvestmentCard","CarouselEventCard"];const Le=e=>e?"p-default":"",Be=e=>e?"flex justify-center":"",De=(e,t,i)=>u(O,{containerRef:e,activeIndex:t,dotCount:i,listType:"horizontal-list"}),ze={h1:"h1",h2:"h1",h3:"h2",h4:"h2",h5:"h3",h6:"h3"},Ve={h0:"text-h0",h1:"text-h1",h2:"text-h2",h3:"text-h3",h4:"text-h4",h5:"text-h5",h6:"text-h6"},Me=g((({className:e="",headingType:t="h3",as:i="h3",title:n,children:r})=>{const l=ze[i]||"h3";return u(l,{className:`font-sans m-0 ${Ve[t]} ${e}`,children:n||r})})),Oe=g((({className:e="",href:t,target:i,isRemote:n=!1,children:r})=>{const l=me({isRemote:n})({href:t,target:i});return u(t?"a":"div",{className:x("block",e),...t?l:{},children:r})})),He=g((({className:e="",title:t,icon:i,list:n=[],href:r,target:l,...a})=>u($,{className:x("border border-gray",e),...a,children:p(Oe,{className:"flex",href:r,target:l,children:[p("div",{className:"w-[200px] min-w-[200px] self-center",children:[i?.icon?u(de,{image:i}):null,i?.src?u(de,{image:i}):null]}),p("div",{className:"p-8 pl-3 w-full",children:[t?u(Me,{className:"mb-3.5",headingType:"h5",title:t}):null,n.length?u("div",{className:"flex flex-col gap-3",children:n?.map(Ee)}):null]})]})}))),Ee=(e,t)=>p("div",{className:"break-words",children:[e.title?u("div",{className:"text-h6",children:e.title}):null,e.description?u("span",{className:"text-l-light mt-1",children:e.description}):null]},String(t)),Fe={L:"w-1.5 h-1.5 mr-4",M:"w-1.5 h-1.5 mr-3",S:"w-1 h-1 mr-2"},Ue=g((({className:e,isDotted:t=!0,children:i,size:n="M"})=>p("div",{className:x("font-sans flex",e),role:"listitem",children:[t?u("div",{className:"shrink-0",children:u("div",{className:x("align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white",Fe[n])})}):null,u("span",{children:i})]}))),Xe={S:"text-l-light",M:"text-h6",L:"text-h5"},Je={S:"ml-2",M:"ml-3",L:"ml-4"},Ge=g((({className:e,hasIndent:t,isDotted:i,items:n,listItemSize:r="M"})=>n?.length?u("section",{className:x("flex flex-col gap-2 text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text",Xe[r],t?Je[r]:"",e),role:"list",children:n.map(((e,t)=>u(Ue,{isDotted:i,size:r,children:e},String(t))))}):null)),We={default:"w-24 h-14",small:"w-12 h-12"},Ye=(e,t)=>e?"":x("group/media flex items-center justify-center box-border",We[t]),Ke=[{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"}],qe=g((({buttonSize:e="default",rounded:t=!1,icon:i,...n})=>{const{href:r,version:l,text:a=""}=n,{iconMapped:s,label:o}=Ke.find((({origins:e})=>e.some((e=>r?.includes(e)))))||{},c=Qe(i)??s;return u(ke,{className:x(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",Ye(a,e)),"aria-label":o,rel:"noopener noreferrer",target:"_blank",text:a,version:l,...n,children:c&&!a?u(de,{image:c,imageClassName:"group-hover/media:text-white",width:"24",height:"24"}):null})})),Qe=e=>e?.src||e?.icon?e:void 0,Ze=g((({className:e="",media:t})=>u("div",{className:`flex gap-2 items-start justify-start ${e}`,children:t?.map(((e,t)=>u(qe,{...e},String(t))))}))),et=g((({children:e,...t})=>u("p",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),tt={XXL:{title:{headingType:"h0",as:"h1"},descriptionSize:"text-h5",descriptionStyle:"mt-headline-xxl"},XL:{title:{headingType:"h1",as:"h1"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-l"},L:{title:{headingType:"h2",as:"h2"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-l"},M:{title:{headingType:"h3",as:"h3"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-m"},S:{title:{headingType:"h4",as:"h4"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-s"},XS:{title:{headingType:"h5",as:"h5"},descriptionSize:"text-l-light",descriptionStyle:"mt-headline-s"}},it=g((({className:e,title:t,description:i,headlineVersion:n="XL",align:r="text-center",as:l,isPadding:a=!0,isTheme:s=!1,version:o="",...c})=>{const d=tt[n],h=a?"p-default":"",m={marginTop:d.descriptionStyle};return p($,{className:x(h,e),version:o,isTheme:s,...c,children:[t?u(Me,{className:x("whitespace-pre-wrap",r),...d?.title,as:l||d?.title.as,title:t}):null,i?u(et,{size:d.descriptionSize,align:r,...m,children:i}):null]})})),nt=g((({className:e="",description:t,href:i,icon:n,items:r=[],socialMedia:l=[],target:a,title:s,align:o="text-left",...c})=>u($,{className:x("relative box-border p-default group-data-gray:bg-main-divider/50","border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider",e),...c,children:p(Oe,{href:i,target:a,children:[u(it,{className:"mb-2",title:s,description:t,headlineVersion:"S",isPadding:!1,align:o}),r.length?u(Ge,{className:"flex flex-col gap-2",items:r,listItemSize:"S"}):null,rt(n),l.length?u(Ze,{className:"mt-5",media:l}):null]})}))),rt=e=>e?.src||e?.icon?u("div",{children:u(de,{image:e})}):null,lt=g((({className:e="",isFoldButtonOnTop:t=!1,unfoldedByDefault:i=!1,renderFoldableSection:r,renderFoldButton:a})=>{const[s,o]=n(i),c=l((()=>{o((e=>!e))}),[]),d=r({isUnfolded:s,onToggle:c}),h=a?a({isUnfolded:s,onToggle:c}):null;return p("div",t?{className:e,children:[h,d]}:{className:e,children:[d,h]})})),at=g((({className:e="",isUnfolded:t,children:i})=>{const n=s(null);return r((()=>{n.current&&(n.current.style.maxHeight=t?`${n.current.scrollHeight}px`:"")}),[t,i?.length]),u("div",{ref:n,className:`transition-max-h duration-300 overflow-hidden ${n.current||!t?"max-h-0":""} ${e}`,children:i})})),st=(e=!1)=>e?"p-default mt-6":"mt-6 p-default",ot=(e,{className:t="",buttonClassName:i,isVertical:n}={})=>e?.length&&e.some((e=>e?.text||e?.icon?.icon))?u("div",{className:x("flex",n?"flex-col gap-2":"flex-wrap gap-4",t),children:e.map(ct(i))}):null,ct=(e="")=>(t,i)=>{const{text:n,icon:r,iconRight:l,version:a,...s}=t||{},o="secondary"===a?"color":"white",c=r?.iconVersion?r?.iconVersion:o;return n||r?.icon?u(ke,{className:e,appendLeft:dt({...r,iconVersion:c}),appendRight:dt({...l,iconVersion:c}),version:a,text:n,...s},i?String(i):""):null},dt=e=>e?.icon||e?.src?u(de,{image:e,width:String(e?.size?.width||24),height:String(24)}):null,ht=g((({children:e,...t})=>u("span",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),mt=(e,t)=>{const{title:i,description:n,buttons:r}=e;return p("div",{className:"py-5 border-b border-main-divider",children:[i?u("div",{className:"opacity-80",children:u(ht,{size:"text-m",color:"text-secondary-text",children:i})}):null,n?u("div",{className:"mt-1",children:u(ht,{size:"text-l",color:"text-primary-text",children:n})}):null,r?.length?u("div",{className:"text-primary-main",children:ot(r)}):null]},String(t))},ut=g((({className:e="",title:t,icon:i,isHighlighting:n=!1,button:r,cardCells:l=[],...a})=>{const s=l.map(mt),o=s.slice(0,1),c=s.slice(1);return p($,{className:x("relative border border-gray flex flex-col",st(n),e),...a,children:[n?bt():null,pt(i),t?u(Me,{className:"text-center pt-2",headingType:"h5",title:t}):null,r?u(ke,{className:"w-full mt-4",...r}):null,l.length?u(lt,{renderFoldableSection:({isUnfolded:e})=>p("div",{children:[o,u(at,{isUnfolded:e,children:c})]}),renderFoldButton:l.length>1?gt:null}):null]})})),pt=e=>u("div",{className:"w-[267px] min-w-[267px] self-center",children:e?.src||e?.icon?u(de,{image:e}):null}),gt=({isUnfolded:e,onToggle:t})=>p("button",{className:"w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center",onClick:t,children:[u("div",{children:e?"Скрыть":"Подробнее о тарифе"}),u(te,{className:"text-primary-text",name:e?"ArrowUpIcon":"ArrowDownIcon",width:"16",height:"16"})]}),bt=()=>p("div",{className:"absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:[u(te,{iconVersion:"black",name:"HeartIcon",width:"23",height:"22"}),u(et,{size:"text-s",font:"font-normal",align:"text-center",color:"text-primary-text",children:"ХИТ"})]}),xt=g((({className:e="",gap:t=14,padding:i=16,showDots:n=!0,minHeight:r,children:l,onVisibleIndicesChange:a,listType:s="horizontal-list",version:o})=>{const c=Array.isArray(l)?l.length:0,[d,h]=J({itemCount:c,onVisibleIndicesChange:a}),[m]=h.visibleIndicesRange;return p("div",{className:x(e,"vertical-list"===s?"relative h-full":""),children:[u(B,{containerRef:d,activeIndex:m,visibleItemCount:1,gap:t,padding:i,onVisibleIndicesChange:h.handleVisibleIndicesChange,listType:s,minHeight:r,children:l}),n?u(O,{containerRef:d,activeIndex:m,dotCount:c,listType:s,version:o}):null]})})),ft=(e=!1)=>e?"text-white":"",yt=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),vt=g((({icon:e,image:t,title:i,subtitle:n,isFillGradient:r})=>p("div",{role:"columnheader",children:[e?u(de,{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(de,{image:t})}),i?u(Me,{headingType:"h4",className:ft(r),title:i}):null,n?u("div",{className:yt(r),children:n}):null]}))),Nt=g((({cell:e,rowHeader:t,isFillGradient:i=!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(wt(i,t))})}))),wt=(e,t)=>({label:i,description:n},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:[i?u("div",{className:"text-right "+(e?"text-white":""),children:i}):null,n?u("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:n}):null]})]},String(r)),kt=g((({header:e,columnData:t,visibleRowLength:i=0,isFillGradient:n,showRow:r,onToggleColumn:l})=>{const a=t?.slice(0,r?t.length:i),s=n?"secondary":"primary";return p("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${n?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[u(vt,{...e,isFillGradient:n}),a?.length?a.map((({rowHeader:e,cell:t},i)=>u(Nt,{cell:t,rowHeader:e,isFillGradient:n},String(i)))):null,r&&e?.link?u(ke,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Ct({onToggleColumn:l,isFillGradient:n,showRow:r})]})})),Ct=({onToggleColumn:e,isFillGradient:t,showRow:i})=>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:i?"Скрыть":"Показать описание"})}),Tt=g((e=>{const{className:t,title:i}=e;return p("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[i?u(Me,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:i}):null,u("div",{role:"table",children:u(_t,{...e})})]})})),_t=g((({columns:e=[],rowHeaders:t,isColoredFirstColumn:i,visibleRowLength:r,orientation:a,...s})=>{const[o,c]=n(new Array(e.length).fill(!r)),d=l((e=>{const t=(t,i)=>i===e?!t:t;c((e=>e.map(t)))}),[]),h=l((()=>c((e=>new Array(e.length).fill(!1)))),[]),m=e?.map((({data:e,header:n},l)=>{return u(kt,{visibleRowLength:r,showRow:o[l],header:n,columnData:(a=e,a?.map(((e,i)=>({cell:e,rowHeader:t?.[i]?.title})))),isFillGradient:0===l&&i,onToggleColumn:()=>d(l),...s},String(l));var a}));return"horizontal"===a?u(xt,{onVisibleIndicesChange:h,children:m}):m})),St=e=>null!=e,It=new Map;function Rt(e,t,{fallback:i,cache:l}={}){const s=a((()=>$t(e)),[e]),[o]=(e=>Boolean(e&&Array.isArray(e)&&1===e.length&&"string"==typeof e[0]))(s)?s:[],[c,d]=n(void 0),[h,m]=n(void 0);r((()=>{!s.some(St)||(async()=>{try{const e=await(o?((e,t=It)=>i=>{const n=t.get(i);if(St(n))return n;const r=e(i);return St(r)?t.set(i,Promise.resolve(r)):t.delete(i),r})(t,l)(o):t(...s));d(e),m(void 0)}catch(e){d(void 0),m(e)}})()}),[t,l,s]);const u=i&&o&&i[o];return{data:!c&&u?u:c,error:h,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function $t(e){return Array.isArray(e)?e:e instanceof Function?$t(e()):[e]}async function At(e,t){const i=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await i.json()}const jt={};function Pt(e,t={}){const{data:i}=Rt(`/wcms-resources/${e}.json`,At,{fallback:t});return i||jt}const Lt=g((({className:e="",items:t})=>t?.length?u("ul",{className:x("flex flex-col p-0","",e),children:t.map(Bt)}):null)),Bt=(e,t)=>{const{text:i,...n}=e;return u("li",{className:"list-none mb-4 sm:mb-6 sm:last:mb-0",children:u("a",{className:"hover:text-primary-main sm:font-light",role:"link",...n,children:i||null})},`list_item_${String(t)}`)},Dt=g((({className:e="",label:t,icon:i,dataTheme:n="",disabled:r=!1,onClick:l})=>p("button",{className:x("flex justify-center w-full px-0 py-4 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:l,disabled:r,"data-theme":n,children:[u("span",{className:"text-h4 pr-3",children:t}),i?u(de,{image:{icon:i,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20"}):null]}))),zt={primary:"bg-main-divider",secondary:"bg-white/30","secondary-light":"bg-secondary-light"},Vt=g((({iconBgVersion:e="primary",...t})=>u("div",{className:x("rounded-icon p-2.5 mr-3",zt[e]),children:u(te,{...t})}))),Mt=e=>e?"ArrowUpSolidIcon":"ArrowDownSolidIcon",Ot=g((({className:e="",label:t="Развернуть",labelIcon:i,isExpanded:n,isFoldButtonOnTop:r=!0,version:l="primary",...a})=>u($,{className:x("w-full","",e),tag:"div",version:"transparent",...a,children:u(lt,{isFoldButtonOnTop:r,unfoldedByDefault:n,renderFoldableSection:({isUnfolded:e})=>u(at,{className:x("gap-5 [&>*]:p-0","flex flex-wrap group-last:last:pb-0"),isUnfolded:e,children:k(a)}),renderFoldButton:({isUnfolded:e,onToggle:n})=>Ht({version:l,label:t,labelIcon:i,isUnfolded:e,onToggle:n})})})));Ot.childrenTypes={exclude:["RollupItem"]};const Ht=({version:e,label:t,labelIcon:i,isUnfolded:n,onToggle:r})=>{const l=t||(n?"Скрыть":"Развернуть");return"primary"===e?Et({label:l,labelIcon:i,icon:Mt(n),onToggle:r}):u(Dt,{label:l,icon:n?"ArrowUpIcon":"ArrowDownIcon",onClick:r})},Et=({label:e,icon:t,onToggle:i,labelIcon:n})=>{const r=String(n?.size?.width||24),l=String(n?.size?.height||24),a=n?.icon;return p("button",{className:x("border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button",a?"py-2":"py-5"),onClick:i,children:[p("div",{className:"flex items-center group-hover/button:text-primary-main",children:[a?u(Vt,{name:a,width:r,height:l,iconVersion:n?.iconVersion}):null,e?u(ht,{size:"text-l",font:"font-normal",children:e}):null]}),t?u(te,{name:t,iconVersion:"normal",width:"24",height:"24"}):null]})},Ft=g((({className:e="",items:t,hasButton:i})=>p("div",{className:e,children:[t?.length?t.map(Ut):null,i?u(ke,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),Ut=(e,t)=>{const{type:i,text:n,description:r}=e;return p("div",{className:"mb-4",children:[u("div",{children:Xt(i,n)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},Xt=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${Jt(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})}},Jt=e=>e.replaceAll(/\D/g,""),Gt=g((({className:e="",index:t,text:i,...n})=>{const r=me(),{href:l,target:a,onClick:s}=r(n);return u("a",{className:x("",e),href:l,target:a,onClick:s,children:i||`Документ ${t}`})})),Wt=g((({title:e,links:t,className:i=""})=>p("div",{className:i,children:[u(ht,{size:"text-h6",children:e}),t?.length?u("div",{className:"flex flex-col gap-6 mt-7",children:t.map(((e,t)=>u(Gt,{index:t,...e},String(t))))}):null]}))),Yt=g((({className:e="",index:t,...i})=>{const n=me({isRemote:!0}),{href:r,target:l,text:a,onClick:s}=n(i);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:l,onClick:s,children:a||`Документ ${t}`})})),Kt=g((({className:e="",links:t})=>p("div",{className:e,children:[u("div",{className:"pt-4 xl:pt-5",children:u(ht,{size:"text-s",color:"text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex justify-start items-start gap-5 pt-4",children:t.map(((e,t)=>u(Yt,{index:t,...e},String(t))))}):null]}))),qt=g((({className:e="",...t})=>{const i=t.options?.page?.fallback,n=Pt(d.SITEMAP||"sitemap",i),{documents:r,relatedEnterprises:l,contacts:a,socialMedia:s,horizontalNavigationTitle:o}=Pt(d.FOOTER||"footer",i);return p($,{tag:"footer",className:x("px-4 py-6",e),...t,children:[u("div",{className:"mb-4 pb-5 border-b border-main-divider",children:n.topItems?.map(((e,t)=>u(Ot,{label:e?.text,labelIcon:e?.icon,children:u(Lt,{items:e.items,className:"my-3"})},String(t))))}),u(Ft,{className:"overflow-hidden",items:a}),u(Ze,{className:"mb-4",media:s}),u(ke,{className:"w-full mb-4",text:"Google Play",version:"secondary",href:"/",target:"_blank"}),u(Wt,{className:"pt-4 pb-7 border-y border-main-divider",title:o,links:l}),u(Kt,{})]})})),Qt={"bg-white":"color",transparent:"white"},Zt={"bg-white":"text-primary-main",transparent:"text-white"},ei=(e,t,i)=>u(de,t?.src?{image:t,className:Zt[e],width:i?.width,height:i?.height,pathPrefix:"/wcms-resources/"}:{image:{icon:t?.icon||"LogoIcon",iconVersion:Qt[e]},className:Zt[e],width:i?.width,height:i?.height}),ti={"bg-white":"text-primary-text",transparent:"text-white"},ii=(e,t,i)=>u("span",{className:`${ti[t]} ml-2.5 font-medium ${i||""}`,children:e||"Россельхозбанк"}),ni=g((({bgColor:e="bg-white",children:t,className:i="",href:n,logo:r,showTitle:l=!0,targetBlank:a})=>p("a",{className:`inline-flex items-center font-sans no-underline ${i}`,href:n||"https://rshb.ru/",target:a?"_blank":"_self","aria-label":r?.title||"Россельхозбанк",children:[ei(e,r?.image,{width:"34",height:"34"}),l?ii(t||r?.title,e,"text-s"):null]}))),ri={default:"px-5 bg-main-divider rounded hover:text-primary-main",transparent:"text-white hover:text-primary-hover"},li=g((({bgColor:e,logo:t,internetBankUrl:i,version:n,mobileHeaderType:r,mobileTitle:l,mobileBackwardButtonTitle:a})=>{const s="none"===r,o="withTitle"===r;return p("div",{className:"flex items-center justify-between w-full",children:[s||o?u(ni,{bgColor:e,logo:t,showTitle:s}):null,o?l:null,"backwardButton"===r?p(ke,{className:"flex items-center text-l",children:[u(de,{className:"w-6 h-6",image:{icon:"ChevronLeft",iconVersion:"black"}}),a]}):null,i?u(ke,{href:i,ariaLabel:"Войти",target:"_blank",className:x("p-3 my-1 text-s whitespace-nowrap text-primary-main hover:text-primary-hover",ri["transparent"===n?"transparent":"default"]),children:"Войти"}):null]})})),ai={"bg-white":"primary",transparent:"transparent"},si=g((({bgColor:e="bg-white",version:t=ai[e],mobileHeaderType:i="none",...n})=>{const r=n.options?.page?.fallback,{logo:l,internetBankUrl:a}=Pt(d.SITEMAP||"sitemap",r);return u($,{tag:"header",version:t,...n,children:u("div",{className:"container px-4 py-1 box-border",children:u(li,{bgColor:e,logo:l,internetBankUrl:a,version:t,mobileHeaderType:i,...n})})})})),oi=g((e=>{const{className:t,image:i,...n}=e;return u($,{className:t,...n,children:u(de,{image:i})})})),ci=g((({doc:e,icon:t})=>{const{text:i,fileSize:n,...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,i?p(ht,{size:"text-l",font:"font-light",children:[i,u(ht,{color:"text-secondary-text",children:r?.href&&di(hi(r.href),n)})]}):null]})})),di=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),hi=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},mi=g((({className:e="",title:t,description:i,icon:n={icon:"DocDownloadIcon",iconVersion:"black"},documents:r,align:l,...a})=>p($,{className:x("p-default",e),...a,children:[u(it,{isPadding:!1,title:t,description:i,align:l,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(ci,{doc:e,icon:n?u(de,{className:"min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md",image:n,width:"24",height:"24"}):null})},String(t))))}):null]}))),ui=g((({className:e="",title:t="Мобильное приложение",description:i,href:n="#"})=>u("div",{className:x("col-span-12 rounded-md cursor-pointer p-4 bg-secondary-light font-sans",e),children:n?p("div",{className:"flex",children:[u("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:u(ni,{className:"w-8",bgColor:"transparent",showTitle:!0})}),p("a",{href:n,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:i})]})]}):null}))),pi=e=>{const t="col-span-",i=e?.split(/\s+/).find((e=>e.startsWith(t)));return i?parseInt(i.substring(t.length),10):12};function gi(e=""){const t=pi(e);return t<=4?"S":t<=8?"M":"L"}function bi(e=""){const t=pi(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function xi(e=""){const t=pi(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const fi=g((({className:e,title:t,description:i="Блок в разработке...",...n})=>p($,{className:x("p-9 box-border",e,xi(e),bi(e)),...n,children:[u(it,{className:"!p-0 max-w-[600px]",title:t,description:i,headlineVersion:gi(e)}),u("figure",{className:"m-0 min-w-[80%]",children:yi()})]}))),yi=(e=3)=>Ni(100,e).map((e=>Math.floor(e))).map(vi),vi=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Ni=(e,t)=>[e].concat(t>0?Ni(e/1.618,t-1):[]),wi=g((e=>{const{__html:t="",richVersion:i=""}=e;return u("div",{className:x(i,"md-container"),dangerouslySetInnerHTML:{__html:t}})})),ki=g((({className:e,title:t="",insetTitle:i="",buttons:n,leftImage:r,rightImage:l,backImage:a,children:s})=>p("div",{className:x("relative flex flex-col font-sans",e),children:[a?u("div",{className:"absolute bottom-0 right-0 z-0",children:a}):null,t,p("div",{className:"grow relative flex flex-wrap sm:flex-nowrap justify-between items-stretch gap-8",children:[Ci(r),p("div",{className:x("flex flex-col gap-8",r?"":"grow"),children:[i,u("div",{className:"grow",children:s}),n]}),Ci(l,{className:"-order-1 sm:order-1"})]})]}))),Ci=(e,{className:t}={})=>e?u("div",{className:x("flex-none",t),children:e}):null,Ti=g((({className:e,icon:t,label:i,description:n,version:r="primary",benefitsVersion:l="normal"})=>p("div",{className:x("flex gap-5",n?"items-start":"items-center",e),children:[t?u("div",{className:_i(r,l),children:u(de,{className:"w-6 h-6",image:{...t,iconVersion:t.iconVersion||l}})}):null,p("div",{children:[i?u(ht,{size:"text-h6",color:"text-primary-text group-data-secondary:text-white",children:i}):null,n?u(et,{size:"text-m-light",color:"text-secondary-text group-data-secondary:text-white",children:n}):null]})]})));function _i(e,t){let i="bg-primary-main text-black";return"secondary"===e?i="bg-white/30 text-black":"normal"===t&&(i="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 ${i}`}const Si=(e="primary",t="normal")=>(i,n)=>u(Ti,{version:e,benefitsVersion:t,...i},String(n)),Ii=g((({className:e,version:t="primary",headlineVersion:i="L",title:n,description:r,benefits:l,benefitsVersion:a,items:s,isDotted:o=!0,__html:c,buttons:d,image:h,directionRight:m=!0})=>{const g=l?.filter((e=>e.label)),b=h?.src?u(de,{className:"mt-[-50px]",image:h}):null;return p(ki,{className:e,insetTitle:u(it,{className:"max-w-[600px] xl:max-w-[728px]",title:n,description:r,headlineVersion:i,align:"text-left",isPadding:!1}),...m?{rightImage:b}:{leftImage:b},buttons:ot(d),children:[g?.length?u("div",{className:"flex flex-wrap gap-6",children:g.map(Si(t,a))}):null,c?u("div",{className:"mt-5",children:u(wi,{__html:c})}):null,s?.length?u(Ge,{className:"mt-5",items:s,isDotted:o}):null]})}));function Ri({text:e,href:t,target:i,icon:n},r){const l="primary"===r?"white":"black",a={text:e,href:t,target:i,ariaLabel:e};return p("div",{className:"flex items-center gap-3",children:[u(ke,{className:"w-12 h-12 min-h-12 min-w-12 flex items-center justify-center",version:r,rounded:!0,...a,children:u(de,{className:"w-4 h-4",image:{...n,icon:n?.icon||"ArrowLeftIcon",iconVersion:n?.iconVersion||l}})}),u(ke,{version:"link",...a})]})}const $i=g((({className:e,backwardButton:t,...i})=>p($,{className:x("overflow-hidden p-default flex flex-col gap-10 box-border",e),...i,children:[t?.text?Ri(t,i.version&&"primary"!==i.version?"white":"primary"):null,u(Ii,{className:"grow",...i})]}))),Ai=g((({className:e="",slides:t=[],...i})=>{const n=t.map((e=>e.productBlock));return u($,{className:`box-border py-6 overflow-hidden relative w-100 mb-6 ${e}`,...i,children:u(xt,{gap:0,padding:0,children:n.map(((e,t)=>ji({...e,...i},t)))})})})),ji=(e,t)=>u(Ii,{className:"z-10 px-5 group-data-secondary:text-white",...e},String(t)),Pi=g((e=>{const{__html:t,richVersion:i,...n}=e;return u($,{...n,children:u(wi,{__html:t,richVersion:i})})}));function Li(e){throw new Error(e)}const Bi={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},Di={normal:"min-h-[70px]",small:"min-h-12"},zi={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"},Vi=g((({className:e="",title:t,description:i,showLines:n=!0,steps:r,size:l="normal",version:a="primary",...s})=>p($,{className:`box-border px-4 py-6 flex flex-col ${e}`,version:a,...s,children:[t?u(Me,{headingType:"h3",className:"text-center",title:t}):null,i?u("p",{className:`text-m-light text-center ${zi.description} ${t?"mt-2":""}`,children:i}):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(Mi(l,a,n))})}):null]}))),Mi=(e,t,i)=>(n,r,l)=>{const{type:a}=n;if("default"!==a&&"rte"!==a)return null;switch(a){case"default":return Oi(e,t,i)(n,r,l);case"rte":return u(wi,{__html:n.__html});default:Li(n)}},Oi=(e,t,i)=>(n,r,l)=>{const a=l.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:[Hi(e,t)(n,r),a?null:u("div",{className:`min-h-8 h-full w-0.5 ${i?zi.iconConnector:""} ${s}`})]}),p("div",{className:`flex flex-col justify-center h-fit ${Di[e]}`,children:[n.label?u("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:n.label}):null,n.description?u("div",{className:`text-s ${zi.description} text-left`,children:n.description}):null]})]})},String(r))},Hi=(e,t)=>(i,n)=>{const r="normal"===e?"38":"27",l="secondary"===t?"white":"color";return u("div",{className:`${Bi[e]} ${zi.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:(a=i?.icon,Boolean(a?.icon||a?.src)?u(de,{image:{...i.icon,iconVersion:i.icon?.iconVersion||l},width:r,height:r}):u("span",{children:n+1}))})});var a},Ei={Buttons:({buttons:e})=>ot(e,{className:"mt-3",buttonClassName:"w-12 h-12"}),Img:({image:e})=>e?.src?u(de,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>u(Ge,{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]})},Fi=g((({title:e,icon:t})=>p("div",{className:"flex gap-2.5 mb-2",children:[e?u(Me,{headingType:"h3",className:"font-medium",title:e}):null,t?u(de,{className:"ml-auto min-w-6",image:t,width:"24",height:"24"}):null]}))),Ui=g((({tile:e,...t})=>p("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[u(Fi,{...e?.header}),e?.data?.length?e.data.map(((e,i)=>p("div",{children:[i>0?u("div",{className:"h-5"}):null,Xi(e,t)]},String(i)))):null]})));function Xi(e,t){if(!e||!e.tableCellType||!(e.tableCellType in Ei))return null;const i=Ei[e.tableCellType];return u(i,{displayTable:()=>null,isVisible:!0,...e,...t})}const Ji=g((({tiles:e,...t})=>e?.length?u(xt,{...t,children:e.map(((e,i)=>u(Ui,{tile:e,...t},String(i))))}):null)),Gi=g((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,i)=>u(Ui,{tile:e,...t},String(i))))}):null)),Wi=g((({className:e,title:t,description:i,tariffsColumns:n,rowHeaders:r,orientation:l="vertical",...a})=>{const s=Yi(n),o=Ki(r,s);return p("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?u(Me,{headingType:"h2",className:`text-center ${i?"mb-2":"mb-5"}`,title:t}):null,i?u("div",{className:"mb-5 text-center text-m",children:i}):null,u("vertical"===l?Gi:Ji,{tiles:o,...a})]})})),Yi=e=>e?.[0]?.data?e[0].data:[],Ki=(e,t)=>e?.map(((e,i)=>({header:e,data:t?.[i]||[{}]}))),qi=g((({className:e="",title:t,description:i,iconVersion:n,image:r,__html:l,items:a=[],...s})=>p($,{className:x("px-9 py-4 flex gap-3 bg-white group-data-secondary:bg-primary-main/10",e),...s,children:["small"===n?u("div",{className:"mt-1",children:Qi()}):null,"big"===n?Zi(r):null,p("div",{className:"flex flex-col w-fit gap-3",children:[t?u(ht,{size:"text-l",font:"font-medium",color:"text-primary-text group-data-secondary:text-white",children:t}):null,i?en(i):null,a?.length?tn(a,!0):null,l?u(wi,{__html:l}):null]})]}))),Qi=()=>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"}),Zi=e=>e?.src?u(de,{className:"h-fit",image:e}):null,en=e=>u(et,{size:"text-s",color:"text-secondary-text group-data-secondary:text-white",children:e}),tn=(e,t)=>u("ul",{className:x("text-secondary-text group-data-secondary:text-white/80",t?"list-disc pl-6":""),children:e.map(((e,t)=>u("li",{children:u(ht,{size:"text-s",font:"font-light",children:e})},`listItem-${t}`)))}),nn={XXL:"gap-12",XL:"gap-10",L:"gap-8",M:"gap-4",S:"gap-2",XS:"gap-1","":""},rn={stretch:"items-stretch",left:"items-start",center:"items-center",right:"items-end"},ln=g((({className:e="",gap:t="",align:i="stretch",isPadding:n=!1,isInnerPadding:r=!0,version:l="transparent",isTheme:a=!1,...s})=>{const o=r?"":"!p-0";return u($,{className:x("relative","flex flex-col [&>*]:max-w-full",n?"p-default":"",nn[t],i&&rn[i],e),version:l,isTheme:a,...s,children:k({...s,renderProps:(e,t)=>v(e,t,{className:o})})})}));ln.childrenTypes=[];const an={Carousel:Pe,CarouselTariffsCard:ut,ComparisonTable:Tt,Footer:qt,Header:si,Headline:it,ImgBlock:oi,LinkDocs:mi,MobileAppTile:ui,Placeholder:fi,ProductBlock:$i,StepsBlock:Vi,TariffsTable:Wi,TextBlock:qi,RichTextBlock:Pi,RollupItem:Ot,VerticalLayout:ln,CarouselRecommendationCard:nt,CarouselProgramsCard:He,ProductGallery:Ai};function sn(e=!1){const[t,i]=n(e),r=l((()=>i(!0)),[]),a=l((()=>i(!1)),[]),s=l((()=>i((e=>!e))),[]);return[t,{setValue:i,setTrue:r,setFalse:a,toggle:s}]}const on=["Header","Footer"],cn=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function dn(e=globalThis){const t=s(new Map);r((()=>I.subscribe("intersection",(({block:e,intersection:i})=>{t.current&&t.current.set(e,i)}))),[]),r((()=>{const i=((e,t=600)=>{let i;const n=(...r)=>{n.dispose(),i=setTimeout((()=>{e(...r)}),t)};return n.dispose=()=>{i&&clearTimeout(i)},n})((()=>{!function(e){const t=`#${i=e?.anchor,i?.replace("#","")||""}`;var i;globalThis.location?.hash!==t&&globalThis.history?.replaceState(globalThis.history?.state,"",t)}(globalThis.scrollY>3*globalThis.innerHeight/4?function(e){const t=e.filter((([e])=>!on.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[i]=t.length>0?F(cn)(t):[];return i}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",i),()=>{i.dispose(),e.removeEventListener("scroll",i)}}),[e])}const hn=g((({className:e,onClick:t})=>u("button",{className:x("flex justify-center items-center w-12 h-12 p-1 bg-transparent border-none",e),onClick:t,title:"Закрыть",children:u(de,{image:{icon:"CloseIcon"},width:"24",height:"24"})})));function mn({onOpen:e,onClose:t}={}){r((()=>T.subscribe("dialog",(i=>{switch(i.type){case"open":e&&e(i);break;case"close":t&&t();break;default:Li(i)}}))),[e,t])}const un="cookieClose",pn=g((({termLink:e,personalDataPolicyLink:t})=>{const{isOpened:i,onClose:r}=function(e,t=!1){const[i,{setTrue:r,setFalse:a}]=sn(t),[o,c]=n({id:e}),d=s(i);d.current||=i,mn({onOpen:l((t=>{t.id===e?(c(t),r()):a()}),[e]),onClose:a});const h=l((()=>{a(),T.fire("dialog",{type:"close"})}),[]);return{...o,isOpened:i,wasOpened:d.current,onClose:h}}("cookie",!globalThis.localStorage?.getItem(un)),a=l((()=>{globalThis.localStorage?.setItem(un,"true"),r&&r()}),[r]);return i?u("div",{className:"container z-40 fixed bottom-0 left-0 right-0 pointer-events-none",children:p("div",{className:"bg-white m-6 p-6 rounded-md flex items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:[u("div",{className:"flex-1",children:p(et,{size:"text-s-light",color:"text-primary-text",children:["АО «Россельхозбанк» использует",u(Oe,{isRemote:!0,className:x(gn(e?.href)),...e,children:"cookie"}),"(файлы с данными о прошлых посещениях сайта) для персонализации сервисов и удобства пользователей. Вы можете запретить сохранение cookie в настройках своего браузера.",u(Oe,{isRemote:!0,className:x(gn(t?.href)),...t,children:"Обработка Ваших персональных данных"}),"производится в соответствии с требованиями Федерального закона от 27.07.2006 № 152-Ф3 «О персональных данных»."]})}),u("div",{className:"w-24 flex justify-end",children:u(hn,{className:"bg-main-gray rounded-md",onClick:a})})]})}):null})),gn=e=>["inline mx-1",e?"text-green-dark":""],bn=m();const xn=g((({className:e,onClick:t,ariaLabel:i})=>u("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":i,children:fn()}))),fn=()=>{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"})]})},yn=g((({className:e=""})=>{const t=function(e){const[t,i]=n(0);return r((()=>{(async()=>{const[t]=await bn.getLikeCount(e);i(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{i(await bn.like(e))}),[e]),dislike:l((async()=>{i(await bn.dislike(e))}),[e])}}(G().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(xn,{onClick:he(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(xn,{onClick:he(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),vn=g((e=>{const{className:t="",blocksRegistry:i,blockDecorator:n,data:r={}}=e,{style:l,blocks:a,slots:s,likeControl:o,colorPalette:c="pc"}=r,d={key:"",page:r,blocksRegistry:i,blockDecorator:n,parent:r};dn();const[h,{setTrue:m,setFalse:g}]=sn();return mn({onOpen:m,onClose:g}),p("section",{className:x("relative",l,t,h?"overflow-hidden h-screen":""),"data-theme":c,children:[s?.header?u("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:w(s?.header,{...d,slotName:"header"})}):null,p("div",{className:"container grid grid-cols-12 gap-1",children:[w(a,d),s?.footer?w(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(yn,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null,u(pn,{termLink:{href:"/pd-policy#cookie",target:"_blank"},personalDataPolicyLink:{href:"/pd-policy",target:"_blank"}})]})}));vn.childrenTypes=[],vn.slots=()=>["header","footer"];e.Blocks=an,e.ContentPage=vn,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))))))(),i=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await i.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=m,e.handlerDecorator=he,e.joinList=e=>t=>t.reduce(((t,i,n)=>t.length?t.concat({...e,key:`sep-${n}`},i):[i]),[]),e.packageVersion="0.11.2",e.projectSettings=d,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=q,e.useRouter=G,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 i=e=>(...i)=>t[e](...i),n=i("useState"),r=i("useEffect"),l=i("useCallback"),a=i("useMemo"),s=i("useRef");const o=e=>e&&!e.endsWith("/")?`${e}/`:e,c={PROD_BRANCH:"master"},d=new class{_=c;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||c.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 o(this._.CDN)}get BASE_PATH(){return o(this._.BASE_PATH)}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},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:i}=await e.json();return globalThis.localStorage?.setItem(m,JSON.stringify({token:t,name:i})),{token:t,name:i}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i},body:JSON.stringify({node_ids:t})}),{likes:n}=await e.json();return n||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:i,name:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i,UserID:n},body:JSON.stringify({node_id:t,user_name:n})}),{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:i,name:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i,UserID:n},body:JSON.stringify({node_id:t,user_name:n})}),{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,i){const{children:n,...r}=t||{},l=i?.slots?.default,a=n||l&&l();return e(Object.assign(r,a&&{children:a}),i)}return t.inheritAttrs=!1,t};class f{subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const i=this.subjectsStateMap[e];return i&&t(i),()=>{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 x=new f;function v(e,{sensitivity:t,rootRef:i}={}){const n=s(null),l=a((()=>({threshold:y(t),root:i?.current})),[t,i?.current]);return r((()=>{if(!n.current)return;const t=new IntersectionObserver(e,l);return t.observe(n.current),()=>{t.disconnect()}}),[e,l]),n}function y(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,i)=>Math.min(i/t)),1).concat(1)}const N=new f;const w=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),k={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","":""},C=g((({className:e,version:t="primary",isTheme:i=!0,block:a,tag:s="section",role:o,children:c})=>{const d=s,m=function(e){return v(l((t=>{if(!e||!t?.length)return;const i=t[t.length-1];N.fire("intersection",{block:e,intersection:i})}),[e]),{sensitivity:1})}(a),[h,p]=n(!1);return r((()=>x.subscribe("tab",(e=>{p(Boolean(e.label&&a?.labels?.length&&!a.labels.includes(e.label)))}))),[a]),u(d,{className:w(T(Boolean(t&&i)),k[t],h?"hidden":"",e),...t&&i?{"data-ver":t}:{},...a?.anchor?{id:a.anchor,ref:m}:{},role:o,children:c})})),T=e=>e?"group":"";function _(){return _._impl()}_._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),_.setup=e=>{_._impl=e};const S=e=>Boolean(e?.includes(":")),I=(e,t)=>Boolean(e&&!S(e)&&(!t||"_self"===t)),R=(...e)=>e.filter(Boolean).join("/").replace(/\/+/g,"/");var B=Object.freeze({__proto__:null,isURL:S,isLocalURL:I,isHash:e=>Boolean(e?.startsWith("#")),withoutQuery:e=>(e||"").replace(/\?.*/,"").replace(/\/$/,""),joinPath:R});const $=e=>(t,i=d.BASE_PATH)=>{if(!t||S(t)||A(t,d.CDN))return t;const n=t.startsWith("/");return R(A(t,i)?"":i,n?"/":e.pathname?.split("/").slice(0,-1).join("/"),t)},A=(e,t)=>t&&e&&e.startsWith(t),j={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},P=g((({className:e="",imageClassName:t="",name:i="",alt:n=`Иконка ${i}`,title:r=n,iconVersion:l="color",...a})=>{const s=_(),o=$(s)(R(d.CDN,"/icons",`${i}.svg`));return"normal"!==l?u(D,{className:e,children:p("svg",{className:w(L(a.width),j[l],"white"===l?"invert":"",t),...a,"aria-hidden":"true",children:[r?u("title",{children:r}):null,n?u("desc",{children:n}):null,u("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]})}):(e.includes("h-")||(a.style={height:`${a.height}px`}),u("img",{className:e,src:o,alt:n,title:r,"aria-hidden":"true",...a}))})),L=e=>e?"":"w-full h-full",D=g((({className:e,children:t})=>e?u("div",{className:e,children:t}):t)),z=(e,t)=>e?.media&&t?.media?e.media-t.media:0,V=g((({className:e="",image:t,imageClassName:i="",isMobile:n=!1,pathPrefix:r})=>{const l=_();return p("picture",{className:`${n?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.filter((e=>e?.src)).sort(z).map((({src:e,format:i,media:n},a)=>u("source",{srcSet:O(l,r)(e),type:F(i),media:n?`(max-width: ${n}px)`:"",...t.size},`${a}_${e}`))):null,t?.src?M({...t,src:O(l,r)(t.src)},i,n):null]})})),M=(e,t="",i=!1)=>{const n={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"auto"},r=e.title||"",l=e.alt||e.title,a=i?"m-auto":"m-0";return u("img",{src:e.src,className:`${a} ${t}`,alt:l,title:r,style:n,...e.size})},O=(e,t)=>i=>i&&!S(i)?$(e)(R(t,i)):i,F=e=>e?`image/${String(e)}`:void 0,H=g((({className:e="",image:t,imageClassName:i="",isMobile:n,pathPrefix:r,...l})=>t?.src||t?.icon?t.icon?u(P,{className:e,imageClassName:i,iconVersion:t?.iconVersion,name:t.icon,...l}):u(V,{className:e,imageClassName:i,image:t,isMobile:n,pathPrefix:r}):null)),E=g((e=>u(H,{...e,isMobile:!0}))),U=(e,t)=>U._impl(e,t);function X(e={}){const{isRemote:t,basePath:i}=e,n=_(),{close:r}=((e="")=>({open:t=>x.fire("dialog",{type:"open",id:e,message:t}),close:()=>x.fire("dialog",{type:"close"})}))();return e=>({...e,href:t&&!i?e.href:$(n)(e.href,i),"aria-label":e.text,onClick:U(l(e),e)});function l({href:e,target:i,onClick:l}){return a=>{l&&l(a),e&&!t&&I(e,i)&&(r(),a?.preventDefault(),n.push(e))}}}U._impl=e=>e,U.setup=e=>{U._impl=e};const J={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","":""},G="bg-main-divider text-main-disabled",W={primary:G,secondary:G,white:G,link:"",transparent:"",gray:G,"":""},Y="text-center font-sans select-none",K={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","":""},q=g((e=>{const{text:t,aboveText:i,appendLeft:n,appendRight:r,version:l="primary"}=e;return p("div",{className:w(Q(e),"flex gap-2"),children:[n?u("div",{className:K[l],children:n}):null,Z(e)?p("div",{children:[i?u("div",{className:"text-xs-light text-left",children:i}):null,u("div",{className:"text-left "+(i?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?u("div",{className:K[l],children:r}):null]})})),Q=e=>{const{version:t,aboveText:i,rounded:n}=e;if("link"===t)return"";const r=""+(i?"py-2.5 px-7":"py-4 px-4");return["group/btn items-center justify-center",Z(e)?r:"h-12 w-12",n?"rounded-full":""].join(" ")},Z=({text:e,aboveText:t,appendLeft:i})=>Boolean(e||t||!i),ee=({className:e,rounded:t,version:i})=>["inline-block",Y,i?W[i]:"",t?"rounded-full":"rounded-md",e].join(" "),te=({className:e,rounded:t,version:i})=>[Y,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit",i?J[i]:"",t?"rounded-full":"rounded-md",e].join(" "),ie=g((({disabled:e,children:t,...i})=>{const n=X()(i),r=t??u(q,{...n});return u(e?re:ne,{...n,children:r})})),ne=g((({className:e="",href:t,rel:i,target:n,ariaLabel:r,version:l,rounded:a,onClick:s,children:o})=>u("a",{className:te({className:e,version:l,rounded:a}),href:t,rel:i,target:n,"aria-label":r,role:t?"link":"button",onClick:s,children:o}))),re=g((({className:e,ariaLabel:t,version:i,rounded:n,children:r})=>u("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:ee({className:e,rounded:n,version:i}),children:r}))),le=(e,{className:t="",buttonClassName:i,isVertical:n}={})=>e?.length&&e.some((e=>e?.text||e?.icon?.icon))?u("div",{className:w("flex",n?"flex-col gap-2 justify-items-stretch":"flex-wrap gap-4",t),children:e.map(ae(i))}):null,ae=(e="")=>(t,i)=>{const{text:n,icon:r,iconRight:l,version:a,...s}=t||{},o="secondary"===a?"color":"white",c=r?.iconVersion?r?.iconVersion:o;return n||r?.icon?u(ie,{className:w("basis-full sm:basis-auto",e),appendLeft:se({...r,iconVersion:c}),appendRight:se({...l,iconVersion:c}),version:a,text:n,...s},i?String(i):""):null},se=e=>e?.icon||e?.src?u(E,{image:e,width:String(e?.size?.width||24),height:String(24)}):null,oe=g((({buttons:e,className:t,...i})=>u(C,{className:w("!bg-transparent",t),...i,children:le(e)}))),ce=e=>e,de=(e=0)=>(t=0)=>new Intl.NumberFormat("ru-RU",{minimumFractionDigits:0,maximumFractionDigits:e}).format(Number(t)||0),me=g((({children:e,...t})=>u("span",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),he=g((({key:e,className:t="",inputClassName:i="",id:n,name:r,type:a="text",label:s,placeholder:o,value:c="",valid:d=!0,children:m,onChange:h,onFocus:g,onBlur:b,pattern:f})=>{const x=l((e=>{h&&h(e.target?.value||"")}),[h]),v=m?"pr-8":"",y=d?"border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text":"border-error";return p("div",{className:w("relative",t),children:[p("label",{children:[s?u("div",{className:"mb-2",children:u(me,{size:"text-m",font:"font-light",children:s})}):null,u("input",{className:w("w-full border rounded-md text-primary-text outline-none p-4",v,y,i),id:n,name:r||n,placeholder:o,type:a,value:c,onInput:x,onFocus:g,onBlur:b,pattern:f},e)]}),m]})})),ue=g((e=>{const{onChange:t,min:i,max:r,defaultValue:a="0",fractionDigits:s=0,...o}=e,c=((e,{normalize:t,format:i})=>{const{value:r,onFocus:a,onBlur:s,onChange:o}=e,[c,d]=n(!1),m=l((e=>{d(!0),a&&a(e)}),[]),h=l((()=>{d(!1),o&&o(t(r)),s&&s()}),[o,r]);return{value:c||!i?r:i(r),onFocus:m,onBlur:h}})(e,{normalize:(e=a)=>i&&r?String(((e,t,i)=>Math.max(t,Math.min(e,i)))(Number(pe(e)),i,r)):pe(e),format:de(s)}),d=l((e=>t&&t(pe(e))),[t]);return u(he,{onChange:d,...o,...c})})),pe=(e="")=>e.replaceAll(",",".").replace(/[^\d.]/g,"").replace(/([^.]*\.[^.]*)\./,"$1"),ge=g((e=>u(ue,{...e,fractionDigits:2,children:u("div",{className:"absolute right-4 bottom-4",children:u(me,{size:"text-xl",font:"font-light",children:"₽"})})}))),be={h1:"h1",h2:"h1",h3:"h2",h4:"h2",h5:"h3",h6:"h3"},fe={h0:"text-h0",h1:"text-h1",h2:"text-h2",h3:"text-h3",h4:"text-h4",h5:"text-h5",h6:"text-h6"},xe=g((({className:e="",headingType:t="h3",as:i="h3",title:n,children:r})=>{const l=be[i]||"h3";return u(l,{className:`font-sans m-0 ${fe[t]} ${e}`,children:n||r})})),ve="amount",ye={[ve]:1500},Ne=g((({className:e="",title:t="Укажите сумму перевода",label:i="Сумма перевода",placeholder:r="1500",button:a,...o})=>{const[{amount:c},{field:d}]=((e,t)=>{const[i,r]=n(e),[a,o]=n(!1),[c,d]=n({}),m=s({}),h=l(((e,t)=>{const{parse:n=ce,format:l=ce}=t||{};return m.current||(m.current={}),m.current[e]||=t=>{r((i=>({...i,[e]:n(t)}))),d((t=>({...t,[e]:!0})))},{value:l(i[e]),isDirty:a||c[e],onChange:m.current[e]}}),[i,a,c]),u=l((()=>{r(e),o(!1),d({})}),[e]),p=l((e=>{e.preventDefault(),o(!0),t&&t(i)}),[t,i]);return[i,{isDirty:a||Object.values(c).some(Boolean),field:h,reset:u,onSubmit:p}]})(ye),m=c<=0,h=m?ee({version:a?.version}):te({className:"text-white",version:a?.version}),g=X();return p(C,{className:w("p-default flex flex-col items-center",e),...o,children:[t?u(xe,{className:"pb-5 xl:pb-9 self-start xl:self-center",headingType:"h2",title:t}):null,p("form",{className:"w-full xl:max-w-[468px]",method:"POST",action:"https://www.rshb.ru/p2p/",children:[u(ge,{name:ve,valid:!m,placeholder:r,label:i,...d(ve,{parse:Number,format:String})}),a?.text?u("button",{type:"submit",className:w("w-full p-4 mt-5 xl:mt-6",h),disabled:m,...g(a),children:a.text}):null]})]})})),we=({blockClassName:e,block:t,render:i})=>i({blockClassName:e,block:t}),ke=[];function Ce(e,t,{className:i,...n}={}){const{key:r,blockDecorator:l=we,blocksRegistry:a={},ancestors:s=ke}=t,{type:o}=e;o&&o in a||console.warn(`No block with "${o}" is registered`);const c=o&&a[o];return l({blockClassName:w("scroll-mt-12",i,e.style||"col-span-12"),block:e,ancestors:s,render:({block:i,blockClassName:l})=>{const{content:a}=i;return c?u(c,{className:l,block:e,options:t,...a,...n},r):null}},r)}const Te=[],_e=(e,{key:t,ancestors:i=Te,slotName:n=null,renderProps:r=Ce,...l})=>(e||[]).map(((e,a)=>r(e,{...l,key:`${t||e.type}-${a}`,ancestors:l.parent?[...i||Te,[l.parent,n]]:i})));function Se({children:e,block:t,options:i,renderProps:n}){return e||(t&&i?_e(t.blocks,{...i,parent:t,renderProps:n}):null)}const Ie=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`}),Re=g((({className:e="",style:t,idx:i,activeIndex:n,observerOptions:r,children:a,onIntersection:s})=>{const o=v(l((e=>{e.length&&s&&s(i||0,e[e.length-1])}),[s,i]),r);return u("div",{className:`inline-block snap-always box-border ${e}`,style:t,"aria-current":Boolean(i===n),ref:o,children:a})})),Be=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],$e=g((({className:e="",containerRef:t,activeIndex:i,visibleItemCount:n=0,gap:r=0,padding:a=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([]),f=l(((e,t)=>{const i=[...b.current||[]];i[e]=t,b.current=i,h&&h(i),p&&p(je(i))}),[h,p]),x=n>0?r*Number(n)-1:0,v="vertical-list"===o,y="horizontal-list"===o,N={...y?Ae(a,x):{},...v?Ie(d):{},gap:`${r}px`};return u("div",{className:w("box-border overflow-auto no-scrollbar",o,e),style:N,ref:t,children:(k=(e,t)=>u(Re,{className:w(c,n?Be[n-1]:"",v?"h-full":""),style:y?Ae(a/4):{},activeIndex:i,idx:t,observerOptions:g,onIntersection:f,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(k):k(e,0))(m)});var k})),Ae=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),je=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),Pe={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},Le={"horizontal-list":"w-6","vertical-list":"h-6"},De=g((({containerRef:e,activeIndex:t,dotCount:i=0,listType:n="horizontal-list",version:r})=>i?u("div",{className:w("flex gap-2",Pe[n],r?"group":""),...r?{"data-ver":r}:{},children:new Array(i).fill(null).map(((i,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?Le[n]:"w-2 h-2 opacity-30"}`,role:"button","aria-hidden":!0,onClick:()=>(i=>{i!==t&&e?.current&&e.current.children[i]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(r)},String(r))))}):null)),ze=e=>e,Ve=(e=ze)=>t=>t.reduceRight(((t,i)=>e(t)>e(i)?t:i)),Me=(e=ze)=>Ve((t=>-e(t))),Oe=e=>t=>e.scrollWidth/t,Fe=e=>(t,i)=>{e.scrollBy({left:i*Oe(e)(t),behavior:"smooth"})},He=({itemCount:e,isCyclic:t,onVisibleIndicesChange:i})=>{const r=s(null),[a,o]=n([]),c=l((e=>{o((t=>{return(i=t)===(n=e)||Boolean(i&&n&&i?.length===n?.length&&i.every(((e,t)=>e===n[t])))?t:e;var i,n})),i&&i(e)}),[e]),[d,m]=a.length?[Me()(a),Ve()(a)]:[-1,-1],h=d>0,u=m<e-1,p=l((()=>{var i;r.current&&(t&&!h?(i=r.current).scrollTo({left:i.scrollWidth,behavior:"smooth"}):Fe(r.current)(e,-1))}),[t,e,h]),g=l((()=>{r.current&&(t&&!u?r.current.scrollTo({left:0,behavior:"smooth"}):Fe(r.current)(e,1))}),[e,t,u]);return[r,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]},Ee=g((({className:e,disabled:t,...i})=>u(ie,{rounded:!0,className:`group/btn shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${t?"bg-secondary-light text-secondary-text":"bg-white text-primary-text hover:text-primary-main"} ${e||""}`,disabled:t,...i,children:u(E,{className:"w-4 h-4 min-w-4 min-h-4 rounded-full box-border",image:{icon:"ArrowLeftIcon",iconVersion:"black"},imageClassName:"group-hover/btn:text-primary-main",width:"16",height:"16"})}))),Ue=g((e=>u(Ee,{...e,ariaLabel:"Пролистать влево","data-block-control":"scroll-left"}))),Xe=g((e=>u(Ee,{...e,className:`${e.className||""} rotate-180`,ariaLabel:"Пролистать вправо","data-block-control":"scroll-right"}))),Je="absolute top-[calc(50%-24px)] z-40",Ge="absolute top-0 bottom-0 z-40 w-[84px] pointer-events-none",We=g((({scroll:e,arrowsPadded:t,isBlur:i,onScrollLeft:n,onScrollRight:r,hasEdgeBlocks:a,activeIndex:s,itemCount:o})=>{const{canScrollLeft:c,canScrollRight:d,scrollLeft:m,scrollRight:h}=e,g=a?s>0:c,b=a?s<o-1:d,f=l((()=>{a?(c&&s!==o-1&&m(),n()):m()}),[m,n,a,c,s,o]),x=l((()=>{a?(d&&0!==s&&h(),r()):h()}),[h,r,a,c,s,o]);return p("div",{children:[Ye(i,e),g?u(Ue,{className:w(Je,t?"left-8":"left-0"),onClick:f}):null,b?u(Xe,{className:w(Je,t?"right-8":"right-0"),onClick:x}):null]})})),Ye=(e,t)=>e?p("div",{children:[t.canScrollLeft?u("div",{className:w(Ge,"left-0 bg-opacity-from-white")}):null,t.canScrollRight?u("div",{className:w(Ge,"right-0 bg-opacity-to-white")}):null]}):null,Ke=g((({className:e="",itemCount:t,visibleItemCount:i,isBlur:r=!0,isCyclic:a=!1,arrowsPadded:s=!0,isPadding:o=!0,showDots:c=!1,isAlignCenter:d=!1,...m})=>{const{blocks:h=[]}=m.block||{},g=t||h?.length,[b,f]=n(Math.floor((i||0)/2)),x=l((()=>f((e=>e+1))),[]),v=l((()=>f((e=>e-1))),[]),[y,N]=He({itemCount:g,isCyclic:a}),[k]=N.visibleIndicesRange,T=h&&"CarouselBankHistoryCard"===h[0]?.type;return u(C,{className:w(qe(o),"group-data-secondary:bg-primary-main group-data-secondary:text-white",e),...m,children:p("div",{className:w(Qe(d),"relative max-w-full"),children:[u($e,{containerRef:y,visibleItemCount:i,snapAlign:"snap-start",gap:16,onVisibleIndicesChange:N.handleVisibleIndicesChange,children:Se({...m,renderProps:T?(e,t)=>Ce(e,t,{blocksLength:h?.length,activeIndex:b}):Ce})}),u(We,{scroll:N,isBlur:r,arrowsPadded:s,onScrollLeft:v,onScrollRight:x,hasEdgeBlocks:T,activeIndex:b,itemCount:g}),c?Ze(y,k,g):null]})})}));Ke.childrenTypes=["CarouselCard","CarouselBankHistoryCard","CarouselCatalogCard","CarouselInvestmentCard","CarouselProductCard","CarouselProgramsCard","CarouselRecommendationCard","CarouselTariffsCard","CarouselRichTextCard","CarouselInvestmentCard","CarouselEventCard"];const qe=e=>e?"p-default":"",Qe=e=>e?"flex justify-center":"",Ze=(e,t,i)=>u(De,{containerRef:e,activeIndex:t,dotCount:i,listType:"horizontal-list"}),et=g((({className:e="",href:t,target:i,isRemote:n=!1,children:r})=>{const l=X({isRemote:n})({href:t,target:i});return u(t?"a":"div",{className:w("block",e),...t?l:{},children:r})})),tt=g((({className:e="",title:t,icon:i,list:n=[],href:r,target:l,...a})=>u(C,{className:w("border border-gray",e),...a,children:p(et,{className:"flex",href:r,target:l,children:[p("div",{className:"w-[200px] min-w-[200px] self-center",children:[i?.icon?u(E,{image:i}):null,i?.src?u(E,{image:i}):null]}),p("div",{className:"p-8 pl-3 w-full",children:[t?u(xe,{className:"mb-3.5",headingType:"h5",title:t}):null,n.length?u("div",{className:"flex flex-col gap-3",children:n?.map(it)}):null]})]})}))),it=(e,t)=>p("div",{className:"break-words",children:[e.title?u("div",{className:"text-h6",children:e.title}):null,e.description?u("span",{className:"text-l-light mt-1",children:e.description}):null]},String(t)),nt={L:"w-1.5 h-1.5 mr-4",M:"w-1.5 h-1.5 mr-3",S:"w-1 h-1 mr-2"},rt=g((({className:e,isDotted:t=!0,children:i,size:n="M"})=>p("div",{className:w("font-sans flex",e),role:"listitem",children:[t?u("div",{className:"shrink-0",children:u("div",{className:w("align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white",nt[n])})}):null,u("span",{children:i})]}))),lt={S:"text-l-light",M:"text-h6",L:"text-h5"},at={S:"ml-2",M:"ml-3",L:"ml-4"},st=g((({className:e,hasIndent:t,isDotted:i,items:n,listItemSize:r="M"})=>n?.length?u("section",{className:w("flex flex-col gap-2 text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text",lt[r],t?at[r]:"",e),role:"list",children:n.map(((e,t)=>u(rt,{isDotted:i,size:r,children:e},String(t))))}):null)),ot={default:"w-24 h-14",small:"w-12 h-12"},ct=(e,t)=>e?"":w("group/media flex items-center justify-center box-border",ot[t]),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"}],mt=g((({buttonSize:e="default",rounded:t=!1,icon:i,...n})=>{const{href:r,version:l,text:a=""}=n,{iconMapped:s,label:o}=dt.find((({origins:e})=>e.some((e=>r?.includes(e)))))||{},c=ht(i)??s;return u(ie,{className:w(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",ct(a,e)),"aria-label":o,rel:"noopener noreferrer",target:"_blank",text:a,version:l,...n,children:c&&!a?u(E,{image:c,imageClassName:"group-hover/media:text-white",width:"24",height:"24"}):null})})),ht=e=>e?.src||e?.icon?e:void 0,ut=g((({className:e="",media:t})=>u("div",{className:`flex gap-2 items-start justify-start ${e}`,children:t?.map(((e,t)=>u(mt,{...e},String(t))))}))),pt=g((({children:e,...t})=>u("p",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),gt={XXL:{title:{headingType:"h0",as:"h1"},descriptionSize:"text-h5",descriptionStyle:"mt-headline-xxl"},XL:{title:{headingType:"h1",as:"h1"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-l"},L:{title:{headingType:"h2",as:"h2"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-l"},M:{title:{headingType:"h3",as:"h3"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-m"},S:{title:{headingType:"h4",as:"h4"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-s"},XS:{title:{headingType:"h5",as:"h5"},descriptionSize:"text-l-light",descriptionStyle:"mt-headline-s"}},bt=g((({className:e,title:t,description:i,headlineVersion:n="XL",align:r="text-center",as:l,isPadding:a=!0,isTheme:s=!1,version:o="",...c})=>{const d=gt[n],m=a?"p-default":"",h={marginTop:d.descriptionStyle};return p(C,{className:w(m,e),version:o,isTheme:s,...c,children:[t?u(xe,{className:w("whitespace-pre-wrap",r),...d?.title,as:l||d?.title.as,title:t}):null,i?u(pt,{size:d.descriptionSize,align:r,...h,children:i}):null]})})),ft=g((({className:e="",description:t,href:i,icon:n,items:r=[],socialMedia:l=[],target:a,title:s,align:o="text-left",...c})=>u(C,{className:w("relative box-border p-default group-data-gray:bg-main-divider/50","border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider",e),...c,children:p(et,{href:i,target:a,children:[u(bt,{className:"mb-2",title:s,description:t,headlineVersion:"S",isPadding:!1,align:o}),r.length?u(st,{className:"flex flex-col gap-2",items:r,listItemSize:"S"}):null,xt(n),l.length?u(ut,{className:"mt-5",media:l}):null]})}))),xt=e=>e?.src||e?.icon?u("div",{children:u(E,{image:e})}):null,vt=g((({className:e="",isFoldButtonOnTop:t=!1,unfoldedByDefault:i=!1,renderFoldableSection:r,renderFoldButton:a})=>{const[s,o]=n(i),c=l((()=>{o((e=>!e))}),[]),d=r({isUnfolded:s,onToggle:c}),m=a?a({isUnfolded:s,onToggle:c}):null;return p("div",t?{className:e,children:[m,d]}:{className:e,children:[d,m]})})),yt=g((({className:e="",isUnfolded:t,children:i})=>{const n=s(null);return r((()=>{n.current&&(n.current.style.maxHeight=t?`${n.current.scrollHeight}px`:"")}),[t,i?.length]),u("div",{ref:n,className:`transition-max-h duration-300 overflow-hidden ${n.current||!t?"max-h-0":""} ${e}`,children:i})})),Nt=(e=!1)=>e?"p-default mt-6":"mt-6 p-default",wt=(e,t)=>{const{title:i,description:n,buttons:r}=e;return p("div",{className:"py-5 border-b border-main-divider",children:[i?u("div",{className:"opacity-80",children:u(me,{size:"text-m",color:"text-secondary-text",children:i})}):null,n?u("div",{className:"mt-1",children:u(me,{size:"text-l",color:"text-primary-text",children:n})}):null,r?.length?u("div",{className:"text-primary-main",children:le(r)}):null]},String(t))},kt=g((({className:e="",title:t,icon:i,isHighlighting:n=!1,button:r,cardCells:l=[],...a})=>{const s=l.map(wt),o=s.slice(0,1),c=s.slice(1);return p(C,{className:w("relative border border-gray flex flex-col",Nt(n),e),...a,children:[n?_t():null,Ct(i),t?u(xe,{className:"text-center pt-2",headingType:"h5",title:t}):null,r?u(ie,{className:"w-full mt-4",...r}):null,l.length?u(vt,{renderFoldableSection:({isUnfolded:e})=>p("div",{children:[o,u(yt,{isUnfolded:e,children:c})]}),renderFoldButton:l.length>1?Tt:null}):null]})})),Ct=e=>u("div",{className:"w-[267px] min-w-[267px] self-center",children:e?.src||e?.icon?u(E,{image:e}):null}),Tt=({isUnfolded:e,onToggle:t})=>p("button",{className:"w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center",onClick:t,children:[u("div",{children:e?"Скрыть":"Подробнее о тарифе"}),u(P,{className:"text-primary-text",name:e?"ArrowUpIcon":"ArrowDownIcon",width:"16",height:"16"})]}),_t=()=>p("div",{className:"absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:[u(P,{iconVersion:"black",name:"HeartIcon",width:"23",height:"22"}),u(pt,{size:"text-s",font:"font-normal",align:"text-center",color:"text-primary-text",children:"ХИТ"})]}),St=g((({className:e="",gap:t=14,padding:i=16,showDots:n=!0,minHeight:r,children:l,onVisibleIndicesChange:a,listType:s="horizontal-list",version:o})=>{const c=Array.isArray(l)?l.length:0,[d,m]=He({itemCount:c,onVisibleIndicesChange:a}),[h]=m.visibleIndicesRange;return p("div",{className:w(e,"vertical-list"===s?"relative h-full":""),children:[u($e,{containerRef:d,activeIndex:h,visibleItemCount:1,gap:t,padding:i,onVisibleIndicesChange:m.handleVisibleIndicesChange,listType:s,minHeight:r,children:l}),n?u(De,{containerRef:d,activeIndex:h,dotCount:c,listType:s,version:o}):null]})})),It=(e=!1)=>e?"text-white":"",Rt=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Bt=g((({icon:e,image:t,title:i,subtitle:n,isFillGradient:r})=>p("div",{role:"columnheader",children:[e?u(E,{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(E,{image:t})}),i?u(xe,{headingType:"h4",className:It(r),title:i}):null,n?u("div",{className:Rt(r),children:n}):null]}))),$t=g((({cell:e,rowHeader:t,isFillGradient:i=!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(At(i,t))})}))),At=(e,t)=>({label:i,description:n},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:[i?u("div",{className:"text-right "+(e?"text-white":""),children:i}):null,n?u("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:n}):null]})]},String(r)),jt=g((({header:e,columnData:t,visibleRowLength:i=0,isFillGradient:n,showRow:r,onToggleColumn:l})=>{const a=t?.slice(0,r?t.length:i),s=n?"secondary":"primary";return p("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${n?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[u(Bt,{...e,isFillGradient:n}),a?.length?a.map((({rowHeader:e,cell:t},i)=>u($t,{cell:t,rowHeader:e,isFillGradient:n},String(i)))):null,r&&e?.link?u(ie,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Pt({onToggleColumn:l,isFillGradient:n,showRow:r})]})})),Pt=({onToggleColumn:e,isFillGradient:t,showRow:i})=>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:i?"Скрыть":"Показать описание"})}),Lt=g((e=>{const{className:t,title:i}=e;return p("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[i?u(xe,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:i}):null,u("div",{role:"table",children:u(Dt,{...e})})]})})),Dt=g((({columns:e=[],rowHeaders:t,isColoredFirstColumn:i,visibleRowLength:r,orientation:a,...s})=>{const[o,c]=n(new Array(e.length).fill(!r)),d=l((e=>{const t=(t,i)=>i===e?!t:t;c((e=>e.map(t)))}),[]),m=l((()=>c((e=>new Array(e.length).fill(!1)))),[]),h=e?.map((({data:e,header:n},l)=>{return u(jt,{visibleRowLength:r,showRow:o[l],header:n,columnData:(a=e,a?.map(((e,i)=>({cell:e,rowHeader:t?.[i]?.title})))),isFillGradient:0===l&&i,onToggleColumn:()=>d(l),...s},String(l));var a}));return"horizontal"===a?u(St,{onVisibleIndicesChange:m,children:h}):h})),zt=e=>null!=e,Vt=new Map;function Mt(e,t,{fallback:i,cache:l}={}){const s=a((()=>Ot(e)),[e]),[o]=(e=>Boolean(e&&Array.isArray(e)&&1===e.length&&"string"==typeof e[0]))(s)?s:[],[c,d]=n(void 0),[m,h]=n(void 0);r((()=>{!s.some(zt)||(async()=>{try{const e=await(o?((e,t=Vt)=>i=>{const n=t.get(i);if(zt(n))return n;const r=e(i);return zt(r)?t.set(i,Promise.resolve(r)):t.delete(i),r})(t,l)(o):t(...s));d(e),h(void 0)}catch(e){d(void 0),h(e)}})()}),[t,l,s]);const u=i&&o&&i[o];return{data:!c&&u?u:c,error:m,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function Ot(e){return Array.isArray(e)?e:e instanceof Function?Ot(e()):[e]}async function Ft(e,t){const i=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await i.json()}const Ht={};function Et(e,t={}){const{data:i}=Mt(`/wcms-resources/${e}.json`,Ft,{fallback:t});return i||Ht}const Ut=g((({className:e="",items:t})=>t?.length?u("ul",{className:w("flex flex-col p-0","",e),children:t.map(Xt)}):null)),Xt=(e,t)=>{const{text:i,...n}=e;return u("li",{className:"list-none mb-4 sm:mb-6 sm:last:mb-0",children:u("a",{className:"hover:text-primary-main sm:font-light",role:"link",...n,children:i||null})},`list_item_${String(t)}`)},Jt=g((({className:e="",label:t,icon:i,dataTheme:n="",disabled:r=!1,onClick:l})=>p("button",{className:w("flex justify-center w-full px-0 py-4 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:l,disabled:r,"data-theme":n,children:[u("span",{className:"text-h4 pr-3",children:t}),i?u(E,{image:{icon:i,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20"}):null]}))),Gt={primary:"bg-main-divider",secondary:"bg-white/30","secondary-light":"bg-secondary-light"},Wt=g((({iconBgVersion:e="primary",size:t,icon:i,...n})=>{const r=String(t?.width||24),l=String(t?.height||24);return i?u("div",{className:w("rounded-icon p-2.5 mr-3",Gt[e]),children:u(P,{...n,width:r,height:l,name:i})}):null})),Yt=(e,t)=>u(Wt,{...e,iconBgVersion:t}),Kt=e=>e?"ArrowUpSolidIcon":"ArrowDownSolidIcon",qt=g((({className:e="",label:t="Развернуть",labelIcon:i,labelIconBgVersion:n,isExpanded:r,isFoldButtonOnTop:l=!0,version:a="primary",...s})=>u(C,{className:w("w-full","",e),tag:"div",version:"transparent",...s,children:u(vt,{isFoldButtonOnTop:l,unfoldedByDefault:r,renderFoldableSection:({isUnfolded:e})=>u(yt,{className:w("gap-5 [&>*]:p-0","flex flex-wrap group-last:last:pb-0"),isUnfolded:e,children:Se(s)}),renderFoldButton:({isUnfolded:e,onToggle:r})=>Qt({version:a,label:t,labelIcon:i,labelIconBgVersion:n,isUnfolded:e,onToggle:r})})})));qt.childrenTypes={exclude:["RollupItem"]};const Qt=({version:e,label:t,labelIcon:i,labelIconBgVersion:n,isUnfolded:r,onToggle:l})=>{const a=t||(r?"Скрыть":"Развернуть");return"primary"===e?Zt({label:a,labelIcon:i,labelIconBgVersion:n,icon:Kt(r),onToggle:l}):u(Jt,{label:a,icon:r?"ArrowUpIcon":"ArrowDownIcon",onClick:l})},Zt=({label:e,labelIconBgVersion:t,icon:i,onToggle:n,labelIcon:r})=>p("button",{className:w("border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button",r?.icon?"py-2":"py-5"),onClick:n,children:[p("div",{className:"flex items-center group-hover/button:text-primary-main",children:[Yt(r,t),e?u(me,{size:"text-l",font:"font-normal",children:e}):null]}),i?u(P,{name:i,iconVersion:"normal",width:"24",height:"24"}):null]}),ei=g((({className:e="",items:t,hasButton:i})=>p("div",{className:e,children:[t?.length?t.map(ti):null,i?u(ie,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),ti=(e,t)=>p("div",{className:"mb-6",children:[u("div",{className:"mb-4",children:u(me,{size:"text-l",font:"font-medium",children:e?.title})}),u("div",{children:e.items?.map(ii)})]},String(t)),ii=(e,t)=>p("div",{className:"mb-4",children:[u("div",{children:ni(e.type,e.text)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:e.description})]},String(t)),ni=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${ri(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})}},ri=e=>e.replaceAll(/\D/g,""),li=g((({className:e="",index:t,text:i,...n})=>{const r=X(),{href:l,target:a,onClick:s}=r(n);return u("a",{className:w("",e),href:l,target:a,onClick:s,children:i||`Документ ${t}`})})),ai=g((({title:e,links:t,className:i=""})=>p("div",{className:i,children:[u(me,{size:"text-h6",children:e}),t?.length?u("div",{className:"flex flex-col gap-6 mt-7",children:t.map(((e,t)=>u(li,{index:t,...e},String(t))))}):null]}))),si=g((({className:e="",index:t,...i})=>{const n=X({isRemote:!0}),{href:r,target:l,text:a,onClick:s}=n(i);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:l,onClick:s,children:a||`Документ ${t}`})})),oi=g((({className:e="",links:t})=>p("div",{className:e,children:[u("div",{className:"pt-4 xl:pt-5",children:u(me,{size:"text-s",color:"text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex justify-start items-start gap-5 pt-4",children:t.map(((e,t)=>u(si,{index:t,...e},String(t))))}):null]}))),ci=g((({className:e="",...t})=>{const i=t.options?.page?.fallback,n=Et(d.SITEMAP||"sitemap",i),{documents:r,relatedEnterprises:l,contacts:a,socialMedia:s,horizontalNavigationTitle:o}=Et(d.FOOTER||"footer",i);return p(C,{tag:"footer",className:w("px-4 py-6",e),...t,children:[u("div",{className:"mb-4 pb-5 border-b border-main-divider",children:n.topItems?.map(((e,t)=>u(qt,{label:e?.text,labelIcon:e?.icon,children:u(Ut,{items:e.items,className:"my-3"})},String(t))))}),u(ei,{className:"overflow-hidden",items:a}),u(ut,{className:"mb-4",media:s}),u(ie,{className:"w-full mb-4",text:"Google Play",version:"secondary",href:"/",target:"_blank"}),u(ai,{className:"pt-4 pb-7 border-y border-main-divider",title:o,links:l}),u(oi,{})]})})),di={"bg-white":"color",transparent:"white"},mi={"bg-white":"text-primary-main",transparent:"text-white"},hi=(e,t,i)=>u(E,t?.src?{image:t,className:mi[e],width:i?.width,height:i?.height,pathPrefix:"/wcms-resources/"}:{image:{icon:t?.icon||"LogoIcon",iconVersion:di[e]},className:mi[e],width:i?.width,height:i?.height}),ui={"bg-white":"text-primary-text",transparent:"text-white"},pi=(e,t,i)=>u("span",{className:`${ui[t]} ml-2.5 font-medium ${i||""}`,children:e||"Россельхозбанк"}),gi=g((({bgColor:e="bg-white",children:t,className:i="",href:n,logo:r,showTitle:l=!0,targetBlank:a})=>p("a",{className:`inline-flex items-center font-sans no-underline ${i}`,href:n||"https://rshb.ru/",target:a?"_blank":"_self","aria-label":r?.title||"Россельхозбанк",children:[hi(e,r?.image,{width:"34",height:"34"}),l?pi(t||r?.title,e,"text-s"):null]}))),bi={default:"px-5 bg-main-divider rounded hover:text-primary-main",transparent:"text-white hover:text-primary-hover"},fi=g((({bgColor:e,logo:t,internetBankUrl:i,version:n,mobileHeaderType:r,mobileTitle:l,mobileBackwardButtonTitle:a})=>{const s="none"===r,o="withTitle"===r;return p("div",{className:"flex items-center justify-between w-full",children:[s||o?u(gi,{bgColor:e,logo:t,showTitle:s}):null,o?l:null,"backwardButton"===r?p(ie,{className:"flex items-center text-l",children:[u(E,{className:"w-6 h-6",image:{icon:"ChevronLeft",iconVersion:"black"}}),a]}):null,i?u(ie,{href:i,ariaLabel:"Войти",target:"_blank",className:w("p-3 my-1 text-s whitespace-nowrap text-primary-main hover:text-primary-hover",bi["transparent"===n?"transparent":"default"]),children:"Войти"}):null]})})),xi={"bg-white":"primary",transparent:"transparent"},vi=g((({bgColor:e="bg-white",version:t=xi[e],mobileHeaderType:i="none",...n})=>{const r=n.options?.page?.fallback,{logo:l,internetBankUrl:a}=Et(d.SITEMAP||"sitemap",r);return u(C,{tag:"header",version:t,...n,children:u("div",{className:"container px-4 py-1 box-border",children:u(fi,{bgColor:e,logo:l,internetBankUrl:a,version:t,mobileHeaderType:i,...n})})})})),yi=g((e=>{const{className:t,image:i,...n}=e;return u(C,{className:t,...n,children:u(E,{image:i})})})),Ni=g((({doc:e,icon:t})=>{const{text:i,fileSize:n,...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,i?p(me,{size:"text-l",font:"font-light",children:[i,u(me,{color:"text-secondary-text",children:r?.href&&wi(ki(r.href),n)})]}):null]})})),wi=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),ki=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},Ci=g((({className:e="",title:t,description:i,icon:n={icon:"DocDownloadIcon",iconVersion:"black"},documents:r,align:l,...a})=>p(C,{className:w("p-default",e),...a,children:[u(bt,{isPadding:!1,title:t,description:i,align:l,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(Ni,{doc:e,icon:n?u(E,{className:"min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md",image:n,width:"24",height:"24"}):null})},String(t))))}):null]}))),Ti=g((({className:e="",title:t="Мобильное приложение",description:i,href:n="#"})=>u("div",{className:w("col-span-12 rounded-md cursor-pointer p-4 bg-secondary-light font-sans",e),children:n?p("div",{className:"flex",children:[u("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:u(gi,{className:"w-8",bgColor:"transparent",showTitle:!0})}),p("a",{href:n,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:i})]})]}):null}))),_i=g((e=>{const{className:t="",icon:i,label:n,description:r,benefitsVersion:l="normal"}=e;return p("div",{className:`flex gap-5 ${r?"items-start":"items-center"} ${t}`,children:[i?u("div",{className:Si(l),children:u(E,{className:"w-6 h-6",image:{...i,iconVersion:i.iconVersion||l}})}):null,p("div",{className:"gap-0.5",children:[n?u(me,{color:"text-primary-text group-data-secondary:text-white",size:"text-l",children:n}):null,r?u(pt,{font:"font-light",size:"text-m",color:"text-secondary-text group-data-secondary:text-white",children:r}):null]})]})}));function Si(e){return w("w-12 h-12 min-w-12 p-2.5 box-border flex items-center justify-center rounded-icon","normal"===e?"bg-secondary-light text-primary-main":"bg-primary-main text-black group-data-secondary:bg-white/30 group-data-secondary:text-black")}const Ii=g((e=>{const{__html:t="",richVersion:i=""}=e;return u("div",{className:w(i,"md-container"),dangerouslySetInnerHTML:{__html:t}})}));function Ri(e){throw new Error(e)}const Bi=e=>(t,i)=>{const{type:n}=t;if("default"!==n&&"rte"!==n)return null;switch(n){case"default":return u(_i,{icon:t.icon,label:t.label,description:t.description,version:e},String(i));case"rte":return u(Ii,{__html:t.__html});default:Ri(t)}},$i=(e=0,t=0)=>e||t?p("div",{className:w("flex mt-6","flex-col gap-2"),children:[e>0?Ai("Страховая сумма:",e,Boolean(t)):null,t>0?Ai("Ежемесячный лимит:",t,Boolean(e)):null]}):null,Ai=(e,t=0,i=!1)=>p("div",{className:w("flex w-full whitespace-pre","flex-col gap-1",i?"w-fit":"w-full"),children:[u(me,{font:"font-light",size:"text-l",children:e}),p(me,{size:"text-h6",color:"",children:[de(2)(t)," ₽"]})]}),ji=g((({className:e="",title:t,description:i,image:n,benefits:r,sum:l,monthLimit:a,directionRight:s=!1,version:o="primary",...c})=>p(C,{className:w("relative p-default",e),version:o,...c,children:[u(bt,{className:"!p-0",title:t,description:i,headlineVersion:"M",align:"text-left"}),p("div",{className:w("flex mt-6","justify-end flex-col-reverse gap-4"),children:[n?.src?u(E,{className:s?"order-2":"",image:n}):null,p("div",{children:[r?.length?u("div",{className:"flex flex-col gap-4",children:r.map(Bi(o))}):null,$i(Number(l),Number(a))]})]})]}))),Pi=e=>{const t="col-span-",i=e?.split(/\s+/).find((e=>e.startsWith(t)));return i?parseInt(i.substring(t.length),10):12};function Li(e=""){const t=Pi(e);return t<=4?"S":t<=8?"M":"L"}function Di(e=""){const t=Pi(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function zi(e=""){const t=Pi(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Vi=g((({className:e,title:t,description:i="Блок в разработке...",...n})=>p(C,{className:w("p-9 box-border",e,zi(e),Di(e)),...n,children:[u(bt,{className:"!p-0 max-w-[600px]",title:t,description:i,headlineVersion:Li(e)}),u("figure",{className:"m-0 min-w-[80%]",children:Mi()})]}))),Mi=(e=3)=>Fi(100,e).map((e=>Math.floor(e))).map(Oi),Oi=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Fi=(e,t)=>[e].concat(t>0?Fi(e/1.618,t-1):[]),Hi=g((({className:e,title:t="",insetTitle:i="",buttons:n,leftImage:r,rightImage:l,backImage:a,children:s})=>p("div",{className:w("relative flex flex-col font-sans",e),children:[a?u("div",{className:"absolute bottom-0 right-0 z-0",children:a}):null,t,p("div",{className:"grow relative flex flex-wrap sm:flex-nowrap justify-between items-stretch gap-8",children:[Ei(r),p("div",{className:w("flex flex-col gap-8",r?"":"grow"),children:[i,u("div",{className:"grow",children:s}),n]}),Ei(l,{className:"-order-1 sm:order-1"})]})]}))),Ei=(e,{className:t}={})=>e?u("div",{className:w("flex-none",t),children:e}):null,Ui=(e="primary",t="normal")=>(i,n)=>u(_i,{version:e,benefitsVersion:t,...i},String(n)),Xi=g((({className:e,version:t="primary",headlineVersion:i="L",title:n,description:r,benefits:l,benefitsVersion:a,items:s,isDotted:o=!0,__html:c,buttons:d,image:m,directionRight:h=!0})=>{const g=l?.filter((e=>e.label)),b=m?.src?u(E,{className:"mt-[-50px]",image:m}):null;return p(Hi,{className:e,insetTitle:u(bt,{className:"max-w-[600px] xl:max-w-[728px]",title:n,description:r,headlineVersion:i,align:"text-left",isPadding:!1}),...h?{rightImage:b}:{leftImage:b},buttons:le(d),children:[g?.length?u("div",{className:"flex flex-wrap gap-6",children:g.map(Ui(t,a))}):null,c?u("div",{className:"mt-5",children:u(Ii,{__html:c})}):null,s?.length?u(st,{className:"mt-5",items:s,isDotted:o}):null]})}));function Ji({text:e,href:t,target:i,icon:n},r){const l="primary"===r?"white":"black",a={text:e,href:t,target:i,ariaLabel:e};return p("div",{className:"flex items-center gap-3",children:[u(ie,{className:"w-12 h-12 min-h-12 min-w-12 flex items-center justify-center",version:r,rounded:!0,...a,children:u(E,{className:"w-4 h-4",image:{...n,icon:n?.icon||"ArrowLeftIcon",iconVersion:n?.iconVersion||l}})}),u(ie,{version:"link",...a})]})}const Gi=g((({className:e,backwardButton:t,...i})=>p(C,{className:w("overflow-hidden p-default flex flex-col gap-10 box-border",e),...i,children:[t?.text?Ji(t,i.version&&"primary"!==i.version?"white":"primary"):null,u(Xi,{className:"grow",...i})]}))),Wi=g((({className:e="",slides:t=[],...i})=>{const n=t.map((e=>e.productBlock));return u(C,{className:`box-border py-6 overflow-hidden relative w-100 mb-6 ${e}`,...i,children:u(St,{gap:0,padding:0,children:n.map(((e,t)=>Yi({...e,...i},t)))})})})),Yi=(e,t)=>u(Xi,{className:"z-10 px-5 group-data-secondary:text-white",...e},String(t)),Ki=g((e=>{const{__html:t,richVersion:i,...n}=e;return u(C,{...n,children:u(Ii,{__html:t,richVersion:i})})})),qi={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},Qi={normal:"min-h-[70px]",small:"min-h-12"},Zi={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:i,showLines:n=!0,steps:r,size:l="normal",version:a="primary",...s})=>p(C,{className:`box-border px-4 py-6 flex flex-col ${e}`,version:a,...s,children:[t?u(xe,{headingType:"h3",className:"text-center",title:t}):null,i?u("p",{className:`text-m-light text-center ${Zi.description} ${t?"mt-2":""}`,children:i}):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(tn(l,a,n))})}):null]}))),tn=(e,t,i)=>(n,r,l)=>{const{type:a}=n;if("default"!==a&&"rte"!==a)return null;switch(a){case"default":return nn(e,t,i)(n,r,l);case"rte":return u(Ii,{__html:n.__html});default:Ri(n)}},nn=(e,t,i)=>(n,r,l)=>{const a=l.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:[rn(e,t)(n,r),a?null:u("div",{className:`min-h-8 h-full w-0.5 ${i?Zi.iconConnector:""} ${s}`})]}),p("div",{className:`flex flex-col justify-center h-fit ${Qi[e]}`,children:[n.label?u("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:n.label}):null,n.description?u("div",{className:`text-s ${Zi.description} text-left`,children:n.description}):null]})]})},String(r))},rn=(e,t)=>(i,n)=>{const r="normal"===e?"38":"27",l="secondary"===t?"white":"color";return u("div",{className:`${qi[e]} ${Zi.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:(a=i?.icon,Boolean(a?.icon||a?.src)?u(E,{image:{...i.icon,iconVersion:i.icon?.iconVersion||l},width:r,height:r}):u("span",{children:n+1}))})});var a},ln={Buttons:({buttons:e})=>le(e,{className:"mt-3",buttonClassName:"w-12 h-12"}),Img:({image:e})=>e?.src?u(E,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>u(st,{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]})},an=g((({title:e,icon:t})=>p("div",{className:"flex gap-2.5 mb-2",children:[e?u(xe,{headingType:"h3",className:"font-medium",title:e}):null,t?u(E,{className:"ml-auto min-w-6",image:t,width:"24",height:"24"}):null]}))),sn=g((({tile:e,...t})=>p("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[u(an,{...e?.header}),e?.data?.length?e.data.map(((e,i)=>p("div",{children:[i>0?u("div",{className:"h-5"}):null,on(e,t)]},String(i)))):null]})));function on(e,t){if(!e||!e.tableCellType||!(e.tableCellType in ln))return null;const i=ln[e.tableCellType];return u(i,{displayTable:()=>null,isVisible:!0,...e,...t})}const cn=g((({tiles:e,...t})=>e?.length?u(St,{...t,children:e.map(((e,i)=>u(sn,{tile:e,...t},String(i))))}):null)),dn=g((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,i)=>u(sn,{tile:e,...t},String(i))))}):null)),mn=g((({className:e,title:t,description:i,tariffsColumns:n,rowHeaders:r,orientation:l="vertical",...a})=>{const s=hn(n),o=un(r,s);return p("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?u(xe,{headingType:"h2",className:`text-center ${i?"mb-2":"mb-5"}`,title:t}):null,i?u("div",{className:"mb-5 text-center text-m",children:i}):null,u("vertical"===l?dn:cn,{tiles:o,...a})]})})),hn=e=>e?.[0]?.data?e[0].data:[],un=(e,t)=>e?.map(((e,i)=>({header:e,data:t?.[i]||[{}]}))),pn=g((({className:e="",title:t,description:i,iconVersion:n,image:r,__html:l,items:a=[],...s})=>p(C,{className:w("px-9 py-4 flex gap-3 bg-white group-data-secondary:bg-primary-main/10",e),...s,children:["small"===n?u("div",{className:"mt-1",children:gn()}):null,"big"===n?bn(r):null,p("div",{className:"flex flex-col w-fit gap-3",children:[t?u(me,{size:"text-l",font:"font-medium",color:"text-primary-text group-data-secondary:text-white",children:t}):null,i?fn(i):null,a?.length?xn(a,!0):null,l?u(Ii,{__html:l}):null]})]}))),gn=()=>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"}),bn=e=>e?.src?u(E,{className:"h-fit",image:e}):null,fn=e=>u(pt,{size:"text-s",color:"text-secondary-text group-data-secondary:text-white",children:e}),xn=(e,t)=>u("ul",{className:w("text-secondary-text group-data-secondary:text-white/80",t?"list-disc pl-6":""),children:e.map(((e,t)=>u("li",{children:u(me,{size:"text-s",font:"font-light",children:e})},`listItem-${t}`)))}),vn={XXL:"gap-12",XL:"gap-10",L:"gap-8",M:"gap-4",S:"gap-2",XS:"gap-1","":""},yn={stretch:"items-stretch",left:"items-start",center:"items-center",right:"items-end"},Nn=g((({className:e="",gap:t="",align:i="stretch",isPadding:n=!1,isInnerPadding:r=!0,version:l="transparent",isTheme:a=!1,...s})=>{const o=r?"":"!p-0";return u(C,{className:w("relative","flex flex-col [&>*]:max-w-full",n?"p-default":"",vn[t],i&&yn[i],e),version:l,isTheme:a,...s,children:Se({...s,renderProps:(e,t)=>Ce(e,t,{className:o})})})}));Nn.childrenTypes=[];const wn={ButtonsBlock:oe,CardTransfer:Ne,Carousel:Ke,CarouselTariffsCard:kt,ComparisonTable:Lt,Footer:ci,Header:vi,Headline:bt,ImgBlock:yi,LinkDocs:Ci,MobileAppTile:Ti,PictureText:ji,Placeholder:Vi,ProductBlock:Gi,StepsBlock:en,TariffsTable:mn,TextBlock:pn,RichTextBlock:Ki,RollupItem:qt,VerticalLayout:Nn,CarouselRecommendationCard:ft,CarouselProgramsCard:tt,ProductGallery:Wi};function kn(e=!1){const[t,i]=n(e),r=l((()=>i(!0)),[]),a=l((()=>i(!1)),[]),s=l((()=>i((e=>!e))),[]);return[t,{setValue:i,setTrue:r,setFalse:a,toggle:s}]}const Cn=["Header","Footer"],Tn=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function _n(e=globalThis){const t=s(new Map);r((()=>N.subscribe("intersection",(({block:e,intersection:i})=>{t.current&&t.current.set(e,i)}))),[]),r((()=>{const i=((e,t=600)=>{let i;const n=(...r)=>{n.dispose(),i=setTimeout((()=>{e(...r)}),t)};return n.dispose=()=>{i&&clearTimeout(i)},n})((()=>{!function(e){const t=`#${i=e?.anchor,i?.replace("#","")||""}`;var i;globalThis.location?.hash!==t&&globalThis.history?.replaceState(globalThis.history?.state,"",t)}(globalThis.scrollY>3*globalThis.innerHeight/4?function(e){const t=e.filter((([e])=>!Cn.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[i]=t.length>0?Me(Tn)(t):[];return i}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",i),()=>{i.dispose(),e.removeEventListener("scroll",i)}}),[e])}const Sn=g((({className:e,onClick:t})=>u("button",{className:w("flex justify-center items-center w-12 h-12 p-1 bg-transparent border-none",e),onClick:t,title:"Закрыть",children:u(E,{image:{icon:"CloseIcon"},width:"24",height:"24"})})));function In({onOpen:e,onClose:t}={}){r((()=>x.subscribe("dialog",(i=>{switch(i.type){case"open":e&&e(i);break;case"close":t&&t();break;default:Ri(i)}}))),[e,t])}const Rn="cookieClose",Bn=g((({termLink:e,personalDataPolicyLink:t})=>{const{isOpened:i,onClose:r}=function(e,t=!1){const[i,{setTrue:r,setFalse:a}]=kn(t),[o,c]=n({id:e}),d=s(i);d.current||=i,In({onOpen:l((t=>{t.id===e?(c(t),r()):a()}),[e]),onClose:a});const m=l((()=>{a(),x.fire("dialog",{type:"close"})}),[]);return{...o,isOpened:i,wasOpened:d.current,onClose:m}}("cookie",!globalThis.localStorage?.getItem(Rn)),a=l((()=>{globalThis.localStorage?.setItem(Rn,"true"),r&&r()}),[r]);return i?u("div",{className:"container z-40 fixed bottom-0 left-0 right-0 pointer-events-none",children:p("div",{className:"bg-white m-6 p-6 rounded-md flex items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:[u("div",{className:"flex-1",children:p(pt,{size:"text-s-light",color:"text-primary-text",children:["АО «Россельхозбанк» использует",u(et,{isRemote:!0,className:w($n(e?.href)),...e,children:"cookie"}),"(файлы с данными о прошлых посещениях сайта) для персонализации сервисов и удобства пользователей. Вы можете запретить сохранение cookie в настройках своего браузера.",u(et,{isRemote:!0,className:w($n(t?.href)),...t,children:"Обработка Ваших персональных данных"}),"производится в соответствии с требованиями Федерального закона от 27.07.2006 № 152-Ф3 «О персональных данных»."]})}),u("div",{className:"w-24 flex justify-end",children:u(Sn,{className:"bg-main-gray rounded-md",onClick:a})})]})}):null})),$n=e=>["inline mx-1",e?"text-green-dark":""],An=h();const jn=g((({className:e,onClick:t,ariaLabel:i})=>u("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":i,children:Pn()}))),Pn=()=>{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"})]})},Ln=g((({className:e=""})=>{const t=function(e){const[t,i]=n(0);return r((()=>{(async()=>{const[t]=await An.getLikeCount(e);i(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{i(await An.like(e))}),[e]),dislike:l((async()=>{i(await An.dislike(e))}),[e])}}(_().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(jn,{onClick:U(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(jn,{onClick:U(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),Dn=g((e=>{const{className:t="",blocksRegistry:i,blockDecorator:n,data:r={}}=e,{style:l,blocks:a,slots:s,likeControl:o,colorPalette:c="pc"}=r,d={key:"",page:r,blocksRegistry:i,blockDecorator:n,parent:r};_n();const[m,{setTrue:h,setFalse:g}]=kn();return In({onOpen:h,onClose:g}),p("section",{className:w("relative",l,t,m?"overflow-hidden h-screen":""),"data-theme":c,children:[s?.header?u("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:_e(s?.header,{...d,slotName:"header"})}):null,p("div",{className:"container grid grid-cols-12 gap-1",children:[_e(a,d),s?.footer?_e(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(Ln,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null,u(Bn,{termLink:{href:"/pd-policy#cookie",target:"_blank"},personalDataPolicyLink:{href:"/pd-policy",target:"_blank"}})]})}));Dn.childrenTypes=[],Dn.slots=()=>["header","footer"];e.Blocks=wn,e.ContentPage=Dn,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))))))(),i=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await i.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=h,e.handlerDecorator=U,e.joinList=e=>t=>t.reduce(((t,i,n)=>t.length?t.concat({...e,key:`sep-${n}`},i):[i]),[]),e.packageVersion="0.11.3",e.projectSettings=d,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=B,e.useRouter=_,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -0,0 +1,6 @@
1
+ import type { UniBlockProps } from '../../model/JSXBlock';
2
+ import type { ButtonsBlockContent } from './ButtonsBlockContent';
3
+ interface ButtonsBlockProps extends ButtonsBlockContent, UniBlockProps {
4
+ }
5
+ export declare const ButtonsBlock: import("@redneckz/uni-jsx").UNIComponent<ButtonsBlockProps, any, any>;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
2
+ /**
3
+ * @title Блок кнопок
4
+ */
5
+ export interface ButtonsBlockContent {
6
+ /** @title Кнопки */
7
+ buttons?: ButtonWithIconProps[];
8
+ }
@@ -1,5 +1,5 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
1
  import type { CarouselCardContent } from './CarouselCardContent';
2
+ import type { UniBlockProps } from '../../model/JSXBlock';
3
3
  export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {
4
4
  }
5
5
  export declare const CarouselCard: import("@redneckz/uni-jsx").UNIComponent<CarouselCardProps, any, any>;
@@ -0,0 +1 @@
1
+ export declare function getCardWidth(className?: string, carouselVersion?: string): string;
@@ -0,0 +1 @@
1
+ export declare const titleSize = "XS";
@@ -1,7 +1,7 @@
1
- import type { ContactInfo } from './FooterContent';
1
+ import type { ContactGroup } from './FooterContent';
2
2
  export interface ContactsProps {
3
3
  className?: string;
4
- items?: ContactInfo[];
4
+ items?: ContactGroup[];
5
5
  hasButton?: boolean;
6
6
  }
7
7
  export declare const Contacts: import("@redneckz/uni-jsx").UNIComponent<ContactsProps, any, any>;
@@ -1,7 +1,7 @@
1
1
  import type { DescriptionProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
3
  import type { LinkProps } from '../../model/LinkProps';
3
4
  import type { IconProps } from '../../model/Picture';
4
- import type { UniBlockContent } from '../../model/JSXBlock';
5
5
  /**
6
6
  * @title Тип контакта
7
7
  * @enumNames [
@@ -18,6 +18,14 @@ export declare type ContactInfo = DescriptionProps & {
18
18
  text?: string;
19
19
  type?: ContactType;
20
20
  };
21
+ /**
22
+ * @title Группа контактов
23
+ */
24
+ export declare type ContactGroup = {
25
+ /** @title Имя */
26
+ title?: string;
27
+ items?: ContactInfo[];
28
+ };
21
29
  /**
22
30
  * @title Пункт подменю
23
31
  */
@@ -1,11 +1,11 @@
1
1
  import type { LinkCommonProps, LinkProps } from '../../model/LinkProps';
2
2
  import type { Picture } from '../../model/Picture';
3
3
  import type { SitemapData } from '../../services/sitemap/SitemapData';
4
- import type { ContactInfo, SubMenuItem } from './FooterContent';
4
+ import type { ContactGroup, SubMenuItem } from './FooterContent';
5
5
  export interface FooterDataProps extends SitemapData {
6
6
  documents?: LinkProps[];
7
7
  relatedEnterprises?: LinkProps[];
8
- contacts?: ContactInfo[];
8
+ contacts?: ContactGroup[];
9
9
  socialMedia?: LinkCommonProps[];
10
10
  mobileApps?: LinkCommonProps[];
11
11
  horizontalNavigationTitle?: string;
@@ -0,0 +1 @@
1
+ export declare const positionStyle = "justify-end flex-col-reverse gap-4";
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const renderInsuranceSumMonth: (sum?: number, monthLimit?: number) => JSX.Element | null;
@@ -0,0 +1 @@
1
+ export declare const styleInsuranceSum = "flex-col gap-2";
@@ -0,0 +1,2 @@
1
+ export declare const styleValueBlock = "flex-col gap-1";
2
+ export declare const styleValueBlockText = "";
@@ -1,6 +1,7 @@
1
1
  import type { LabelProps } from '../../model/HeadlineType';
2
2
  import type { UniBlockContent } from '../../model/JSXBlock';
3
- import type { IconProps } from '../../ui-kit/Icon/IconProps';
3
+ import type { Picture } from '../../model/Picture';
4
+ import type { IconBgVersion } from '../../ui-kit/Icon/IconProps';
4
5
  /**
5
6
  * @title Сворачивающаяся секция
6
7
  */
@@ -9,5 +10,6 @@ export declare type RollupItemContent = UniBlockContent & LabelProps & {
9
10
  isExpanded?: boolean;
10
11
  /** @title Кнопка сверху */
11
12
  isFoldButtonOnTop?: boolean;
12
- labelIcon?: IconProps;
13
+ labelIcon?: Picture;
14
+ labelIconBgVersion?: IconBgVersion;
13
15
  };
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import type { Picture } from '../../model/Picture';
3
+ import type { IconBgVersion } from '../../ui-kit/Icon/IconProps';
4
+ export declare const renderRoundedIcon: (icon?: Picture, iconBgVersion?: IconBgVersion) => JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const labelSize = "text-l";
@@ -1,6 +1,14 @@
1
1
  import type { IconName } from '../../icons/IconName';
2
2
  import type { IconVersion } from '../../model/IconVersion';
3
3
  export type { IconName };
4
+ /**
5
+ * @title Цвет фона иконки
6
+ * @enumNames [
7
+ * "Основной",
8
+ * "Второстепенный",
9
+ * "Второстепенный светлый"
10
+ * ]
11
+ */
4
12
  export declare type IconBgVersion = 'primary' | 'secondary' | 'secondary-light';
5
13
  export interface IconCompatibilityFields {
6
14
  /** @title Альтернативный текст (alt) */
@@ -18,6 +26,3 @@ export declare type IconProps = IconCompatibilityFields & {
18
26
  name?: IconName;
19
27
  iconVersion?: IconVersion;
20
28
  };
21
- export interface RoundedIconProps extends IconProps {
22
- iconBgVersion?: IconBgVersion;
23
- }
@@ -1,2 +1,6 @@
1
- import type { RoundedIconProps } from './IconProps';
1
+ import type { IconBgVersion } from './IconProps';
2
+ import type { Picture } from '../../model/Picture';
3
+ export interface RoundedIconProps extends Picture {
4
+ iconBgVersion?: IconBgVersion;
5
+ }
2
6
  export declare const RoundedIcon: import("@redneckz/uni-jsx").UNIComponent<RoundedIconProps, any, any>;
@@ -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-default 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 })) : 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-icon 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,5 +1,7 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.Blocks = void 0;
3
+ const ButtonsBlock_1 = require("./ButtonsBlock/ButtonsBlock");
4
+ const CardTransfer_1 = require("./CardTransfer/CardTransfer");
3
5
  const Carousel_1 = require("./Carousel/Carousel");
4
6
  const CarouselProgramsCard_1 = require("./CarouselProgramsCard/CarouselProgramsCard");
5
7
  const CarouselRecommendationCard_1 = require("./CarouselRecommendationCard/CarouselRecommendationCard");
@@ -11,6 +13,7 @@ const Headline_1 = require("./Headline/Headline");
11
13
  const ImgBlock_1 = require("./ImgBlock/ImgBlock");
12
14
  const LinkDocs_1 = require("./LinkDocs/LinkDocs");
13
15
  const MobileAppTile_1 = require("./MobileAppTile/MobileAppTile");
16
+ const PictureText_1 = require("./PictureText/PictureText");
14
17
  const Placeholder_1 = require("./Placeholder/Placeholder");
15
18
  const ProductBlock_1 = require("./ProductBlock/ProductBlock");
16
19
  const ProductGallery_1 = require("./ProductGallery/ProductGallery");
@@ -21,6 +24,8 @@ const TariffsTable_1 = require("./TariffsTable/TariffsTable");
21
24
  const TextBlock_1 = require("./TextBlock/TextBlock");
22
25
  const VerticalLayout_1 = require("./VerticalLayout/VerticalLayout");
23
26
  exports.Blocks = {
27
+ ButtonsBlock: ButtonsBlock_1.ButtonsBlock,
28
+ CardTransfer: CardTransfer_1.CardTransfer,
24
29
  Carousel: Carousel_1.Carousel,
25
30
  CarouselTariffsCard: CarouselTariffsCard_1.CarouselTariffsCard,
26
31
  ComparisonTable: ComparisonTable_1.ComparisonTable,
@@ -30,6 +35,7 @@ exports.Blocks = {
30
35
  ImgBlock: ImgBlock_1.ImgBlock,
31
36
  LinkDocs: LinkDocs_1.LinkDocs,
32
37
  MobileAppTile: MobileAppTile_1.MobileAppTile,
38
+ PictureText: PictureText_1.PictureText,
33
39
  Placeholder: Placeholder_1.Placeholder,
34
40
  ProductBlock: ProductBlock_1.ProductBlock,
35
41
  StepsBlock: StepsBlock_1.StepsBlock,
@@ -1 +1 @@
1
- {"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,kDAA+C;AAC/C,sFAAmF;AACnF,wGAAqG;AACrG,mFAAgF;AAChF,uEAAoE;AACpE,4CAAyC;AACzC,4CAAyC;AACzC,kDAA+C;AAC/C,kDAA+C;AAC/C,kDAA+C;AAC/C,iEAA8D;AAC9D,2DAAwD;AACxD,8DAA2D;AAC3D,oEAAiE;AACjE,iEAA8D;AAC9D,wDAAqD;AACrD,wDAAqD;AACrD,8DAA2D;AAC3D,qDAAkD;AAClD,oEAAiE;AAEpD,QAAA,MAAM,GAAmB;IACpC,QAAQ,EAAR,mBAAQ;IACR,mBAAmB,EAAnB,yCAAmB;IACnB,eAAe,EAAf,iCAAe;IACf,MAAM,EAAN,eAAM;IACN,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,aAAa,EAAb,6BAAa;IACb,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,UAAU,EAAV,uBAAU;IACV,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,aAAa,EAAb,6BAAa;IACb,UAAU,EAAV,uBAAU;IACV,cAAc,EAAd,+BAAc;IACd,0BAA0B,EAA1B,uDAA0B;IAC1B,oBAAoB,EAApB,2CAAoB;IACpB,cAAc,EAAd,+BAAc;CACf,CAAC"}
1
+ {"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,8DAA2D;AAC3D,8DAA2D;AAC3D,kDAA+C;AAC/C,sFAAmF;AACnF,wGAAqG;AACrG,mFAAgF;AAChF,uEAAoE;AACpE,4CAAyC;AACzC,4CAAyC;AACzC,kDAA+C;AAC/C,kDAA+C;AAC/C,kDAA+C;AAC/C,iEAA8D;AAC9D,2DAAwD;AACxD,2DAAwD;AACxD,8DAA2D;AAC3D,oEAAiE;AACjE,iEAA8D;AAC9D,wDAAqD;AACrD,wDAAqD;AACrD,8DAA2D;AAC3D,qDAAkD;AAClD,oEAAiE;AAEpD,QAAA,MAAM,GAAmB;IACpC,YAAY,EAAZ,2BAAY;IACZ,YAAY,EAAZ,2BAAY;IACZ,QAAQ,EAAR,mBAAQ;IACR,mBAAmB,EAAnB,yCAAmB;IACnB,eAAe,EAAf,iCAAe;IACf,MAAM,EAAN,eAAM;IACN,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,aAAa,EAAb,6BAAa;IACb,WAAW,EAAX,yBAAW;IACX,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,UAAU,EAAV,uBAAU;IACV,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,aAAa,EAAb,6BAAa;IACb,UAAU,EAAV,uBAAU;IACV,cAAc,EAAd,+BAAc;IACd,0BAA0B,EAA1B,uDAA0B;IAC1B,oBAAoB,EAApB,2CAAoB;IACpB,cAAc,EAAd,+BAAc;CACf,CAAC"}
@@ -20,5 +20,5 @@ const renderBonusItemContent = (bonusItemContent) => ((0, jsx_runtime_1.jsx)("di
20
20
  ? renderBonusCount(bonusItemContent)
21
21
  : renderBonusImage(bonusItemContent) }));
22
22
  const renderBonusCount = (_) => ((0, jsx_runtime_1.jsxs)("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [_.bonusCount ? ((0, jsx_runtime_1.jsx)("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount })) : null, _.bonusName ? ((0, jsx_runtime_1.jsx)("span", { className: "text-h2 bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })) : null] }));
23
- const renderBonusImage = (_) => _.image ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: `w-12 h-12 min-w-12 p-3 rounded-full`, image: _.image }) : null;
23
+ const renderBonusImage = (_) => _.image ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: `w-12 h-12 min-w-12 p-3 rounded-icon`, image: _.image }) : null;
24
24
  //# sourceMappingURL=Bonus.js.map
@@ -11,6 +11,6 @@ exports.BusinessCard = (0, uni_jsx_1.JSX)((props) => {
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" })) : 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-icon 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
@@ -0,0 +1,6 @@
1
+ import type { UniBlockProps } from '../../model/JSXBlock';
2
+ import type { ButtonsBlockContent } from './ButtonsBlockContent';
3
+ interface ButtonsBlockProps extends ButtonsBlockContent, UniBlockProps {
4
+ }
5
+ export declare const ButtonsBlock: import("@redneckz/uni-jsx").UNIComponent<ButtonsBlockProps, any, any>;
6
+ export {};
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.ButtonBlock = void 0;
2
+ exports.ButtonsBlock = 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
5
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
6
  const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
7
7
  const style_1 = require("../../utils/style");
8
- exports.ButtonBlock = (0, uni_jsx_1.JSX)(({ button, className, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('!bg-transparent', className), ...rest, children: (0, renderButtonsSection_1.renderButtonsSection)([button]) })));
9
- //# sourceMappingURL=ButtonBlock.js.map
8
+ exports.ButtonsBlock = (0, uni_jsx_1.JSX)(({ buttons, className, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('!bg-transparent', className), ...rest, children: (0, renderButtonsSection_1.renderButtonsSection)(buttons) })));
9
+ //# sourceMappingURL=ButtonsBlock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonsBlock.js","sourceRoot":"","sources":["../../../src/components/ButtonsBlock/ButtonsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,mFAAgF;AAChF,6CAA0C;AAK7B,QAAA,YAAY,GAAG,IAAA,aAAG,EAAoB,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACtF,uBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,iBAAiB,EAAE,SAAS,CAAC,KAAM,IAAI,YACnE,IAAA,2CAAoB,EAAC,OAAO,CAAC,GACjB,CAChB,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
2
+ /**
3
+ * @title Блок кнопок
4
+ */
5
+ export interface ButtonsBlockContent {
6
+ /** @title Кнопки */
7
+ buttons?: ButtonWithIconProps[];
8
+ }
@@ -1,2 +1,2 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
- //# sourceMappingURL=ButtonBlockContent.js.map
2
+ //# sourceMappingURL=ButtonsBlockContent.js.map