@redneckz/wildless-cms-uni-blocks 0.14.24 → 0.14.26

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 (345) hide show
  1. package/bin/migration-scripts/0.14.26.js +53 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +46 -42
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  6. package/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  7. package/bundle/utils/deleteAllCookie.d.ts +1 -0
  8. package/bundle/utils/isIcon.d.ts +2 -0
  9. package/dist/components/Blocks.js +0 -2
  10. package/dist/components/Blocks.js.map +1 -1
  11. package/dist/components/Blocks.mobile.js +0 -2
  12. package/dist/components/Blocks.mobile.js.map +1 -1
  13. package/dist/components/Bonus/Bonus.js +4 -4
  14. package/dist/components/Bonus/Bonus.js.map +1 -1
  15. package/dist/components/Carousel/Carousel.js +1 -1
  16. package/dist/components/Carousel/Carousel.js.map +1 -1
  17. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  18. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  19. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -2
  20. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  21. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  22. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  23. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  24. package/dist/components/ContentPage/ContentPage.js +1 -1
  25. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  26. package/dist/components/Footer/Footer.js +3 -1
  27. package/dist/components/Footer/Footer.js.map +1 -1
  28. package/dist/components/Footer/Footer.mobile.js +3 -1
  29. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  30. package/dist/components/Footer/SocialMedia.js +2 -2
  31. package/dist/components/Footer/SocialMedia.js.map +1 -1
  32. package/dist/components/Footer/TextInformation.js +1 -1
  33. package/dist/components/Footer/TextInformation.js.map +1 -1
  34. package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  35. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  36. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  37. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  38. package/dist/components/StepsBlock/StepsBlock.js +2 -2
  39. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  40. package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
  41. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  42. package/dist/components/Tabs/Tabs.js +7 -3
  43. package/dist/components/Tabs/Tabs.js.map +1 -1
  44. package/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  45. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  46. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  47. package/dist/ui-kit/BaseTile/BaseTile.js +3 -2
  48. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  49. package/dist/ui-kit/Button/ButtonInner.js +2 -1
  50. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  51. package/dist/ui-kit/Button/renderButtonsSection.js +2 -1
  52. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  53. package/dist/ui-kit/LocationDialog/LocationDialog.js +2 -2
  54. package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  55. package/dist/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  56. package/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  57. package/dist/ui-kit/LocationDialog/renderRegion.js +3 -2
  58. package/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -1
  59. package/dist/utils/deleteAllCookie.d.ts +1 -0
  60. package/dist/utils/deleteAllCookie.js +11 -0
  61. package/dist/utils/deleteAllCookie.js.map +1 -0
  62. package/dist/utils/isIcon.d.ts +2 -0
  63. package/dist/utils/isIcon.js +5 -0
  64. package/dist/utils/isIcon.js.map +1 -0
  65. package/lib/common.css +1 -1
  66. package/lib/components/Blocks.js +0 -2
  67. package/lib/components/Blocks.js.map +1 -1
  68. package/lib/components/Blocks.mobile.js +0 -2
  69. package/lib/components/Blocks.mobile.js.map +1 -1
  70. package/lib/components/Bonus/Bonus.js +4 -4
  71. package/lib/components/Bonus/Bonus.js.map +1 -1
  72. package/lib/components/Carousel/Carousel.fixture.d.ts +1 -1
  73. package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +1 -1
  74. package/lib/components/Carousel/Carousel.js +1 -1
  75. package/lib/components/Carousel/Carousel.js.map +1 -1
  76. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  77. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  78. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +2 -0
  79. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.d.ts +2 -0
  80. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +6 -3
  81. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  82. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  83. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  84. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  85. package/lib/components/ContentPage/ContentPage.js +1 -1
  86. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  87. package/lib/components/Footer/Footer.js +3 -1
  88. package/lib/components/Footer/Footer.js.map +1 -1
  89. package/lib/components/Footer/Footer.mobile.js +3 -1
  90. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  91. package/lib/components/Footer/SocialMedia.js +2 -2
  92. package/lib/components/Footer/SocialMedia.js.map +1 -1
  93. package/lib/components/Footer/TextInformation.js +1 -1
  94. package/lib/components/Footer/TextInformation.js.map +1 -1
  95. package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  96. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  97. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  98. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  99. package/lib/components/StepsBlock/StepsBlock.js +2 -2
  100. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  101. package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
  102. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  103. package/lib/components/Tabs/Tabs.js +7 -3
  104. package/lib/components/Tabs/Tabs.js.map +1 -1
  105. package/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  106. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  107. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  108. package/lib/ui-kit/BaseTile/BaseTile.js +3 -2
  109. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  110. package/lib/ui-kit/Button/ButtonInner.js +2 -1
  111. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  112. package/lib/ui-kit/Button/renderButtonsSection.js +2 -1
  113. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  114. package/lib/ui-kit/LocationDialog/LocationDialog.js +2 -2
  115. package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  116. package/lib/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  117. package/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  118. package/lib/ui-kit/LocationDialog/renderRegion.js +3 -2
  119. package/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -1
  120. package/lib/utils/deleteAllCookie.d.ts +1 -0
  121. package/lib/utils/deleteAllCookie.js +8 -0
  122. package/lib/utils/deleteAllCookie.js.map +1 -0
  123. package/lib/utils/isIcon.d.ts +2 -0
  124. package/lib/utils/isIcon.js +2 -0
  125. package/lib/utils/isIcon.js.map +1 -0
  126. package/mobile/bundle/bundle.umd.js +46 -42
  127. package/mobile/bundle/bundle.umd.min.js +1 -1
  128. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  129. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  130. package/mobile/bundle/utils/deleteAllCookie.d.ts +1 -0
  131. package/mobile/bundle/utils/isIcon.d.ts +2 -0
  132. package/mobile/dist/components/Blocks.js +0 -2
  133. package/mobile/dist/components/Blocks.js.map +1 -1
  134. package/mobile/dist/components/Bonus/Bonus.js +4 -4
  135. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  136. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  137. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  138. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  139. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  140. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -2
  141. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  142. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  143. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  144. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  145. package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
  146. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  147. package/mobile/dist/components/Footer/Footer.js +3 -1
  148. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  149. package/mobile/dist/components/Footer/SocialMedia.js +2 -2
  150. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  151. package/mobile/dist/components/Footer/TextInformation.js +1 -1
  152. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  153. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  154. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  155. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  156. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  157. package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
  158. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  159. package/mobile/dist/components/Tabs/Tabs.js +7 -3
  160. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  161. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  162. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  163. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  164. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +3 -2
  165. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  166. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -1
  167. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  168. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -1
  169. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  170. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +2 -2
  171. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  172. package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  173. package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  174. package/mobile/dist/ui-kit/LocationDialog/renderRegion.js +3 -2
  175. package/mobile/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -1
  176. package/mobile/dist/utils/deleteAllCookie.d.ts +1 -0
  177. package/mobile/dist/utils/deleteAllCookie.js +11 -0
  178. package/mobile/dist/utils/deleteAllCookie.js.map +1 -0
  179. package/mobile/dist/utils/isIcon.d.ts +2 -0
  180. package/mobile/dist/utils/isIcon.js +5 -0
  181. package/mobile/dist/utils/isIcon.js.map +1 -0
  182. package/mobile/lib/common.css +1 -1
  183. package/mobile/lib/components/Blocks.js +0 -2
  184. package/mobile/lib/components/Blocks.js.map +1 -1
  185. package/mobile/lib/components/Bonus/Bonus.js +4 -4
  186. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  187. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  188. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  189. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  190. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  191. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +6 -3
  192. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  193. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  194. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  195. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  196. package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
  197. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  198. package/mobile/lib/components/Footer/Footer.js +3 -1
  199. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  200. package/mobile/lib/components/Footer/SocialMedia.js +2 -2
  201. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  202. package/mobile/lib/components/Footer/TextInformation.js +1 -1
  203. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  204. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  205. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  206. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  207. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  208. package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
  209. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  210. package/mobile/lib/components/Tabs/Tabs.js +7 -3
  211. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  212. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  213. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  214. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  215. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +3 -2
  216. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  217. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -1
  218. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  219. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -1
  220. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  221. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +2 -2
  222. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  223. package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  224. package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  225. package/mobile/lib/ui-kit/LocationDialog/renderRegion.js +3 -2
  226. package/mobile/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -1
  227. package/mobile/lib/utils/deleteAllCookie.d.ts +1 -0
  228. package/mobile/lib/utils/deleteAllCookie.js +8 -0
  229. package/mobile/lib/utils/deleteAllCookie.js.map +1 -0
  230. package/mobile/lib/utils/isIcon.d.ts +2 -0
  231. package/mobile/lib/utils/isIcon.js +2 -0
  232. package/mobile/lib/utils/isIcon.js.map +1 -0
  233. package/mobile/src/components/Blocks.ts +0 -2
  234. package/mobile/src/components/Bonus/Bonus.tsx +4 -4
  235. package/mobile/src/components/Carousel/Carousel.tsx +1 -1
  236. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  237. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +15 -5
  238. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +5 -3
  239. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +6 -6
  240. package/mobile/src/components/ContentPage/ContentPage.tsx +1 -1
  241. package/mobile/src/components/Footer/Footer.tsx +10 -0
  242. package/mobile/src/components/Footer/SocialMedia.tsx +2 -4
  243. package/mobile/src/components/Footer/TextInformation.tsx +1 -1
  244. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +7 -1
  245. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +6 -8
  246. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -2
  247. package/mobile/src/components/Tabs/Tabs.tsx +8 -4
  248. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  249. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +8 -4
  250. package/mobile/src/ui-kit/Button/ButtonInner.tsx +7 -2
  251. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
  252. package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -1
  253. package/mobile/src/ui-kit/LocationDialog/renderForeignOffices.tsx +6 -4
  254. package/mobile/src/ui-kit/LocationDialog/renderRegion.tsx +5 -2
  255. package/mobile/src/utils/deleteAllCookie.ts +8 -0
  256. package/mobile/src/utils/isIcon.ts +3 -0
  257. package/package.json +1 -1
  258. package/src/components/Blocks.mobile.ts +0 -2
  259. package/src/components/Blocks.ts +0 -2
  260. package/src/components/Bonus/Bonus.tsx +4 -4
  261. package/src/components/Carousel/Carousel.fixture.mobile.tsx +12 -11
  262. package/src/components/Carousel/Carousel.fixture.tsx +15 -14
  263. package/src/components/Carousel/Carousel.tsx +1 -1
  264. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  265. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +41 -2
  266. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +41 -2
  267. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +15 -5
  268. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +5 -3
  269. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +6 -6
  270. package/src/components/ContentPage/ContentPage.tsx +1 -1
  271. package/src/components/Footer/Footer.mobile.tsx +10 -0
  272. package/src/components/Footer/Footer.tsx +10 -0
  273. package/src/components/Footer/SocialMedia.tsx +2 -4
  274. package/src/components/Footer/TextInformation.tsx +1 -1
  275. package/src/components/ProductBlock/renderBackwardButton.tsx +7 -1
  276. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +6 -8
  277. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -2
  278. package/src/components/StepsBlock/StepsBlock.tsx +3 -3
  279. package/src/components/Tabs/Tabs.tsx +8 -4
  280. package/src/components/Tile/Tile.fixture.tsx +1 -2
  281. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  282. package/src/ui-kit/BaseTile/BaseTile.tsx +8 -4
  283. package/src/ui-kit/Button/ButtonInner.tsx +7 -2
  284. package/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
  285. package/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -1
  286. package/src/ui-kit/LocationDialog/renderForeignOffices.tsx +6 -4
  287. package/src/ui-kit/LocationDialog/renderRegion.tsx +5 -2
  288. package/src/utils/deleteAllCookie.ts +8 -0
  289. package/src/utils/isIcon.ts +3 -0
  290. package/bundle/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  291. package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  292. package/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  293. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  294. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -13
  295. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
  296. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  297. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
  298. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
  299. package/dist/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  300. package/dist/components/StepsBlock/checkCanRenderIcon.js +0 -5
  301. package/dist/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
  302. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  303. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.d.ts +0 -8
  304. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.mobile.d.ts +0 -7
  305. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -11
  306. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
  307. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  308. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
  309. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
  310. package/lib/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  311. package/lib/components/StepsBlock/checkCanRenderIcon.js +0 -2
  312. package/lib/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
  313. package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  314. package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  315. package/mobile/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  316. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  317. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -13
  318. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
  319. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  320. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
  321. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
  322. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  323. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.js +0 -5
  324. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
  325. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  326. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -11
  327. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
  328. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  329. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
  330. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
  331. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  332. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.js +0 -2
  333. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
  334. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.example.json +0 -25
  335. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +0 -28
  336. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.ui.json +0 -1
  337. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +0 -15
  338. package/mobile/src/components/StepsBlock/checkCanRenderIcon.ts +0 -4
  339. package/src/components/CarouselProgramsCard/CarouselProgramsCard.example.json +0 -25
  340. package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.mobile.tsx +0 -34
  341. package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +0 -36
  342. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +0 -28
  343. package/src/components/CarouselProgramsCard/CarouselProgramsCard.ui.json +0 -1
  344. package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +0 -15
  345. package/src/components/StepsBlock/checkCanRenderIcon.ts +0 -4
@@ -650,7 +650,8 @@
650
650
 
651
651
  const ButtonInner = JSX((props) => {
652
652
  const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
653
- return (jsxs("div", { className: style(getButtonStyle(props), 'flex gap-xs'), children: [appendLeft ? jsx("div", { className: iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-3xs' : 'text-l'}`, children: text })] })) : null, appendRight ? jsx("div", { className: iconStyleMap[version], children: appendRight }) : null] }));
653
+ const iconHideStyle = isWithText(props) ? 'hidden lg:block' : '';
654
+ return (jsxs("div", { className: style(getButtonStyle(props), 'flex gap-xs'), children: [appendLeft ? (jsx("div", { className: style(iconHideStyle, iconStyleMap[version]), children: appendLeft })) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-3xs' : 'text-l'}`, children: text })] })) : null, appendRight ? (jsx("div", { className: style(iconHideStyle, iconStyleMap[version]), children: appendRight })) : null] }));
654
655
  });
655
656
  const getButtonStyle = (props) => {
656
657
  const { version, aboveText, rounded } = props;
@@ -1329,6 +1330,8 @@
1329
1330
  return description?.items && description.items.length > 0 ? (jsx("ul", { className: listStyleType, children: description.items.map((_, i) => (jsx("li", { children: jsx(Text, { size: "text-l", color: "text-secondary-text group-data-secondary:text-white/80", font: "font-light", children: _ }) }, `benefitListItem-${i}`))) })) : null;
1330
1331
  };
1331
1332
 
1333
+ const isIcon = (icon) => Boolean(icon?.src || icon?.icon);
1334
+
1332
1335
  const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical
1333
1336
  ? 'flex-col gap-xs justify-items-stretch'
1334
1337
  : 'flex-wrap @xl:flex-nowrap gap-lg sm:gap-m', className), children: buttons.map(renderButton$1(buttonClassName)) })) : null;
@@ -1343,7 +1346,7 @@
1343
1346
  const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
1344
1347
  return icon?.iconVersion ? icon?.iconVersion : iconVersionDefault;
1345
1348
  };
1346
- const renderButtonIcon = (icon) => icon?.icon || icon?.src ? (jsx(Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
1349
+ const renderButtonIcon = (icon) => isIcon(icon) ? (jsx(Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
1347
1350
 
1348
1351
  const headlineVersionStyles = {
1349
1352
  XXL: {
@@ -1401,17 +1404,17 @@
1401
1404
  return (jsxs(BlockWrapper, { className: style(isEmbedded ? '@container-normal' : '', className), defaultPadding: isEmbedded ? '' : 'p-6xl', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
1402
1405
  });
1403
1406
 
1404
- const Bonus = JSX(({ className = '', title, description, bonusItems = [], align = AlignStyles, ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "mb-xl", isEmbedded: true, title: title, description: description, headlineVersion: "M", align: align }), jsx("div", { className: "flex flex-wrap w-full", children: bonusItems.length > 0
1405
- ? bonusItems.map((_, i) => (jsxs("div", { className: "mb-3xl last:mb-0 sm:space-y-xs flex flex-col grow w-full p-4xl sm:p-m @xl:w-[49%] border border-gray", children: [jsx("div", { className: "grow", children: jsx(Headline, { title: _?.title, description: _?.description, headlineVersion: "S", isEmbedded: true, align: "text-left" }) }), jsxs("div", { className: "flex justify-center sm:justify-between sm:items-end", children: [jsx("div", { className: "hidden sm:block", children: renderButtonsSection(_?.buttons) }), _.bonusItemContent?.bonusType
1407
+ const Bonus = JSX(({ className = '', title, description, bonusItems = [], align = AlignStyles, ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "mb-xl", isEmbedded: true, title: title, description: description, headlineVersion: "M", align: align }), jsx("div", { className: "flex flex-wrap gap-3xl gap-x-m w-full", children: bonusItems.length > 0
1408
+ ? bonusItems.map((_, i) => (jsxs("div", { className: "w-full @xl:w-[48%] sm:space-y-xs flex flex-col grow w-full p-xl sm:p-m border border-gray", children: [jsx("div", { className: "grow", children: jsx(Headline, { title: _?.title, description: _?.description, headlineVersion: "S", isEmbedded: true, align: "text-left" }) }), jsxs("div", { className: "flex justify-center sm:justify-between sm:items-end", children: [jsx("div", { className: "hidden sm:block", children: renderButtonsSection(_?.buttons) }), _.bonusItemContent?.bonusType
1406
1409
  ? renderBonusItemContent(_.bonusItemContent)
1407
1410
  : null] })] }, String(i))))
1408
1411
  : null })] }) })));
1409
1412
  const renderBonusItemContent = (bonusItemContent) => bonusItemContent.bonusType === 'count'
1410
1413
  ? renderBonusCount(bonusItemContent)
1411
1414
  : renderBonusImage(bonusItemContent);
1412
- const renderBonusCount = (_) => (jsxs("div", { className: "w-full pt-default mt-s flex justify-center sm:justify-end items-end", children: [_.bonusCount ? (
1415
+ const renderBonusCount = (_) => (jsxs("div", { className: "w-full pt-default @xl:mt-s @xl:mb-4 flex justify-center sm:justify-end items-end", children: [_.bonusCount ? (
1413
1416
  // -mb-10 добавлен для выравнивания bonusCount относительно bonusName, тк шрифт font-mohave неправильно высчитывает line-height
1414
- jsx("div", { className: "shrink-0 -mb-10", children: jsx("span", { className: "font-mohave text-title-large sm:text-title-extra gradient-color-text", children: _.bonusCount }) })) : null, _.bonusName ? (jsx("div", { className: "shrink-0 gradient-color-text", children: jsx(Text, { size: "text-h2", children: _.bonusName }) })) : null] }));
1417
+ jsx("div", { className: "shrink-0 -mb-6 @xl:-mb-4", children: jsx("span", { className: "font-mohave text-title-large sm:text-title-extra gradient-color-text", children: _.bonusCount }) })) : null, _.bonusName ? (jsx("div", { className: "shrink-0 gradient-color-text", children: jsx(Text, { size: "text-h2", children: _.bonusName }) })) : null] }));
1415
1418
  const renderBonusImage = (_) => _.image ? jsx(Img, { className: "min-w-12 p-xs rounded-icon shrink-0", image: _.image }) : null;
1416
1419
 
1417
1420
  const isShowDots = true;
@@ -2569,7 +2572,7 @@
2569
2572
  const [dotsActiveIndex] = scroll.visibleIndicesRange;
2570
2573
  // TODO Remove
2571
2574
  const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
2572
- return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsxs("div", { className: style(isAlignCenter ? 'flex justify-center' : '', 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : undefined, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderCarouselCards({ noCardBorder, activeIndex, cardSize, ...rest }) }), jsx(CarouselScrollButtons, { scroll: scroll, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count })] }), jsx(SwipeListControlDots, { className: "@lg:hidden", containerRef: containerRef, activeIndex: dotsActiveIndex, dotCount: count, listType: "horizontal-list" })] }));
2575
+ return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsxs("div", { className: style(isAlignCenter ? 'flex justify-center' : '', 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : undefined, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderCarouselCards({ noCardBorder, activeIndex, cardSize, ...rest }) }), jsx(CarouselScrollButtons, { scroll: scroll, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count })] }), jsx(SwipeListControlDots, { className: "@5xl:hidden", containerRef: containerRef, activeIndex: dotsActiveIndex, dotCount: count, listType: "horizontal-list" })] }));
2573
2576
  });
2574
2577
  Carousel.childrenTypes = [
2575
2578
  'CarouselCard',
@@ -2607,20 +2610,21 @@
2607
2610
  center: '@xl:self-center',
2608
2611
  end: '@xl:self-end',
2609
2612
  };
2610
- const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, isImageAlwaysOnRight = false, isImageSecondary = false, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl font-sans overflow-hidden', padding || defaultPadding, className), children: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: style('grow relative flex flex-col-reverse @xl:flex-row justify-around @xl:justify-between items-stretch gap-3xl'), children: [renderImageContainer(leftImage, { imageAlign }), jsxs("div", { className: style('grid gap-3xl', rightImage ? '@xl:grid-cols-2' : '', leftImage ? '' : 'grow'), children: [jsxs("div", { className: "grow space-y-lg min-w-fit", children: [insetTitle, children] }), renderImageContainer(rightImage, {
2611
- className: style('@xl:justify-self-end @xl:col-start-2', buttons ? rowSpanStyle(isImageAlwaysOnRight) : '', positionStyle(isImageAlwaysOnRight), isImageSecondary ? 'hidden @xl:block' : ''),
2613
+ const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, isImageAlwaysOnRight = false, isImageSecondary = false, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl overflow-hidden', padding || defaultPadding, className), children: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: style('grow relative flex flex-col @md:flex-row gap-3xl', leftImage ? 'self-start' : ''), children: [renderImageContainer(leftImage, { imageAlign, className: 'm-auto' }), jsxs("div", { className: style('grid gap-3xl', rightImage ? '@xl:grid-cols-2' : '', leftImage ? '' : 'grow'), children: [jsxs("div", { className: "grow space-y-lg min-w-fit", children: [insetTitle, children] }), renderImageContainer(rightImage, {
2614
+ className: style('@xl:justify-self-end @xl:col-start-2', buttons ? rowSpanStyle(isImageAlwaysOnRight) : '', positionStyle(isImageAlwaysOnRight), imageSecondaryStyle(isImageSecondary)),
2612
2615
  imageAlign,
2613
2616
  }), renderButtons(buttons)] })] })] })));
2614
2617
  const rowSpanStyle = (isImageAlwaysOnRight) => isImageAlwaysOnRight ? 'row-span-2' : '@xl:row-span-2';
2615
2618
  const positionStyle = (isImageAlwaysOnRight) => isImageAlwaysOnRight ? 'justify-self-end col-start-2 self-center' : '';
2616
2619
  const renderButtons = (buttons) => buttons ? jsx("div", { className: "self-end", children: buttons }) : null;
2617
2620
  const renderImageContainer = (image, { className, imageAlign }) => image ? (jsx("div", { className: style('shrink-1/2 justify-self-center', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
2621
+ const imageSecondaryStyle = (isImageSecondary) => isImageSecondary ? 'hidden @md:block' : '';
2618
2622
 
2619
2623
  const cardStyleMap = {
2620
2624
  black: 'bg-black',
2621
2625
  white: 'bg-white',
2622
2626
  };
2623
- const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors = [], align = 'text-left', padding, ...rest }) => (jsx(BlockWrapper, { className: style('flex flex-col justify-left', className), defaultPadding: "p-2xl", ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, title: title ? (jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: align })) : null, rightImage: image?.src ? (jsx(Img, { className: "flex justify-center align-center mb-xl", image: image })) : null, buttons: renderButtonsSection([button], { buttonClassName: 'w-full self-end' }), children: [colors?.length ? (jsxs("div", { className: "flex text-secondary-text mb-m", children: [jsx("div", { className: "mr-xs", children: jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0426\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null] }) })));
2627
+ const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors = [], align = 'text-left', padding, ...rest }) => (jsx(BlockWrapper, { className: style('flex flex-col justify-left', className), defaultPadding: "p-2xl", ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, title: title || description ? (jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: align })) : null, rightImage: image?.src ? (jsx(Img, { className: "flex justify-center align-center mb-xl", image: image })) : null, buttons: renderButtonsSection([button], { buttonClassName: 'w-full self-end' }), children: [colors?.length ? (jsxs("div", { className: "flex text-secondary-text mb-m", children: [jsx("div", { className: "mr-xs", children: jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0426\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null] }) })));
2624
2628
  const renderColorOption = (color, i) => (jsx("div", { role: "figure", className: `w-6 h-6 ml-s border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
2625
2629
 
2626
2630
  const LINK_CLASS_NAME = `absolute border
@@ -2737,12 +2741,6 @@
2737
2741
  const renderTags = (tags) => (tags?.length ? jsx(Tags, { tags: tags }) : null);
2738
2742
  const renderHeadline = ({ title, description, headlineVersion, align }) => title || description ? (jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isEmbedded: true })) : null;
2739
2743
 
2740
- const CarouselProgramsCard = JSX(({ className, title, icon, list, href, target, ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-3xl", ...rest, children: jsx(LinkWrapper, { className: "flex items-center h-full", href: href, target: target, children: jsx(BaseProductTile, { title: title, headlineVersion: "XS", image: icon, imageOptions: { directionRight: true, imageAlign: 'center' }, benefits: list?.map((_) => ({
2741
- type: 'default',
2742
- label: _.title,
2743
- description: _.description,
2744
- })) }) }) })));
2745
-
2746
2744
  const ICONS_MAP = [
2747
2745
  {
2748
2746
  origins: ['t.me', 'telegram.org'],
@@ -2781,7 +2779,7 @@
2781
2779
  const buttons = media?.map((_) => {
2782
2780
  const { href, icon, text } = _;
2783
2781
  const { iconMapped } = findIconByHref(href);
2784
- const iconCustom = getFilteredIcon(icon) ?? iconMapped;
2782
+ const iconCustom = isIcon(icon) ? icon : iconMapped;
2785
2783
  const buttonText = showButtonText ? { text } : { text: '' };
2786
2784
  if (!hasText && text) {
2787
2785
  setHasText(true);
@@ -2799,13 +2797,12 @@
2799
2797
  buttonClassName,
2800
2798
  }) })] }));
2801
2799
  });
2802
- const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
2803
2800
 
2804
2801
  const ImageAlwaysOnRight = false;
2805
2802
 
2806
2803
  //TODO: replace SocialMedia with renderButtonSection
2807
- const CarouselRecommendationCard = JSX(({ className, padding, description, href, icon, items = [], listItemSize = 'S', socialMedia = [], target, title, align = 'text-left', isImageAlwaysOnRight = ImageAlwaysOnRight, ...rest }) => {
2808
- return (jsx(BlockWrapper, { className: style('relative min-h-28 group-data-gray:bg-main-divider/50', className), defaultPadding: "p-0", ...rest, children: jsx(LinkWrapper, { href: href, target: target, className: "h-full", children: jsx(BaseTile, { className: "h-full", defaultPadding: "p-m", padding: padding, insetTitle: title ? (jsx(Headline, { title: title, description: description, headlineVersion: "S", isEmbedded: true, align: align })) : null, rightImage: icon?.icon || icon?.src ? jsx(Img, { image: icon }) : null, buttons: socialMedia.length ? (jsx(SocialMedia, { media: socialMedia, showButtonText: true, version: rest.version })) : null, isImageAlwaysOnRight: isImageAlwaysOnRight, children: items.length ? jsx(List, { items: items, listItemSize: listItemSize }) : null }) }) }));
2804
+ const CarouselRecommendationCard = JSX(({ className, padding, description, href, icon, items = [], listItemSize = 'S', socialMedia = [], target, title, align = 'text-left', benefits, imageOptions: { directionRight = true, isImageAlwaysOnRight = ImageAlwaysOnRight, isImageSecondary = false, } = {}, ...rest }) => {
2805
+ return (jsx(BlockWrapper, { className: style('relative min-h-28 group-data-gray:bg-main-divider/50', className), defaultPadding: "p-0", ...rest, children: jsx(LinkWrapper, { href: href, target: target, className: "h-full", children: jsxs(BaseTile, { className: "h-full", defaultPadding: "p-2xl", padding: padding, insetTitle: title ? (jsx(Headline, { title: title, description: description, headlineVersion: "S", isEmbedded: true, align: align })) : null, ...leftOrRightImage(isIcon(icon) ? jsx(Img, { image: icon }) : null, directionRight), buttons: socialMedia.length ? (jsx(SocialMedia, { media: socialMedia, showButtonText: true, version: rest?.version })) : null, isImageAlwaysOnRight: isImageAlwaysOnRight, isImageSecondary: isImageSecondary, children: [jsx(BenefitsList, { benefits: benefits }), jsx(List, { items: items, listItemSize: listItemSize })] }) }) }));
2809
2806
  });
2810
2807
 
2811
2808
  const renderCardInfo = (cell, i) => {
@@ -2818,9 +2815,8 @@
2818
2815
  const cellsNode = cardCells.map(renderCardInfo);
2819
2816
  const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
2820
2817
  const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
2821
- return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-3xl", ...rest, children: [renderIconBlock$1(icon), title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-m", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
2818
+ return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-3xl", ...rest, children: [isIcon(icon) ? (jsx("div", { className: "self-center", children: jsx(Img, { image: icon }) })) : null, title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-m", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
2822
2819
  });
2823
- const renderIconBlock$1 = (icon) => (jsx("div", { className: "self-center", children: icon?.src || icon?.icon ? jsx(Img, { image: icon }) : null }));
2824
2820
  const renderFoldButton$1 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-lg flex justify-between items-center", onClick: onToggle, children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
2825
2821
 
2826
2822
  const gradientStyle = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
@@ -3209,6 +3205,14 @@
3209
3205
 
3210
3206
  const useSitemap = (fallback) => useSWRResource(projectSettings.SITEMAP || 'sitemap', { fallback });
3211
3207
 
3208
+ const deleteAllCookies = () => {
3209
+ const cookies = globalThis.document?.cookie.split(';') ?? [];
3210
+ for (const cookie of cookies) {
3211
+ const [name] = cookie.split('=');
3212
+ globalThis.document.cookie = `${name}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/`;
3213
+ }
3214
+ };
3215
+
3212
3216
  const foldableSectionStyles = 'flex flex-wrap group-last:last:pb-0';
3213
3217
 
3214
3218
  const getIconName = (isUnfolded) => isUnfolded ? 'ArrowUpSolidIcon' : 'ArrowDownSolidIcon';
@@ -3281,13 +3285,13 @@
3281
3285
  return (jsx("a", { className: `text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
3282
3286
  });
3283
3287
 
3284
- const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: style('@container', className), children: [jsx("div", { className: "pt-lg", children: jsx(Text, { size: "text-xs", font: "font-light", color: "text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex flex-col @lg:flex-row justify-start items-start gap-x-lg gap-y-xs pt-lg", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
3288
+ const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: style('@container', className), children: [jsx("div", { className: "pt-lg", children: jsx(Text, { size: "text-xs", font: "font-light", color: "text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex flex-col @5xl:flex-row justify-start items-start gap-x-lg gap-y-xs pt-lg", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
3285
3289
 
3286
3290
  const Footer = JSX(({ className, ...rest }) => {
3287
3291
  const fallback = rest.options?.page?.fallback;
3288
3292
  const { topItems } = useSitemap(fallback);
3289
3293
  const { relatedEnterprises, contacts, socialMedia, mobileApps, horizontalNavigationTitle, documents, } = useSWRResource(projectSettings.FOOTER || 'footer', { fallback });
3290
- return (jsxs(BlockWrapper, { tag: "footer", className: className, defaultPadding: "p-4xl pb-24", ...rest, children: [jsx("div", { className: "mb-lg pb-xs border-b border-main-divider", children: topItems?.map((item, i) => (jsx(RollupItem, { label: item?.text, labelIcon: item?.icon, children: jsx(LinkList, { items: item.items, basePath: appendSlash(item.href) }) }, String(i)))) }), jsx(Contacts, { className: "overflow-hidden", items: contacts }), jsxs("div", { className: "mt-xl", children: [jsx(SocialMedia, { className: "mb-xl", media: socialMedia, stretched: true, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }), jsx("div", { className: "mt-xs", children: mobileApps?.map(renderButton) })] }), jsx(HorizontalNavigation, { className: "py-lg border-y border-main-divider", title: horizontalNavigationTitle, links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
3294
+ return (jsxs(BlockWrapper, { tag: "footer", className: className, defaultPadding: "p-4xl pb-24", ...rest, children: [jsx("div", { className: "mb-lg pb-xs border-b border-main-divider", children: topItems?.map((item, i) => (jsx(RollupItem, { label: item?.text, labelIcon: item?.icon, children: jsx(LinkList, { items: item.items, basePath: appendSlash(item.href) }) }, String(i)))) }), jsx(Contacts, { className: "overflow-hidden", items: contacts }), jsxs("div", { className: "mt-xl", children: [jsx(SocialMedia, { className: "mb-xl", media: socialMedia, stretched: true, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }), jsx("div", { className: "mt-xs", children: mobileApps?.map(renderButton) })] }), jsx("div", { className: "py-lg border-t border-main-divider", children: jsx(HorizontalNavigationLink, { text: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u043F\u0440\u0435\u0436\u043D\u044E\u044E \u0432\u0435\u0440\u0441\u0438\u044E \u0441\u0430\u0439\u0442\u0430", className: "text-l font-light max-w-[292px]", href: "https://old.rshb.ru", onClick: deleteAllCookies }) }), jsx(HorizontalNavigation, { className: "py-lg border-y border-main-divider", title: horizontalNavigationTitle, links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
3291
3295
  });
3292
3296
  const renderButton = ({ href = '/', text }, i) => {
3293
3297
  const { label } = findIconByHref(href);
@@ -3562,7 +3566,7 @@
3562
3566
  return (jsxs("div", { className: "hidden sm:flex items-center gap-s", children: [jsx("div", { className: getRegularButtonClasses({ className, version, rounded: true }), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
3563
3567
  icon: 'ArrowLeftIcon',
3564
3568
  iconVersion: iconVersion,
3565
- } }) }), jsx(Button, { version: "link", text: text, ariaLabel: text, onClick: handleClick })] }));
3569
+ } }) }), jsx(Button, { version: "link", className: "group-data-secondary:text-white/80", text: text, ariaLabel: text, onClick: handleClick })] }));
3566
3570
  }
3567
3571
 
3568
3572
  const ProductBlock = JSX(({ className, padding, backwardButton, showBorder, ...rest }) => {
@@ -3585,7 +3589,7 @@
3585
3589
 
3586
3590
  const ProductTile = JSX(({ className, padding, headlineVersion = 'S', isTabularBenefits = true, additionalDescription, imageOptions, isFullWidthTitle = true, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-4xl sm:p-xl", padding: padding, headlineVersion: headlineVersion, isTabularBenefits: isTabularBenefits, imageOptions: { isImageSecondary: true, ...imageOptions }, isFullWidthTitle: isFullWidthTitle, ...rest, children: additionalDescription ? (jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null }) })));
3587
3591
 
3588
- const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [renderIconBlock(icon), title ? jsx(Heading, { headingType: "h3", as: "h3", title: title }) : null] }), jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock({
3592
+ const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [isIcon(icon) ? (jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: jsx(Img, { image: icon }) })) : null, title ? jsx(Heading, { headingType: "h3", as: "h3", title: title }) : null] }), jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock({
3589
3593
  label: 'Адрес',
3590
3594
  data: address,
3591
3595
  iconName: 'GeolocationIcon',
@@ -3595,7 +3599,6 @@
3595
3599
  iconName: 'MailIcon',
3596
3600
  dataColor: 'text-primary-main',
3597
3601
  }), button?.text ? renderButtonsSection([button]) : null] })] })));
3598
- const renderIconBlock = (icon) => (jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: icon?.src || icon?.icon ? jsx(Img, { image: icon }) : null }));
3599
3602
  const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider pb-lg", children: jsx(RichText, { __html: __html }) }));
3600
3603
  const renderBlock = ({ label, data, iconName, dataColor = '' }) => data ? (jsxs("div", { className: "flex gap-s", children: [jsx(Icon, { iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col gap-2xs", children: [jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: label }), jsx(Text, { size: "text-xl", color: dataColor, children: data })] })] })) : null;
3601
3604
 
@@ -3930,8 +3933,6 @@
3930
3933
  throw new Error(x);
3931
3934
  }
3932
3935
 
3933
- const checkCanRenderIcon = (icon) => Boolean(icon?.icon || icon?.src);
3934
-
3935
3936
  const STEPS_BLOCK_STYLE = {
3936
3937
  description: 'text-white/80 text-l font-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
3937
3938
  iconText: 'text-white group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
@@ -3975,7 +3976,7 @@
3975
3976
  const isImg = Boolean(step?.icon?.src);
3976
3977
  const iconAreaSize = STEPS_SIZE_MAP[size][isImg ? 'image' : 'icon'];
3977
3978
  const containerStyle = isImg ? '' : `rounded-md ${styleMap.iconBackground}`;
3978
- return (jsx("div", { className: style(iconAreaSize, containerStyle, 'z-10 mr-s flex justify-center content-center'), children: jsx("span", { className: "flex max-w-full max-h-full self-center text-h4 text-secondary-text group-data-secondary:text-white", children: checkCanRenderIcon(step?.icon) ? (jsx(Img, { image: { ...step.icon, iconVersion: step.icon?.iconVersion || iconVersion }, imageClassName: "max-w-full max-h-full", width: iconSize, height: iconSize })) : (jsx("span", { children: i + 1 })) }) }));
3979
+ return (jsx("div", { className: style(iconAreaSize, containerStyle, 'z-10 mr-s flex justify-center content-center'), children: jsx("span", { className: "flex max-w-full max-h-full self-center text-h4 text-secondary-text group-data-secondary:text-white", children: isIcon(step?.icon) ? (jsx(Img, { image: { ...step.icon, iconVersion: step.icon?.iconVersion || iconVersion }, imageClassName: "max-w-full max-h-full", width: iconSize, height: iconSize })) : (jsx("span", { children: i + 1 })) }) }));
3979
3980
  };
3980
3981
 
3981
3982
  const isHrefActive = (router) => ({ href }) => !href
@@ -4186,16 +4187,16 @@
4186
4187
  return prefixL;
4187
4188
  }
4188
4189
 
4189
- const renderForeignOffices = (foreignOffices) => foreignOffices?.length ? (jsxs("div", { className: "border-t border-main-divider mt-2xs pt-2xs", children: [jsx("div", { className: "mb-m", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), jsx("div", { className: "flex gap-5xl", children: foreignOffices.map((office, i) => (jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null;
4190
+ const renderForeignOffices = (foreignOffices) => foreignOffices?.length ? (jsxs("div", { className: "sm:border-t sm:border-main-divider mt-2xs pt-2xs", children: [jsx("div", { className: "mb-m", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), jsx("div", { className: "flex flex-col sm:flex-row gap-5xl", children: foreignOffices.map((office, i) => (jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null;
4190
4191
  const ForeignOffice = JSX(({ icon, ...rest }) => {
4191
4192
  const link = useLink();
4192
4193
  const { text, target, href, onClick } = link(rest);
4193
- return (jsxs("div", { className: "flex gap-s", children: [icon ? jsx(Img, { pathPrefix: "/wcms-resources/", image: icon }) : null, text ? (jsx("a", { className: "hover:text-primary-hover", href: href, target: target, onClick: onClick, children: text })) : null] }));
4194
+ return (jsxs("div", { className: "flex gap-s items-center", children: [icon ? jsx(Img, { pathPrefix: "/wcms-resources/", image: icon }) : null, text ? (jsx("a", { className: "hover:text-primary-hover", href: href, target: target, onClick: onClick, children: jsx(Text, { size: "text-l", font: "font-light", color: "text-primary-text", children: text }) })) : null] }));
4194
4195
  });
4195
4196
 
4196
- const renderRegion = (onChangeLocation) => (region) => (jsx("div", { className: "mb-2xs", children: jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
4197
+ const renderRegion = (onChangeLocation) => (region) => (jsx("div", { className: "mb-xs sm:mb-2xs", children: jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
4197
4198
  onChangeLocation && onChangeLocation(region);
4198
- }, children: region.name || '' }) }, region.id));
4199
+ }, children: jsx(Text, { size: "text-l", font: "font-light", children: region.name || '' }) }) }, region.id));
4199
4200
 
4200
4201
  const renderRegionGroup = (onChangeLocation) => ([letter, regions]) => (jsxs("div", { className: "break-inside-avoid mb-2xl w-56", children: [jsx("div", { className: "mb-s", children: jsx(Text, { size: "text-h6", children: letter }) }), regions.map(renderRegion(onChangeLocation))] }, letter));
4201
4202
 
@@ -4216,9 +4217,9 @@
4216
4217
  selectCurrentLocation(region);
4217
4218
  close();
4218
4219
  }, []);
4219
- return (jsxs(Dialog, { head: jsxs("div", { children: [currentLocation ? (jsxs("div", { className: "mb-s", children: [jsx(Text, { size: "text-l", font: "font-light", children: "\u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B\u0431\u0440\u0430\u043D:\u00A0" }), jsx("button", { onClick: () => selectCurrentLocation(currentLocation), children: jsx(Text, { color: "text-primary-main", children: currentLocation.name }) })] })) : null, jsx(SearchBar$1, { onSearch: setQuery, searchTerm: query })] }), children: [query && query.length >= SEARCH_TERM_MIN_LENGTH ? (jsx("div", { children: regions
4220
+ return (jsxs(Dialog, { className: "pb-20", head: jsxs("div", { children: [jsx(Text, { size: "text-h4", color: "text-primary-text", children: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B" }), currentLocation ? (jsxs("div", { className: "mb-s", children: [jsx(Text, { size: "text-l", font: "font-light", children: "\u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B\u0431\u0440\u0430\u043D:\u00A0" }), jsx("button", { onClick: () => selectCurrentLocation(currentLocation), children: jsx(Text, { color: "text-primary-main", children: currentLocation.name }) })] })) : null, jsx(SearchBar$1, { onSearch: setQuery, searchTerm: query })] }), children: [query && query.length >= SEARCH_TERM_MIN_LENGTH ? (jsx("div", { children: regions
4220
4221
  .filter(({ name }) => name && jaroWinklerDistance(name.toLowerCase())(query.toLowerCase()) >= 0.8)
4221
- .map(renderRegion(handleChangeLocation)) })) : (jsx("div", { className: "columns-2 sm:columns-5", children: Array.from(regionsGroupByLetter.entries()).map(renderRegionGroup(handleChangeLocation)) })), renderForeignOffices(foreignOffices)] }));
4222
+ .map(renderRegion(handleChangeLocation)) })) : (jsx("div", { className: "columns-1 sm:columns-5", children: Array.from(regionsGroupByLetter.entries()).map(renderRegionGroup(handleChangeLocation)) })), renderForeignOffices(foreignOffices)] }));
4222
4223
  });
4223
4224
  const regionFirstLetter = (region) => region.name?.charAt(0) || '';
4224
4225
  const cleanUpRegions = (regions) => regions.map((region) => ({
@@ -4498,8 +4499,9 @@
4498
4499
  const defaultTabIndex = router.query[TAB_QUERY_PARAM_KEY]
4499
4500
  ? tabs.findIndex((_) => _.type === 'group' && _.ref === router.query[TAB_QUERY_PARAM_KEY]) || 0
4500
4501
  : 0;
4502
+ const defaultTab = tabs[defaultTabIndex] || tabs[0];
4501
4503
  setActiveTabIndex(defaultTabIndex);
4502
- fireTabEvent(tabs[defaultTabIndex]);
4504
+ fireTabEvent(defaultTab);
4503
4505
  }, [isReady]);
4504
4506
  useEffect(() => {
4505
4507
  const activeTab = tabs[activeTabIndex];
@@ -4519,9 +4521,12 @@
4519
4521
  };
4520
4522
  const handleChange = useCallback((_) => {
4521
4523
  const index = tabsControlItems.indexOf(_);
4524
+ const tab = tabs[index];
4522
4525
  setActiveTabIndex(index);
4523
- fireTabEvent(tabs[index]);
4524
- updateUrlSearchTabParam(_);
4526
+ fireTabEvent(tab);
4527
+ if (tab.type === 'group') {
4528
+ updateUrlSearchTabParam(_);
4529
+ }
4525
4530
  }, [tabs, tabsControlItems]);
4526
4531
  return (jsx(BlockWrapper, { className: style(isSticky ? 'sticky top-1 z-20' : '', className), defaultPadding: "p-0", ...rest, children: renderTabs({
4527
4532
  items: tabsControlItems,
@@ -4736,7 +4741,6 @@
4736
4741
  CarouselCatalogCard,
4737
4742
  CarouselLinks,
4738
4743
  CarouselProductCard,
4739
- CarouselProgramsCard,
4740
4744
  CarouselRecommendationCard,
4741
4745
  CarouselTariffsCard,
4742
4746
  ComparisonTable,
@@ -4953,7 +4957,7 @@
4953
4957
  parent: data,
4954
4958
  };
4955
4959
  useBlockRouterProvider();
4956
- return (jsxs("div", { "data-theme": colorPalette, children: [jsxs("section", { className: style('@container relative', pageStyle, className), children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container space-y-px @lg:space-y-0 @lg:grid @lg:grid-cols-12 @lg:gap-2xs", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null] }), jsx(StickyBottomMenu, {}), jsx(DialogManager, {}), jsx(PopupManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
4960
+ return (jsxs("div", { "data-theme": colorPalette, children: [jsxs("section", { className: style('@container relative', pageStyle, className), children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container space-y-px @5xl:space-y-0 @5xl:grid @5xl:grid-cols-12 @5xl:gap-2xs", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null] }), jsx(StickyBottomMenu, {}), jsx(DialogManager, {}), jsx(PopupManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
4957
4961
  });
4958
4962
  ContentPage.childrenTypes = [];
4959
4963
  ContentPage.slots = () => ['header', 'footer', 'StickyBottomMenu'];
@@ -4963,7 +4967,7 @@
4963
4967
 
4964
4968
  const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
4965
4969
 
4966
- const packageVersion = "0.14.24";
4970
+ const packageVersion = "0.14.26";
4967
4971
 
4968
4972
  exports.Blocks = Blocks;
4969
4973
  exports.ContentPage = ContentPage;