@redneckz/wildless-cms-uni-blocks 0.6.45 → 0.6.47

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 (716) hide show
  1. package/bin/migration-scripts/0.6.43.js +1 -1
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +193 -173
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  6. package/bundle/components/Headline/HeadlineContent.d.ts +2 -2
  7. package/bundle/components/Headline/headlineStyles.d.ts +7 -0
  8. package/bundle/components/Headline/headlineVersionStyles.d.ts +9 -0
  9. package/bundle/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
  10. package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
  11. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +3 -3
  12. package/bundle/components/ProductTile/ProductTileContent.d.ts +5 -5
  13. package/bundle/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  14. package/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  15. package/bundle/content-page-repository/replaceHeadingTags.d.ts +1 -0
  16. package/bundle/content-page-repository/transformHTML.d.ts +1 -0
  17. package/bundle/model/AlignText.d.ts +2 -1
  18. package/bundle/model/BlockVersion.d.ts +9 -0
  19. package/bundle/ui-kit/Img/Img.mobile.d.ts +2 -2
  20. package/bundle/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  21. package/bundle/ui-kit/Img/ImgInner.d.ts +2 -2
  22. package/bundle/ui-kit/Img/ImgProps.d.ts +5 -5
  23. package/bundle/ui-kit/RichText/RichText.d.ts +2 -0
  24. package/bundle/ui-kit/RichText/RichTextProps.d.ts +6 -0
  25. package/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  26. package/dist/components/AccordionItem/AccordionItem.js +1 -1
  27. package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
  28. package/dist/components/Blocks.js +15 -11
  29. package/dist/components/Blocks.js.map +1 -1
  30. package/dist/components/Bonus/Bonus.js +1 -1
  31. package/dist/components/Bonus/Bonus.js.map +1 -1
  32. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  33. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  34. package/dist/components/BusinessBlock/BusinessCard.js +1 -1
  35. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  36. package/dist/components/Carousel/Carousel.js +3 -1
  37. package/dist/components/Carousel/Carousel.js.map +1 -1
  38. package/dist/components/CarouselCard/CarouselCard.js +1 -1
  39. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  40. package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  41. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  42. package/dist/components/CarouselProductCard/CarouselProductCard.js +2 -2
  43. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  44. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -3
  45. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  46. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  47. package/dist/components/Catalog/Catalog.js +1 -1
  48. package/dist/components/Catalog/Catalog.js.map +1 -1
  49. package/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  50. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  51. package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -1
  52. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  53. package/dist/components/Gallery/GalleryCardInner.js +2 -2
  54. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  55. package/dist/components/Gallery/GalleryContainer.js +1 -1
  56. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  57. package/dist/components/GracePeriod/GracePeriod.js +1 -1
  58. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  59. package/dist/components/Header/HeaderBurger.js +1 -1
  60. package/dist/components/Header/HeaderBurger.js.map +1 -1
  61. package/dist/components/Headline/Headline.js +7 -6
  62. package/dist/components/Headline/Headline.js.map +1 -1
  63. package/dist/components/Headline/Headline.mobile.js +5 -5
  64. package/dist/components/Headline/Headline.mobile.js.map +1 -1
  65. package/dist/components/Headline/HeadlineContent.d.ts +2 -2
  66. package/dist/components/Headline/headlineStyles.d.ts +7 -0
  67. package/dist/components/Headline/headlineStyles.js +18 -0
  68. package/dist/components/Headline/headlineStyles.js.map +1 -0
  69. package/dist/components/Headline/headlineVersionStyles.d.ts +9 -0
  70. package/dist/components/Headline/headlineVersionStyles.js +46 -0
  71. package/dist/components/Headline/headlineVersionStyles.js.map +1 -0
  72. package/dist/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
  73. package/dist/components/HorizontalLayout/HorizontalLayout.js +23 -0
  74. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -0
  75. package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
  76. package/dist/components/HorizontalLayout/HorizontalLayoutContent.js +2 -0
  77. package/dist/components/HorizontalLayout/HorizontalLayoutContent.js.map +1 -0
  78. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  79. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  80. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  81. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  82. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  83. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  84. package/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -3
  85. package/dist/components/PictureText/PictureText.js +1 -1
  86. package/dist/components/PictureText/PictureText.js.map +1 -1
  87. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  88. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  89. package/dist/components/ProductTile/ProductTile.js +1 -1
  90. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  91. package/dist/components/ProductTile/ProductTileContent.d.ts +5 -5
  92. package/dist/components/ProductTile/renderBenefit.js +4 -4
  93. package/dist/components/ProductTile/renderBenefit.js.map +1 -1
  94. package/dist/components/PromoTile/PromoTile.js +1 -1
  95. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  96. package/dist/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  97. package/dist/components/RichTextBlock/RichTextBlock.js +11 -0
  98. package/dist/components/RichTextBlock/RichTextBlock.js.map +1 -0
  99. package/dist/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  100. package/dist/components/RichTextBlock/RichTextBlockContent.js +2 -0
  101. package/dist/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
  102. package/dist/components/VerticalLayout/VerticalLayout.js +3 -16
  103. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  104. package/dist/content-page-repository/replaceHeadingTags.d.ts +1 -0
  105. package/dist/content-page-repository/replaceHeadingTags.js +5 -0
  106. package/dist/content-page-repository/replaceHeadingTags.js.map +1 -0
  107. package/dist/content-page-repository/transformContentPage.js +5 -0
  108. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  109. package/dist/content-page-repository/transformHTML.d.ts +1 -0
  110. package/dist/content-page-repository/transformHTML.js +23 -0
  111. package/dist/content-page-repository/transformHTML.js.map +1 -0
  112. package/dist/content-page-repository/transformMarkdown.js +2 -1
  113. package/dist/content-page-repository/transformMarkdown.js.map +1 -1
  114. package/dist/model/AlignText.d.ts +2 -1
  115. package/dist/model/AlignText.js.map +1 -1
  116. package/dist/model/BlockVersion.d.ts +9 -0
  117. package/dist/model/BlockVersion.js +20 -1
  118. package/dist/model/BlockVersion.js.map +1 -1
  119. package/dist/services/BlockRouter/BlockRouter.js +4 -3
  120. package/dist/services/BlockRouter/BlockRouter.js.map +1 -1
  121. package/dist/ui-kit/Button/ButtonSection.js +1 -1
  122. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  123. package/dist/ui-kit/Img/Img.mobile.d.ts +2 -2
  124. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  125. package/dist/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  126. package/dist/ui-kit/Img/ImgAsPicture.js +9 -3
  127. package/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
  128. package/dist/ui-kit/Img/ImgInner.d.ts +2 -2
  129. package/dist/ui-kit/Img/ImgInner.js +3 -9
  130. package/dist/ui-kit/Img/ImgInner.js.map +1 -1
  131. package/dist/ui-kit/Img/ImgProps.d.ts +5 -5
  132. package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  133. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  134. package/dist/ui-kit/Location/Location.js +3 -3
  135. package/dist/ui-kit/Location/Location.js.map +1 -1
  136. package/dist/ui-kit/Logo/renderImage.js +1 -1
  137. package/dist/ui-kit/Logo/renderImage.js.map +1 -1
  138. package/dist/ui-kit/Paragraph/Paragraph.js +1 -5
  139. package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  140. package/dist/ui-kit/RichText/RichText.d.ts +2 -0
  141. package/dist/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +5 -5
  142. package/dist/ui-kit/RichText/RichText.js.map +1 -0
  143. package/dist/ui-kit/RichText/RichTextProps.d.ts +6 -0
  144. package/dist/ui-kit/{MarkdownText/MarkdownTextProps.js → RichText/RichTextProps.js} +1 -1
  145. package/dist/ui-kit/RichText/RichTextProps.js.map +1 -0
  146. package/dist/ui-kit/SearchBar/SearchBarInner.js +2 -2
  147. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  148. package/dist/ui-kit/Text/TextProps.d.ts +1 -1
  149. package/lib/common.css +1 -1
  150. package/lib/components/AccordionItem/AccordionItem.js +1 -1
  151. package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  152. package/lib/components/Blocks.js +15 -11
  153. package/lib/components/Blocks.js.map +1 -1
  154. package/lib/components/Bonus/Bonus.js +1 -1
  155. package/lib/components/Bonus/Bonus.js.map +1 -1
  156. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  157. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  158. package/lib/components/BusinessBlock/BusinessCard.js +1 -1
  159. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  160. package/lib/components/Carousel/Carousel.js +3 -1
  161. package/lib/components/Carousel/Carousel.js.map +1 -1
  162. package/lib/components/CarouselCard/CarouselCard.js +1 -1
  163. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  164. package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  165. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  166. package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  167. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  168. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +1 -0
  169. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -4
  170. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  171. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  172. package/lib/components/Catalog/Catalog.js +1 -1
  173. package/lib/components/Catalog/Catalog.js.map +1 -1
  174. package/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  175. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  176. package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -1
  177. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  178. package/lib/components/Gallery/GalleryCardInner.js +1 -1
  179. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  180. package/lib/components/Gallery/GalleryContainer.js +1 -1
  181. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  182. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  183. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  184. package/lib/components/Header/HeaderBurger.js +1 -1
  185. package/lib/components/Header/HeaderBurger.js.map +1 -1
  186. package/lib/components/Headline/Headline.js +7 -6
  187. package/lib/components/Headline/Headline.js.map +1 -1
  188. package/lib/components/Headline/Headline.mobile.js +5 -5
  189. package/lib/components/Headline/Headline.mobile.js.map +1 -1
  190. package/lib/components/Headline/HeadlineContent.d.ts +2 -2
  191. package/lib/components/Headline/headlineStyles.d.ts +7 -0
  192. package/lib/components/Headline/headlineStyles.js +16 -0
  193. package/lib/components/Headline/headlineStyles.js.map +1 -0
  194. package/lib/components/Headline/headlineVersionStyles.d.ts +9 -0
  195. package/lib/components/Headline/headlineVersionStyles.js +44 -0
  196. package/lib/components/Headline/headlineVersionStyles.js.map +1 -0
  197. package/lib/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
  198. package/lib/components/HorizontalLayout/HorizontalLayout.fixture.d.ts +11 -0
  199. package/lib/components/HorizontalLayout/HorizontalLayout.js +21 -0
  200. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -0
  201. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
  202. package/lib/components/HorizontalLayout/HorizontalLayoutContent.js +2 -0
  203. package/lib/components/HorizontalLayout/HorizontalLayoutContent.js.map +1 -0
  204. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  205. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  206. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  207. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  208. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  209. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  210. package/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -3
  211. package/lib/components/PictureText/PictureText.js +1 -1
  212. package/lib/components/PictureText/PictureText.js.map +1 -1
  213. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  214. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  215. package/lib/components/ProductTile/ProductTile.js +1 -1
  216. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  217. package/lib/components/ProductTile/ProductTileContent.d.ts +5 -5
  218. package/lib/components/ProductTile/renderBenefit.js +4 -4
  219. package/lib/components/ProductTile/renderBenefit.js.map +1 -1
  220. package/lib/components/PromoTile/PromoTile.js +1 -1
  221. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  222. package/lib/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  223. package/lib/components/RichTextBlock/RichTextBlock.fixture.d.ts +6 -0
  224. package/lib/components/RichTextBlock/RichTextBlock.js +9 -0
  225. package/lib/components/RichTextBlock/RichTextBlock.js.map +1 -0
  226. package/lib/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  227. package/lib/components/RichTextBlock/RichTextBlockContent.js +2 -0
  228. package/lib/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
  229. package/lib/components/VerticalLayout/VerticalLayout.js +3 -16
  230. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  231. package/lib/content-page-repository/replaceHeadingTags.d.ts +1 -0
  232. package/lib/content-page-repository/replaceHeadingTags.js +2 -0
  233. package/lib/content-page-repository/replaceHeadingTags.js.map +1 -0
  234. package/lib/content-page-repository/transformContentPage.js +5 -0
  235. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  236. package/lib/content-page-repository/transformHTML.d.ts +1 -0
  237. package/lib/content-page-repository/transformHTML.js +17 -0
  238. package/lib/content-page-repository/transformHTML.js.map +1 -0
  239. package/lib/content-page-repository/transformMarkdown.js +2 -1
  240. package/lib/content-page-repository/transformMarkdown.js.map +1 -1
  241. package/lib/model/AlignText.d.ts +2 -1
  242. package/lib/model/AlignText.js.map +1 -1
  243. package/lib/model/BlockVersion.d.ts +9 -0
  244. package/lib/model/BlockVersion.js +19 -0
  245. package/lib/model/BlockVersion.js.map +1 -1
  246. package/lib/services/BlockRouter/BlockRouter.js +4 -3
  247. package/lib/services/BlockRouter/BlockRouter.js.map +1 -1
  248. package/lib/ui-kit/Button/ButtonSection.js +1 -1
  249. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  250. package/lib/ui-kit/Img/Img.mobile.d.ts +2 -2
  251. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  252. package/lib/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  253. package/lib/ui-kit/Img/ImgAsPicture.js +9 -3
  254. package/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
  255. package/lib/ui-kit/Img/ImgInner.d.ts +2 -2
  256. package/lib/ui-kit/Img/ImgInner.js +3 -9
  257. package/lib/ui-kit/Img/ImgInner.js.map +1 -1
  258. package/lib/ui-kit/Img/ImgProps.d.ts +5 -5
  259. package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  260. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  261. package/lib/ui-kit/Location/Location.js +3 -3
  262. package/lib/ui-kit/Location/Location.js.map +1 -1
  263. package/lib/ui-kit/Logo/renderImage.js +1 -1
  264. package/lib/ui-kit/Logo/renderImage.js.map +1 -1
  265. package/lib/ui-kit/Paragraph/Paragraph.js +1 -5
  266. package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  267. package/lib/ui-kit/RichText/RichText.d.ts +2 -0
  268. package/lib/ui-kit/RichText/RichText.fixture.d.ts +5 -0
  269. package/lib/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +4 -4
  270. package/lib/ui-kit/RichText/RichText.js.map +1 -0
  271. package/lib/ui-kit/RichText/RichTextProps.d.ts +6 -0
  272. package/lib/ui-kit/RichText/RichTextProps.js +2 -0
  273. package/lib/ui-kit/RichText/RichTextProps.js.map +1 -0
  274. package/lib/ui-kit/SearchBar/SearchBarInner.js +2 -2
  275. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  276. package/lib/ui-kit/Text/TextProps.d.ts +1 -1
  277. package/mobile/bundle/bundle.umd.js +35 -49
  278. package/mobile/bundle/bundle.umd.min.js +1 -1
  279. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  280. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +2 -2
  281. package/mobile/bundle/components/Headline/headlineStyles.d.ts +7 -0
  282. package/mobile/bundle/components/Headline/headlineVersionStyles.d.ts +9 -0
  283. package/mobile/bundle/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
  284. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
  285. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +3 -3
  286. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +5 -5
  287. package/mobile/bundle/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  288. package/mobile/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  289. package/mobile/bundle/content-page-repository/replaceHeadingTags.d.ts +1 -0
  290. package/mobile/bundle/content-page-repository/transformHTML.d.ts +1 -0
  291. package/mobile/bundle/model/AlignText.d.ts +2 -1
  292. package/mobile/bundle/model/BlockVersion.d.ts +9 -0
  293. package/mobile/bundle/ui-kit/Img/Img.d.ts +2 -2
  294. package/mobile/bundle/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  295. package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +2 -2
  296. package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +5 -5
  297. package/mobile/bundle/ui-kit/RichText/RichText.d.ts +2 -0
  298. package/mobile/bundle/ui-kit/RichText/RichTextProps.d.ts +6 -0
  299. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  300. package/mobile/dist/components/Bonus/Bonus.js +1 -1
  301. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  302. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  303. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  304. package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
  305. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  306. package/mobile/dist/components/Carousel/Carousel.js +3 -1
  307. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  308. package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
  309. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  310. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  311. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  312. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +2 -2
  313. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  314. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -3
  315. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  316. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  317. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  318. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  319. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  320. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  321. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -1
  322. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  323. package/mobile/dist/components/Gallery/GalleryCardInner.js +2 -2
  324. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  325. package/mobile/dist/components/Gallery/GalleryContainer.js +1 -1
  326. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  327. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  328. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  329. package/mobile/dist/components/Header/HeaderBurger.js +1 -1
  330. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  331. package/mobile/dist/components/Headline/Headline.js +5 -5
  332. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  333. package/mobile/dist/components/Headline/HeadlineContent.d.ts +2 -2
  334. package/mobile/dist/components/Headline/headlineStyles.d.ts +7 -0
  335. package/mobile/dist/components/Headline/headlineStyles.js +18 -0
  336. package/mobile/dist/components/Headline/headlineStyles.js.map +1 -0
  337. package/mobile/dist/components/Headline/headlineVersionStyles.d.ts +9 -0
  338. package/mobile/dist/components/Headline/headlineVersionStyles.js +46 -0
  339. package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -0
  340. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
  341. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +23 -0
  342. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -0
  343. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
  344. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.js +2 -0
  345. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.js.map +1 -0
  346. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  347. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  348. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  349. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  350. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -3
  351. package/mobile/dist/components/PictureText/PictureText.js +1 -1
  352. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  353. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  354. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  355. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +5 -5
  356. package/mobile/dist/components/ProductTile/renderBenefit.js +4 -4
  357. package/mobile/dist/components/ProductTile/renderBenefit.js.map +1 -1
  358. package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
  359. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  360. package/mobile/dist/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  361. package/mobile/dist/components/RichTextBlock/RichTextBlock.js +11 -0
  362. package/mobile/dist/components/RichTextBlock/RichTextBlock.js.map +1 -0
  363. package/mobile/dist/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  364. package/mobile/dist/components/RichTextBlock/RichTextBlockContent.js +2 -0
  365. package/mobile/dist/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
  366. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +3 -16
  367. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  368. package/mobile/dist/content-page-repository/replaceHeadingTags.d.ts +1 -0
  369. package/mobile/dist/content-page-repository/replaceHeadingTags.js +5 -0
  370. package/mobile/dist/content-page-repository/replaceHeadingTags.js.map +1 -0
  371. package/mobile/dist/content-page-repository/transformContentPage.js +5 -0
  372. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  373. package/mobile/dist/content-page-repository/transformHTML.d.ts +1 -0
  374. package/mobile/dist/content-page-repository/transformHTML.js +23 -0
  375. package/mobile/dist/content-page-repository/transformHTML.js.map +1 -0
  376. package/mobile/dist/content-page-repository/transformMarkdown.js +2 -1
  377. package/mobile/dist/content-page-repository/transformMarkdown.js.map +1 -1
  378. package/mobile/dist/model/AlignText.d.ts +2 -1
  379. package/mobile/dist/model/AlignText.js.map +1 -1
  380. package/mobile/dist/model/BlockVersion.d.ts +9 -0
  381. package/mobile/dist/model/BlockVersion.js +20 -1
  382. package/mobile/dist/model/BlockVersion.js.map +1 -1
  383. package/mobile/dist/services/BlockRouter/BlockRouter.js +4 -3
  384. package/mobile/dist/services/BlockRouter/BlockRouter.js.map +1 -1
  385. package/mobile/dist/ui-kit/Button/ButtonSection.js +1 -1
  386. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  387. package/mobile/dist/ui-kit/Img/Img.d.ts +2 -2
  388. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  389. package/mobile/dist/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  390. package/mobile/dist/ui-kit/Img/ImgAsPicture.js +9 -3
  391. package/mobile/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
  392. package/mobile/dist/ui-kit/Img/ImgInner.d.ts +2 -2
  393. package/mobile/dist/ui-kit/Img/ImgInner.js +3 -9
  394. package/mobile/dist/ui-kit/Img/ImgInner.js.map +1 -1
  395. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +5 -5
  396. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  397. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  398. package/mobile/dist/ui-kit/Location/Location.js +3 -3
  399. package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
  400. package/mobile/dist/ui-kit/Logo/renderImage.js +1 -1
  401. package/mobile/dist/ui-kit/Logo/renderImage.js.map +1 -1
  402. package/mobile/dist/ui-kit/Paragraph/Paragraph.js +1 -5
  403. package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  404. package/mobile/dist/ui-kit/RichText/RichText.d.ts +2 -0
  405. package/mobile/dist/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +5 -5
  406. package/mobile/dist/ui-kit/RichText/RichText.js.map +1 -0
  407. package/mobile/dist/ui-kit/RichText/RichTextProps.d.ts +6 -0
  408. package/mobile/dist/ui-kit/{MarkdownText/MarkdownTextProps.js → RichText/RichTextProps.js} +1 -1
  409. package/mobile/dist/ui-kit/RichText/RichTextProps.js.map +1 -0
  410. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +2 -2
  411. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  412. package/mobile/dist/ui-kit/Text/TextProps.d.ts +1 -1
  413. package/mobile/lib/components/Bonus/Bonus.js +1 -1
  414. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  415. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  416. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  417. package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
  418. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  419. package/mobile/lib/components/Carousel/Carousel.js +3 -1
  420. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  421. package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
  422. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  423. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  424. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  425. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  426. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  427. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -4
  428. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  429. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  430. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  431. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  432. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  433. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  434. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -1
  435. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  436. package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -1
  437. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  438. package/mobile/lib/components/Gallery/GalleryContainer.js +1 -1
  439. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  440. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  441. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  442. package/mobile/lib/components/Header/HeaderBurger.js +1 -1
  443. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  444. package/mobile/lib/components/Headline/Headline.js +5 -5
  445. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  446. package/mobile/lib/components/Headline/HeadlineContent.d.ts +2 -2
  447. package/mobile/lib/components/Headline/headlineStyles.d.ts +7 -0
  448. package/mobile/lib/components/Headline/headlineStyles.js +16 -0
  449. package/mobile/lib/components/Headline/headlineStyles.js.map +1 -0
  450. package/mobile/lib/components/Headline/headlineVersionStyles.d.ts +9 -0
  451. package/mobile/lib/components/Headline/headlineVersionStyles.js +44 -0
  452. package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -0
  453. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.d.ts +5 -0
  454. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +21 -0
  455. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -0
  456. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +15 -0
  457. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.js +2 -0
  458. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.js.map +1 -0
  459. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  460. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  461. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  462. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  463. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -3
  464. package/mobile/lib/components/PictureText/PictureText.js +1 -1
  465. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  466. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  467. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  468. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +5 -5
  469. package/mobile/lib/components/ProductTile/renderBenefit.js +4 -4
  470. package/mobile/lib/components/ProductTile/renderBenefit.js.map +1 -1
  471. package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
  472. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  473. package/mobile/lib/components/RichTextBlock/RichTextBlock.d.ts +6 -0
  474. package/mobile/lib/components/RichTextBlock/RichTextBlock.js +9 -0
  475. package/mobile/lib/components/RichTextBlock/RichTextBlock.js.map +1 -0
  476. package/mobile/lib/components/RichTextBlock/RichTextBlockContent.d.ts +5 -0
  477. package/mobile/lib/components/RichTextBlock/RichTextBlockContent.js +2 -0
  478. package/mobile/lib/components/RichTextBlock/RichTextBlockContent.js.map +1 -0
  479. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +3 -16
  480. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  481. package/mobile/lib/content-page-repository/replaceHeadingTags.d.ts +1 -0
  482. package/mobile/lib/content-page-repository/replaceHeadingTags.js +2 -0
  483. package/mobile/lib/content-page-repository/replaceHeadingTags.js.map +1 -0
  484. package/mobile/lib/content-page-repository/transformContentPage.js +5 -0
  485. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  486. package/mobile/lib/content-page-repository/transformHTML.d.ts +1 -0
  487. package/mobile/lib/content-page-repository/transformHTML.js +17 -0
  488. package/mobile/lib/content-page-repository/transformHTML.js.map +1 -0
  489. package/mobile/lib/content-page-repository/transformMarkdown.js +2 -1
  490. package/mobile/lib/content-page-repository/transformMarkdown.js.map +1 -1
  491. package/mobile/lib/model/AlignText.d.ts +2 -1
  492. package/mobile/lib/model/AlignText.js.map +1 -1
  493. package/mobile/lib/model/BlockVersion.d.ts +9 -0
  494. package/mobile/lib/model/BlockVersion.js +19 -0
  495. package/mobile/lib/model/BlockVersion.js.map +1 -1
  496. package/mobile/lib/services/BlockRouter/BlockRouter.js +4 -3
  497. package/mobile/lib/services/BlockRouter/BlockRouter.js.map +1 -1
  498. package/mobile/lib/ui-kit/Button/ButtonSection.js +1 -1
  499. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  500. package/mobile/lib/ui-kit/Img/Img.d.ts +2 -2
  501. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  502. package/mobile/lib/ui-kit/Img/ImgAsPicture.d.ts +2 -2
  503. package/mobile/lib/ui-kit/Img/ImgAsPicture.js +9 -3
  504. package/mobile/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
  505. package/mobile/lib/ui-kit/Img/ImgInner.d.ts +2 -2
  506. package/mobile/lib/ui-kit/Img/ImgInner.js +3 -9
  507. package/mobile/lib/ui-kit/Img/ImgInner.js.map +1 -1
  508. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +5 -5
  509. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  510. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  511. package/mobile/lib/ui-kit/Location/Location.js +3 -3
  512. package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
  513. package/mobile/lib/ui-kit/Logo/renderImage.js +1 -1
  514. package/mobile/lib/ui-kit/Logo/renderImage.js.map +1 -1
  515. package/mobile/lib/ui-kit/Paragraph/Paragraph.js +1 -5
  516. package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  517. package/mobile/lib/ui-kit/RichText/RichText.d.ts +2 -0
  518. package/mobile/lib/ui-kit/{MarkdownText/MarkdownText.js → RichText/RichText.js} +4 -4
  519. package/mobile/lib/ui-kit/RichText/RichText.js.map +1 -0
  520. package/mobile/lib/ui-kit/RichText/RichTextProps.d.ts +6 -0
  521. package/mobile/lib/ui-kit/RichText/RichTextProps.js +2 -0
  522. package/mobile/lib/ui-kit/RichText/RichTextProps.js.map +1 -0
  523. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +2 -2
  524. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  525. package/mobile/lib/ui-kit/Text/TextProps.d.ts +1 -1
  526. package/mobile/src/common.css +27 -10
  527. package/mobile/src/components/Bonus/Bonus.tsx +0 -1
  528. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +0 -1
  529. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +2 -6
  530. package/mobile/src/components/Carousel/Carousel.tsx +3 -1
  531. package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -7
  532. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
  533. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
  534. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +13 -4
  535. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
  536. package/mobile/src/components/Catalog/Catalog.tsx +0 -1
  537. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  538. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +3 -2
  539. package/mobile/src/components/Gallery/GalleryCardInner.tsx +1 -1
  540. package/mobile/src/components/Gallery/GalleryContainer.tsx +1 -1
  541. package/mobile/src/components/GracePeriod/GracePeriod.tsx +0 -1
  542. package/mobile/src/components/Header/HeaderBurger.tsx +2 -2
  543. package/mobile/src/components/Headline/Headline.tsx +10 -13
  544. package/mobile/src/components/Headline/HeadlineContent.ts +2 -2
  545. package/mobile/src/components/Headline/headlineStyles.ts +25 -0
  546. package/mobile/src/components/Headline/headlineVersionStyles.ts +55 -0
  547. package/mobile/src/components/HorizontalLayout/HorizontalLayout.example.json +19 -0
  548. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +42 -0
  549. package/mobile/src/components/HorizontalLayout/HorizontalLayout.ui.json +1 -0
  550. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +17 -0
  551. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
  552. package/mobile/src/components/LinkDocs/LinkDocs.tsx +0 -1
  553. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +3 -3
  554. package/mobile/src/components/PictureText/PictureText.tsx +0 -1
  555. package/mobile/src/components/ProductTile/ProductTile.tsx +1 -1
  556. package/mobile/src/components/ProductTile/ProductTile.ui.json +1 -1
  557. package/mobile/src/components/ProductTile/ProductTileContent.ts +5 -5
  558. package/mobile/src/components/ProductTile/renderBenefit.tsx +4 -4
  559. package/mobile/src/components/PromoTile/PromoTile.tsx +1 -1
  560. package/mobile/src/components/RichTextBlock/RichTextBlock.example.json +5 -0
  561. package/mobile/src/components/RichTextBlock/RichTextBlock.tsx +17 -0
  562. package/mobile/src/components/RichTextBlock/RichTextBlock.ui.json +7 -0
  563. package/mobile/src/components/RichTextBlock/RichTextBlockContent.ts +6 -0
  564. package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +151 -6
  565. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +4 -20
  566. package/mobile/src/content-page-repository/replaceHeadingTags.ts +2 -0
  567. package/mobile/src/content-page-repository/transformContentPage.ts +4 -0
  568. package/mobile/src/content-page-repository/transformHTML.ts +19 -0
  569. package/mobile/src/content-page-repository/transformMarkdown.ts +2 -1
  570. package/mobile/src/model/AlignText.ts +2 -1
  571. package/mobile/src/model/BlockVersion.ts +30 -0
  572. package/mobile/src/services/BlockRouter/BlockRouter.ts +5 -3
  573. package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
  574. package/mobile/src/ui-kit/Img/Img.tsx +2 -3
  575. package/mobile/src/ui-kit/Img/ImgAsPicture.tsx +20 -4
  576. package/mobile/src/ui-kit/Img/ImgInner.tsx +15 -22
  577. package/mobile/src/ui-kit/Img/ImgProps.ts +5 -6
  578. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  579. package/mobile/src/ui-kit/Location/Location.tsx +8 -6
  580. package/mobile/src/ui-kit/Logo/renderImage.tsx +2 -1
  581. package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +3 -7
  582. package/mobile/src/ui-kit/RichText/RichText.tsx +8 -0
  583. package/mobile/src/ui-kit/RichText/RichTextProps.ts +6 -0
  584. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +2 -2
  585. package/mobile/src/ui-kit/Text/TextProps.ts +1 -0
  586. package/package.json +4 -1
  587. package/src/common.css +27 -10
  588. package/src/components/AccordionItem/AccordionItem.tsx +7 -1
  589. package/src/components/Blocks.ts +15 -11
  590. package/src/components/Bonus/Bonus.tsx +0 -1
  591. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +0 -1
  592. package/src/components/BusinessBlock/BusinessCard.tsx +2 -6
  593. package/src/components/Carousel/Carousel.tsx +3 -1
  594. package/src/components/CarouselCard/CarouselCard.tsx +1 -7
  595. package/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
  596. package/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
  597. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +9 -0
  598. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +13 -4
  599. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
  600. package/src/components/Catalog/Catalog.tsx +0 -1
  601. package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  602. package/src/components/ExchangeRateTile/CurrencyTable.tsx +3 -2
  603. package/src/components/Gallery/GalleryCardInner.tsx +1 -1
  604. package/src/components/Gallery/GalleryContainer.tsx +1 -1
  605. package/src/components/GracePeriod/GracePeriod.tsx +0 -1
  606. package/src/components/Header/HeaderBurger.tsx +2 -2
  607. package/src/components/Headline/Headline.fixture.mobile.tsx +10 -10
  608. package/src/components/Headline/Headline.fixture.tsx +7 -7
  609. package/src/components/Headline/Headline.mobile.tsx +10 -13
  610. package/src/components/Headline/Headline.tsx +18 -12
  611. package/src/components/Headline/HeadlineContent.ts +2 -2
  612. package/src/components/Headline/headlineStyles.ts +25 -0
  613. package/src/components/Headline/headlineVersionStyles.ts +55 -0
  614. package/src/components/HorizontalLayout/HorizontalLayout.example.json +19 -0
  615. package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +85 -0
  616. package/src/components/HorizontalLayout/HorizontalLayout.tsx +42 -0
  617. package/src/components/HorizontalLayout/HorizontalLayout.ui.json +1 -0
  618. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +17 -0
  619. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
  620. package/src/components/LinkDocs/LinkDocs.mobile.tsx +0 -1
  621. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  622. package/src/components/LinkDocs/LinkDocsContent.ts +3 -3
  623. package/src/components/PictureText/PictureText.tsx +0 -1
  624. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
  625. package/src/components/ProductTile/ProductTile.tsx +1 -1
  626. package/src/components/ProductTile/ProductTile.ui.json +1 -1
  627. package/src/components/ProductTile/ProductTileContent.ts +5 -5
  628. package/src/components/ProductTile/renderBenefit.tsx +4 -4
  629. package/src/components/PromoTile/PromoTile.tsx +1 -1
  630. package/src/components/RichTextBlock/RichTextBlock.example.json +5 -0
  631. package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +29 -0
  632. package/src/components/RichTextBlock/RichTextBlock.tsx +17 -0
  633. package/src/components/RichTextBlock/RichTextBlock.ui.json +7 -0
  634. package/src/components/RichTextBlock/RichTextBlockContent.ts +6 -0
  635. package/src/components/VerticalLayout/VerticalLayout.example.json +151 -6
  636. package/src/components/VerticalLayout/VerticalLayout.tsx +4 -20
  637. package/src/content-page-repository/replaceHeadingTags.ts +2 -0
  638. package/src/content-page-repository/transformContentPage.ts +4 -0
  639. package/src/content-page-repository/transformHTML.ts +19 -0
  640. package/src/content-page-repository/transformMarkdown.ts +2 -1
  641. package/src/model/AlignText.ts +2 -1
  642. package/src/model/BlockVersion.ts +30 -0
  643. package/src/services/BlockRouter/BlockRouter.ts +5 -3
  644. package/src/ui-kit/Button/ButtonSection.tsx +1 -1
  645. package/src/ui-kit/Img/Img.mobile.tsx +2 -3
  646. package/src/ui-kit/Img/ImgAsPicture.tsx +20 -4
  647. package/src/ui-kit/Img/ImgInner.tsx +15 -22
  648. package/src/ui-kit/Img/ImgProps.ts +5 -6
  649. package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  650. package/src/ui-kit/Location/Location.tsx +8 -6
  651. package/src/ui-kit/Logo/renderImage.tsx +2 -1
  652. package/src/ui-kit/Paragraph/Paragraph.tsx +3 -7
  653. package/src/ui-kit/RichText/RichText.fixture.tsx +28 -0
  654. package/src/ui-kit/RichText/RichText.tsx +8 -0
  655. package/src/ui-kit/RichText/RichTextProps.ts +6 -0
  656. package/src/ui-kit/SearchBar/SearchBarInner.tsx +2 -2
  657. package/src/ui-kit/Text/TextProps.ts +1 -0
  658. package/tailwind.config.cjs +7 -7
  659. package/bundle/components/Headline/constants.d.ts +0 -18
  660. package/bundle/ui-kit/Img/getIconVersion.d.ts +0 -2
  661. package/bundle/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  662. package/bundle/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  663. package/dist/components/Headline/constants.d.ts +0 -18
  664. package/dist/components/Headline/constants.js +0 -68
  665. package/dist/components/Headline/constants.js.map +0 -1
  666. package/dist/ui-kit/Img/getIconVersion.d.ts +0 -2
  667. package/dist/ui-kit/Img/getIconVersion.js +0 -7
  668. package/dist/ui-kit/Img/getIconVersion.js.map +0 -1
  669. package/dist/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  670. package/dist/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
  671. package/dist/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  672. package/dist/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
  673. package/lib/components/Headline/constants.d.ts +0 -18
  674. package/lib/components/Headline/constants.js +0 -66
  675. package/lib/components/Headline/constants.js.map +0 -1
  676. package/lib/ui-kit/Img/getIconVersion.d.ts +0 -2
  677. package/lib/ui-kit/Img/getIconVersion.js +0 -4
  678. package/lib/ui-kit/Img/getIconVersion.js.map +0 -1
  679. package/lib/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  680. package/lib/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
  681. package/lib/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  682. package/lib/ui-kit/MarkdownText/MarkdownTextProps.js +0 -2
  683. package/lib/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
  684. package/mobile/bundle/components/Headline/constants.d.ts +0 -18
  685. package/mobile/bundle/ui-kit/Img/getIconVersion.d.ts +0 -2
  686. package/mobile/bundle/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  687. package/mobile/bundle/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  688. package/mobile/dist/components/Headline/constants.d.ts +0 -18
  689. package/mobile/dist/components/Headline/constants.js +0 -68
  690. package/mobile/dist/components/Headline/constants.js.map +0 -1
  691. package/mobile/dist/ui-kit/Img/getIconVersion.d.ts +0 -2
  692. package/mobile/dist/ui-kit/Img/getIconVersion.js +0 -7
  693. package/mobile/dist/ui-kit/Img/getIconVersion.js.map +0 -1
  694. package/mobile/dist/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  695. package/mobile/dist/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
  696. package/mobile/dist/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  697. package/mobile/dist/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
  698. package/mobile/lib/components/Headline/constants.d.ts +0 -18
  699. package/mobile/lib/components/Headline/constants.js +0 -66
  700. package/mobile/lib/components/Headline/constants.js.map +0 -1
  701. package/mobile/lib/ui-kit/Img/getIconVersion.d.ts +0 -2
  702. package/mobile/lib/ui-kit/Img/getIconVersion.js +0 -4
  703. package/mobile/lib/ui-kit/Img/getIconVersion.js.map +0 -1
  704. package/mobile/lib/ui-kit/MarkdownText/MarkdownText.d.ts +0 -2
  705. package/mobile/lib/ui-kit/MarkdownText/MarkdownText.js.map +0 -1
  706. package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.d.ts +0 -6
  707. package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.js +0 -2
  708. package/mobile/lib/ui-kit/MarkdownText/MarkdownTextProps.js.map +0 -1
  709. package/mobile/src/components/Headline/constants.ts +0 -84
  710. package/mobile/src/ui-kit/Img/getIconVersion.tsx +0 -5
  711. package/mobile/src/ui-kit/MarkdownText/MarkdownText.tsx +0 -8
  712. package/mobile/src/ui-kit/MarkdownText/MarkdownTextProps.ts +0 -6
  713. package/src/components/Headline/constants.ts +0 -84
  714. package/src/ui-kit/Img/getIconVersion.tsx +0 -5
  715. package/src/ui-kit/MarkdownText/MarkdownText.tsx +0 -8
  716. package/src/ui-kit/MarkdownText/MarkdownTextProps.ts +0 -6
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),i=n("useState"),r=n("useEffect"),l=n("useCallback"),s=n("useMemo"),a=n("useRef");const o=new class{_={PROD_BRANCH:"master",FORCED_DRAFT_FLOW:!1};setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get FOOTER(){return this._.FOOTER}get CDN(){return this._.CDN}get BASE_PATH(){return this._.BASE_PATH&&!this._.BASE_PATH.endsWith("/")?`${this._.BASE_PATH}/`:this._.BASE_PATH}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},c="likesToken";function d(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(c)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage?.setItem(c,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${o.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:i}=await e.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${o.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${o.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}}}}const m=(...e)=>globalThis._uni._jsx(...e),h=(...e)=>globalThis._uni._jsxs(...e),u=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:p(e)),t._tmpl},p=e=>{function t(t,n){const{children:i,...r}=t||{},l=n?.slots?.default,s=i||l&&l();return e(Object.assign(r,s&&{children:s}),n)}return t.inheritAttrs=!1,t};function g(e){return e?e.filter(Boolean).join(" "):""}const b=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),x=[],f=["col-span-12"];function N(e,t){const{key:n,blockDecorator:i=b,blocksRegistry:r={},ancestors:l=x,className:s=""}=t,{type:a}=e;a&&a in r||console.warn(`No block with "${a}" is registered`);const o=a&&r[a];return i({blockClassName:`scroll-mt-12 ${s} ${g(e.style||f)}`,block:e,ancestors:l,render:({block:i,blockClassName:r})=>{const{content:l}=i;return o?m(o,{className:r,block:e,options:t,...l},n):null}},n)}const y=[],v=(e,{key:t,ancestors:n=y,slotName:i=null,renderChild:r=N,...l})=>(e||[]).map(((e,s)=>r(e,{...l,key:`${t||e.type}-${s}`,ancestors:l.parent?[...n||y,[l.parent,i]]:n})));function w({children:e,block:t,options:n,renderChild:i}){return e||(t&&n?v(t.blocks,{...n,parent:t,renderChild:i}):null)}class k{static inst=new k;subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){e in this.subjectsStateMap&&(this.subjectsStateMap[e]=t),this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}function $(e,{sensitivity:t,rootRef:n}={}){const i=a(null),l=s((()=>({threshold:C(t),root:n?.current})),[t,n?.current]);return r((()=>{if(!i.current)return;const t=new IntersectionObserver(e,l);return t.observe(i.current),()=>{t.disconnect()}}),[e,l]),i}function C(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,n)=>Math.min(n/t)),1).concat(1)}const S=e=>e?.replace("#","");class T{static inst=new T;eventBus=new k;constructor(){const e=S(globalThis.location?.hash);e&&this.eventBus.subject("goto",{anchor:e})}goto(e){const t=S(e);t&&(this.push(t),this.eventBus.fire("goto",{anchor:t}))}push(e){globalThis.history?.pushState(null,"",`#${S(e)}`)}replace(e){globalThis.history?.replaceState(null,"",`#${S(e)}`)}reset(){globalThis.history?.replaceState(null,"","#")}}const _=u((({className:e,block:t,tag:n="section",role:s,children:a})=>{const o=n,c=function(e,t=T.inst){const n=$(l((n=>{if(!e||!n?.length)return;const i=n[n.length-1];t.eventBus.fire("intersection",{block:e,intersection:i})}),[e,t]),{sensitivity:1});return r((()=>{if(n.current)return t.eventBus.subscribe("goto",(({anchor:t})=>{n.current&&e?.anchor===t&&n.current.scrollIntoView({behavior:"smooth",block:"start"})}))}),[e,t]),n}(t),[d,h]=i(!0);return r((()=>k.inst.subscribe("tab",(e=>{if("group"===e.type){const n=t?.labels?.length||t?.anchor;h(!e.label||(!n||Boolean(t?.labels?.includes(e.label))))}else h(!0)}))),[t]),d?m(o,{className:e,role:s,...t?.anchor?{id:t.anchor,ref:c}:{},children:a}):null})),I={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},A=u((e=>{const{className:t,headingType:n="h3",title:i,as:r="h3"}=e;return m(r,{className:`font-sans font-medium m-0 ${I[n]} ${t||""}`,children:i})})),R=u((e=>{const{size:t="",color:n="",align:i="",font:r="",children:l}=e;return m("p",{className:`font-sans ${t} ${n} ${i} ${r}`,children:l})})),j=u((({children:e})=>m("ul",{className:"list-none m-0 p-0",children:e}))),D=u((({title:e,description:t,className:n="",...i})=>h(_,{className:`py-6 px-4 bg-white text-primary-text ${n}`,...i,children:[e?m(A,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?m("div",{className:"mb-5",children:m(R,{size:"text-m",font:"font-light",align:"text-center",children:t})}):null,m(j,{children:w(i)})]})));D.childrenTypes=["AccordionItem"];const B=u((({isFoldButtonOnTop:e=!1,unfoldedByDefault:t=!1,renderFoldableSection:n,renderFoldButton:r})=>{const[s,a]=i(t),o=l((()=>{a((e=>!e))}),[]),c=n({isUnfolded:s,onToggle:o}),d=r?r({isUnfolded:s,onToggle:o}):null;return h("div",e?{children:[d,c]}:{children:[c,d]})})),O=u((({className:e="",isUnfolded:t,children:n})=>{const i=a(null);return r((()=>{i.current&&(i.current.style.maxHeight=t?`${i.current.scrollHeight}px`:"")}),[t,n?.length]),m("div",{ref:i,className:`transition-max-h duration-300 overflow-hidden ${i.current||!t?"max-h-0":""} ${e}`,children:n})})),V={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},M=u((({className:e="",imageClassName:t="",name:n="",alt:i=`Иконка ${n}`,title:r=i,iconVersion:l="color",asSVG:s,...a})=>{const c=`${o.CDN||""}icons/${n}.svg`;return s&&"normal"!==l?m(E,{className:e,children:h("svg",{className:[P(e,a.width),V[l],t,L(l)].join(" "),...a,"aria-hidden":"true",children:[r?m("title",{children:r}):null,i?m("desc",{children:i}):null,m("use",{href:`${c}#icon`,xlinkHref:`${c}#icon`})]})}):m("img",{className:e,src:c,alt:i,title:r,...a,"aria-hidden":"true"})})),L=e=>"white"===e?"invert":"",P=(e,t)=>t?`width: ${t}px `:"w-full h-full",E=u((({className:e,children:t})=>e?m("div",{className:e,children:t}):t));function F(e){return"string"==typeof e?"normal":e?.iconVersion||"normal"}const H=(e,t)=>e.media&&t.media?e.media-t.media:0,z=u((({className:e="",image:t,imageClassName:n="",isMobile:i=!1})=>{if(!t||!t?.sources&&!t?.src)return null;return h("picture",{className:`${i?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.sort(H).map((({src:e,format:n,media:i},r)=>m("source",{srcSet:e,type:J(n),media:i?`(max-width: ${i}px)`:"",...t.size},`${r}_${e}`))):null,G(t,n,i)]})})),G=(e,t="",n=!1)=>{const i={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},r=e.title||"",l=e.alt||e.title,s=n?"m-auto":"m-0";return m("img",{src:e.src,className:`${s} ${t}`,alt:l,title:r,style:i,...e.size})};function J(e){return e?`image/${String(e)}`:void 0}const W=u((({className:e="",image:t,imageClassName:n="",isMobile:i,...r})=>{if(!t)return null;const l="string"==typeof t?t:t.icon;return l||""===l?l.length?m(M,{className:e,imageClassName:n,iconVersion:F(t),name:l,...r}):null:m(z,{className:e,imageClassName:n,image:t,isMobile:i})})),U=u((e=>m(W,{...e,isMobile:!0}))),Y=u((({size:e,color:t,align:n,font:i,children:r})=>m("span",{className:["font-sans",e,t,n,i].filter(Boolean).join(" "),children:r}))),K=(e,t="primary")=>({...e,iconVersion:e?.iconVersion??("secondary"===t?"white":"color")}),X=["PlusIcon","MinusIcon"],q=u((({className:e="",label:t="",labelIcon:n,isExpanded:i,...r})=>{const{bordered:l}=function(e,t){const{content:n}=function(e){return e?.parent||{}}(e);return n||t}(r.options,{});return m("li",{className:`${l?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"} border-solid border-main-divider ${e}`,children:m(B,{isFoldButtonOnTop:!0,unfoldedByDefault:i,renderFoldableSection:({isUnfolded:e})=>m(O,{className:"flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0",isUnfolded:e,children:w(r)}),renderFoldButton:({isUnfolded:e,onToggle:i})=>m(Q,{className:l?"":"py-3.5 px-0",label:t,icon:X[Number(e)],primaryIcon:n,onClick:i})})})}));q.childrenTypes=[];const Q=u((({className:e,icon:t,label:n,primaryIcon:i,onClick:r})=>h("button",{className:`border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text group cursor-pointer ${e}`,onClick:r,children:[h("div",{className:"flex group-hover:text-primary-main",children:[i?m(U,{image:K(i),className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,m(Y,{size:"text-m-title-xs",font:"font-medium",children:n})]}),m(U,{className:"flex-shrink-0",image:K({icon:t}),width:"24",height:"24",asSVG:!0})]}))),Z=u((({className:e="",style:t,idx:n,activeIndex:i,observerOptions:r,children:s,onIntersection:a})=>{const o=$(l((e=>{e.length&&a&&a(n||0,e[e.length-1])}),[a,n]),r);return m("div",{className:`inline-block snap-always box-border ${e}`,style:t,role:"listitem","aria-current":Boolean(n===i),ref:o,children:s})})),ee=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],te=u((({className:e="",containerRef:t,activeIndex:n,visibleItemCount:i=0,gap:r=0,padding:s=0,snapAlign:o="snap-center",children:c,onVisibleItemsChange:d,onVisibleIndicesChange:h})=>{const u={sensitivity:1,rootRef:t},p=a([]),g=l(((e,t)=>{const n=[...p.current||[]];n[e]=t,p.current=n,d&&d(n),h&&h(ie(n))}),[d,h]),b=i>0?r*Number(i)-1:0;return m("div",{className:`box-border overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...ne(s,b),gap:`${r}px`},role:"list",ref:t,children:(x=(e,t)=>m(Z,{className:`${o} ${i?ee[i-1]:""}`,style:ne(s/4),activeIndex:n,idx:t,observerOptions:u,onIntersection:g,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(x):x(e,0))(c)});var x})),ne=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),ie=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),re=u((({containerRef:e,activeIndex:t,dotCount:n=0})=>n?m("div",{className:"flex gap-2 mx-auto mt-5 w-fit",children:new Array(n).fill(null).map(((n,i)=>m("div",{className:"cursor-pointer bg-primary-main h-2 rounded-full transition-width duration-300 "+(i===t?"w-6":"w-2 opacity-30"),role:"button","aria-hidden":!0,onClick:()=>(n=>{n!==t&&e?.current&&e.current.children[n]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(i)},String(i))))}):null)),le=e=>e,se=(e=le)=>t=>t.reduceRight(((t,n)=>e(t)>e(n)?t:n)),ae=(e=le)=>se((t=>-e(t))),oe=e=>t=>e.scrollWidth/t,ce=e=>(t,n)=>{e.scrollBy({left:n*oe(e)(t),behavior:"smooth"})},de=({itemCount:e,isCyclic:t,onVisibleIndicesChange:n})=>{const r=a(null),[s,o]=i([]),c=l((e=>{o((t=>{return(n=t)===(i=e)||Boolean(n&&i&&n?.length===i?.length&&n.every(((e,t)=>e===i[t])))?t:e;var n,i})),n&&n(e)}),[e]),[d,m]=s.length?[ae()(s),se()(s)]:[-1,-1],h=d>0,u=m<e-1,p=l((()=>{var n;r.current&&(t&&!h?(n=r.current).scrollTo({left:n.scrollWidth,behavior:"smooth"}):ce(r.current)(e,-1))}),[t,e,h]),g=l((()=>{r.current&&(t&&!u?r.current.scrollTo({left:0,behavior:"smooth"}):ce(r.current)(e,1))}),[e,t,u]);return[r,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]},me=u((({className:e,gap:t=14,padding:n=16,showDots:i=!0,children:r,onVisibleIndicesChange:l})=>{const s=Array.isArray(r)?r.length:0,[a,o]=de({itemCount:s,onVisibleIndicesChange:l}),[c]=o.visibleIndicesRange;return h("div",{className:e,children:[m(te,{containerRef:a,activeIndex:c,visibleItemCount:1,gap:t,padding:n,onVisibleIndicesChange:o.handleVisibleIndicesChange,children:r}),i?m(re,{containerRef:a,activeIndex:c,dotCount:s}):null]})}));const he=e=>e?.includes("//"),ue=e=>(e||"").replace(/\/?\?.*/,""),pe=e=>{if(!e||!he(e))return;const t=e,n=t.indexOf("//"),i=t.indexOf("/",n+"//".length);return-1!==i?t.substring(0,i):t},ge=e=>{if(!e||!he(e))return;return new URL(e).pathname},be=e=>e?.startsWith("#");var xe=Object.freeze({__proto__:null,isURL:he,withoutQuery:ue,getOrigin:pe,getPathname:ge,getHash:e=>{if(!e||!he(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0},isHash:be});const fe=(e,t)=>fe._impl(e,t);function Ne(){return Ne._impl()}function ye(){const e=Ne(),t=T.inst;return n=>{const i=((e,t)=>{if(!e)return e;const n=pe(t?.href);return n?e.replace(n,"")||"/":e})(n.href,e);return{...n,href:i,"aria-label":n.text,onClick:fe((r=>{n.onClick&&n.onClick(r),ve(i,n.target)||(r?.preventDefault(),be(i)?t.goto(i):i&&e.push(i))}),n)}}}fe._impl=e=>e,fe.setup=e=>{fe._impl=e},Ne._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),Ne.setup=e=>{Ne._impl=e};const ve=(e,t)=>he(e)||t&&"_self"!==t||e?.startsWith("/"),we={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:""},ke="bg-main-divider text-main-disabled",$e={primary:ke,secondary:ke,white:ke,link:""},Ce="text-center font-sans select-none",Se={primary:"group-hover:brightness-0 group-hover:invert",secondary:"group-hover:brightness-0 group-hover:invert",white:"group-hover:brightness-0 group-hover:invert",link:""},Te=u((e=>{const{text:t,aboveText:n,appendLeft:i,appendRight:r,version:l="primary"}=e;return h("div",{className:_e(e),children:[i?m("div",{className:Se[l],children:i}):null,Ie(e)?h("div",{children:[n?m("div",{className:"text-xs-light text-left",children:n}):null,m("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?m("div",{className:Se[l],children:r}):null]})})),_e=e=>{const{version:t,aboveText:n,rounded:i}=e;if("link"===t)return"";const r="gap-2 "+(n?"py-2.5 px-7":"py-4 px-4");return["group flex items-center justify-center",Ie(e)?r:"h-12 w-12",i?"rounded-full":""].join(" ")},Ie=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),Ae=({className:e,rounded:t,version:n})=>["inline-block",Ce,n?$e[n]:"",t?"rounded-full":"rounded-md",e].join(" "),Re=({className:e,rounded:t,version:n})=>[Ce,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border",n?we[n]:"",t?"rounded-full":"rounded-md",e].join(" "),je=u((({disabled:e,children:t,...n})=>{const i=ye()(n),r=t??m(Te,{...i});return m(e?Be:De,{...i,children:r})})),De=u((({className:e="",href:t,rel:n,target:i,ariaLabel:r,version:l,rounded:s,onClick:a,children:o})=>m("a",{className:Re({className:e,version:l,rounded:s}),href:t,rel:n,target:i,"aria-label":r,role:t?"link":"button",onClick:a,children:o}))),Be=u((({className:e,ariaLabel:t,version:n,rounded:i,children:r})=>m("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:Ae({className:e,rounded:i,version:n}),children:r}))),Oe=(e=!1)=>e?"text-white":"",Ve=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Me=u((({icon:e,image:t,title:n,subtitle:i,isFillGradient:r})=>h("div",{role:"columnheader",children:[e?m(U,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&m("div",{className:"mb-3.5",children:m(U,{image:t})}),n?m(A,{headingType:"h4",className:Oe(r),title:n}):null,i?m("div",{className:Ve(r),children:i}):null]}))),Le=u((({cell:e,rowHeader:t,isFillGradient:n=!1})=>m("div",{className:"box-border flex flex-col",role:"cell",children:m("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(Pe(n,t))})}))),Pe=(e,t)=>({label:n,description:i},r)=>h("div",{className:"flex justify-between text-s py-3.5",children:[m("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),h("div",{className:"basis-1/2",children:[n?m("div",{className:"text-right "+(e?"text-white":""),children:n}):null,i?m("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:i}):null]})]},String(r)),Ee=u((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:i,showRow:r,onToggleColumn:l})=>{const s=t?.slice(0,r?t.length:n),a=i?"secondary":"primary";return h("div",{className:`border border-main-stroke rounded-md p-4 mb-3.5 ${i?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[m(Me,{...e,isFillGradient:i}),s?.length?s.map((({rowHeader:e,cell:t},n)=>m(Le,{cell:t,rowHeader:e,isFillGradient:i},String(n)))):null,r&&e?.link?m(je,{href:e.link.href,target:e.link.target,version:a,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Fe({onToggleColumn:l,isFillGradient:i,showRow:r})]})})),Fe=({onToggleColumn:e,isFillGradient:t,showRow:n})=>m("div",{className:"mt-5",role:"cell",children:m("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),He=u((e=>{const{className:t,title:n}=e;return h("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?m(A,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,m("div",{role:"table",children:m(ze,{...e})})]})})),ze=u((({columns:e=[],rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:r,orientation:s,...a})=>{const[o,c]=i(new Array(e.length).fill(!r)),d=l((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),h=l((()=>c((e=>new Array(e.length).fill(!1)))),[]),u=e?.map((({data:e,header:i},l)=>{return m(Ee,{visibleRowLength:r,showRow:o[l],header:i,columnData:(s=e,s?.map(((e,n)=>({cell:e,rowHeader:t?.[n]?.title})))),isFillGradient:0===l&&n,onToggleColumn:()=>d(l),...a},String(l));var s}));return"horizontal"===s?m(me,{onVisibleIndicesChange:h,children:u}):u})),Ge=new Map;function Je(e,t,{fallback:n}={}){const l=s((()=>We(e)),[e]),[a,o]=i(),[c,d]=i(),m=e=>{o(e),d(void 0)},h=e=>{o(void 0),d(e)};r((()=>{if(!l.every((e=>null===e)))try{const e=t(...l);"then"in e?(e=>{e.then((e=>Ge.get(l)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...l]);const u=l[0],p=n&&"string"==typeof u&&n[u];return{data:a||c||!p?a:p,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function We(e){return e?Array.isArray(e)?e:e instanceof Function?We(e()):[e]:[e]}async function Ue(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function Ye(e,t={}){const{data:n}=Je(`/wcms-resources/${e}.json`,Ue,{fallback:t});return n||{}}const Ke=u((({className:e,isMobile:t=!1})=>{const{term:n,setTerm:r}=(()=>{const[e,t]=i("");return{term:e,setTerm:e=>t(e)}})(),l=t?"text-s":"text-l-light",s=t?" placeholder-transparent":"h-full",a=t?"some search":void 0;return h("form",{className:`font-sans relative ${e}`,children:[h("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[m("div",{className:t?"w-5 h-5":"w-6 h-6",children:m(U,{image:"LoupeIcon",width:"24",height:"24"})}),n?null:m("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${l}`,children:"Поиск по сайту"})]}),m("input",{id:"search-bar-input",className:`h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border\n outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${s}`,value:n,onChange:e=>r(e.target.value),type:"text",name:"search-bar-input",placeholder:a}),t?m("button",{className:"visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none",onClick:e=>{e.preventDefault(),r("")},children:m(U,{image:"CloseIcon",width:"24",height:"24"})}):m(je,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-[3px] right-1",onClick:e=>{e?.preventDefault(),console.log("click")},children:m("div",{className:"text-s px-9 py-2.5",children:"Найти"})})]})})),Xe=u((e=>m(Ke,{...e,isMobile:!0}))),qe=u((({className:e="",documents:t,...n})=>m(_,{className:`font-sans bg-white mt-2.5 ${e}`,...n,children:m("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?Qe(t):null})}))),Qe=e=>e.map(((e,t)=>{const{text:n,...i}=e;return m("li",{className:"mb-4 list-none",children:m("a",{className:"hover:text-primary-main",role:"link",...i,children:n||null})},`list_item_${String(t)}`)})),Ze={"bg-white":"color",transparent:"white"},et={"bg-white":"text-primary-main",transparent:"text-white"},tt=(e,t,n)=>m(U,t?.src?{image:t,className:et[e],width:n?.width,height:n?.height,asSVG:!0}:{image:{icon:t?.icon||"LogoIcon",iconVersion:Ze[e]},className:et[e],width:n?.width,height:n?.height,asSVG:!0}),nt={"bg-white":"text-primary-text",transparent:"text-white"},it=(e,t,n)=>m("span",{className:`${nt[t]} ml-2.5 font-medium ${n||""}`,children:e||"Россельхозбанк"}),rt=u((({bgColor:e="bg-white",children:t,className:n="",href:i,logo:r,showTitle:l=!0,targetBlank:s})=>h("a",{className:`inline-flex items-center font-sans no-underline ${n}`,href:i||"https://rshb.ru/",target:s?"_blank":"_self","aria-label":r?.title||"Россельхозбанк",children:[tt(e,r?.image,{width:"34",height:"34"}),l?it(t||r?.title,e,"text-s"):null]}))),lt=u((({className:e="",title:t="Мобильное приложение",description:n,href:i="#"})=>m("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:i?h("div",{className:"flex",children:[m("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:m(rt,{className:"w-8",bgColor:"transparent",showTitle:!0})}),h("a",{href:i,target:"_blank",className:"flex flex-col justify-center pl-3",children:[m("div",{className:"text-s font-medium mb-[3px]",children:t}),m("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),st=u((({className:e="",items:t,hasButton:n})=>h("div",{className:e,children:[t?.length?t.map(at):null,n?m(je,{version:"primary",className:"mb-6 w-full",href:"/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),at=(e,t)=>{const{type:n,text:i,description:r}=e;return h("div",{className:"mb-4",children:[m("div",{children:ot(n,i)}),m("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},ot=(e,t="")=>{switch(e){case"tel":return m("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${ct(t)}`,children:t});case"email":return m("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return m("span",{children:t})}},ct=e=>e.replaceAll(/\D/g,""),dt=u((({className:e="",index:t,text:n,...i})=>{const r=ye(),{href:l,target:s,onClick:a}=r(i);return m("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:l,target:s,onClick:a,children:n||`Документ ${t}`})})),mt=u((({title:e,links:t,className:n=""})=>h("div",{className:n,children:[m("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?m("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>m(dt,{index:t,className:"text-s",...e},String(t))))}):null]}))),ht=[{origins:["t.me","telegram.org"],icon:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],icon:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],icon:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],icon:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],icon:{icon:"PlayMarketIcon"},label:"Google Play"}],ut=u((({version:e="primary",...t})=>{const n=ye(),{href:i,onClick:r}=n(t),{icon:l,label:s}=ht.find((({origins:e})=>e.some((e=>i?.includes(e)))))||{};if(!l)return null;return m("a",{className:`flex items-center justify-center rounded-md w-14 h-14 group box-border ${"secondary"===e?"bg-white hover:bg-secondary-hover":"border-solid border border-main-divider hover:border-transparent hover:bg-primary-main"} ${"primary"===e?"hover:text-black":""}`,href:i,"aria-label":s,target:"_blank",rel:"noopener noreferrer",onClick:r,children:l?m(U,{image:K(l),imageClassName:"group-hover:text-white",width:"24",height:"24",asSVG:!0}):null})})),pt=u((({className:e="",media:t,version:n})=>m("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e}`,children:t?.map(((e,t)=>m(ut,{version:n,...e},String(t))))}))),gt=u((({className:e="",index:t,...n})=>{const i=ye(),{href:r,target:l,text:s,onClick:a}=i(n);return m("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:a,children:s||`Документ ${t}`})})),bt=u((({className:e="",links:t})=>h("div",{className:e,children:[m("div",{className:"py-6",children:m("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?m("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>m(gt,{index:t,...e},String(t))))}):null]}))),xt=u((({className:e="",...t})=>{const n=t.options?.page?.fallback,i=Ye(o.SITEMAP||"sitemap",n),{documents:r,relatedEnterprises:l,contacts:s,socialMedia:a,horizontalNavigationTitle:c}=Ye(o.FOOTER||"footer",n);return h("footer",{className:`font-sans px-4 py-[26px] bg-white ${e}`,children:[m(st,{className:"overflow-hidden",items:s,hasButton:!0}),m(j,{children:i.topItems?.map(((e,t)=>m(q,{label:e.text,children:m(qe,{documents:e.items})},String(t))))}),m("div",{children:i?.dispositions?.map(ft)}),m(lt,{title:"Мобильное приложение",description:"Загрузить для IOS и Android",...t}),m(Xe,{className:"grow"}),m(pt,{className:"pb-4",media:a}),m(mt,{title:c,links:l}),m(bt,{links:r})]})})),ft=(e,t)=>{const{icon:n,href:i,text:r}=e;return h(je,{version:"link",href:i,className:"flex text-s mb-4 w-6",children:[n?m(U,{className:"pr-1",image:K(n),width:"24",height:"24",asSVG:!0}):null,m("span",{className:"pl-2.5 font-medium text-primary-text",children:r})]},`footer-${t}`)},Nt={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},yt=u((({title:e,description:t,cards:n=[],className:i,orientation:r="horizontal"})=>h("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${i}`,children:[h("div",{className:"flex flex-col items-center mb-5",children:[e?m(A,{headingType:"h3",className:`text-center ${t?"mb-2":"mb-5"}`,title:e}):null,t?m("div",{className:"text-m max-w-[600px] text-center mb-5",children:t}):null]}),vt(r,n)]})));function vt(e,t){return"horizontal"===e?m(me,{children:t?.map(wt)}):m("div",{className:"grid gap-3.5",children:t?.map(wt)})}function wt(e,t){return h("div",{className:`w-full h-full flex flex-col justify-between shrink-0 box-border snap-start snap-always border-solid border rounded-md border-main-stroke p-4\n ${Nt[e.version??"primary"]}`,children:[h("div",{children:[kt(e.icon),e.title?m("h3",{className:"text-m-title-xs font-medium m-0",children:e.title}):null,e.description?$t(e):null,e.items?.length?St(e.items,e.isDotted,e.version):null]}),e?.button?.text?(n=e.button,m(je,{className:"mt-3",...n})):null]},t);var n}const kt=e=>e?.src||e?.icon?m("div",{className:"flex justify-center",children:m(U,{className:"mb-3.5",image:e})}):null;function $t(e){return m("div",{className:"text-secondary-text mt-1 text-s "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}const Ct={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text"};function St(e,t,n="primary"){return m("section",{className:"mt-3",children:e.map(((e,i)=>h("div",{children:[t?m("div",{className:`rounded-full inline-block mr-3 mt-2 w-2 h-2 min-w-2 min-h-2 ${Ct[n]}`}):null,m("span",{className:"text-m font-medium",children:e.title}),m("span",{className:"text-s pl-2 "+("primary"===n?"text-secondary-text":""),children:e.text})]},String(i))))})}const Tt=(e,t,n=((e,t)=>t.startsWith(e)))=>n(ue((e=>he(e)||e?.startsWith("/")?e:`${o.BASE_PATH||""}${e}`)(e)),ue(he(e)?t.href:ge(t.href))),_t=e=>t=>Tt(t.href,e),It=e=>t=>t.items?.some(_t(e))||Tt(t.href,e)||((e,t)=>[pe(e),pe(t.href)].every(((e,t,n)=>Boolean(e)&&e===n[0])))(t.href,e)||Boolean(o.BASE_PATH?.startsWith(t.href||"/")),At="absolute left-0 -bottom-3 w-full h-0.5",Rt=u((({className:e="",text:t,href:n,target:i,active:r,onClick:l,children:s,bgColor:a="bg-white"})=>h("a",{className:`relative inline-block bg-transparent text-center no-underline ${e}`,href:n,target:i,onClick:l,children:[m("span",{className:jt(a,r),children:t||s}),r?m("div",{className:Dt(a,r)}):null]}))),jt=(e,t=!1)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-secondary-text hover:text-primary-main"),`${n} font-sans text-s`},Dt=(e,t=!1)=>t?`${"bg-white"===e?"bg-primary-main":e} ${At}`:At,Bt=864e5;function Ot(e,t,n=globalThis?.localStorage){const i=l((async(...i)=>{const r=`async:${e}`,l=function(e){const{data:t=null,timestamp:n=null}=e?JSON.parse(e):{};return t&&Date.now()-n<Bt?t:void 0}(n.getItem(r));if(l)return l;const s=await t(...i);return n.setItem(r,JSON.stringify({data:s,timestamp:Date.now()})),s}),[e,t]);return Je(e,i)}const Vt=()=>{const e=globalThis.localStorage?.getItem("location");try{return e?JSON.parse(e):null}catch(e){return null}},Mt=u((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:s})=>{const[a]=function(e){const t=Vt(),[n,s]=i(t?.region??{name:e}),{data:a}=Ot("/api/v1/region",Ue);return r((()=>{s(t?.region&&t?.manual?t.region:a||{name:e})}),[a]),[n,l((e=>{globalThis.localStorage?.setItem("location",JSON.stringify({manual:!0,region:e})),s(e)}),[s])]}(n);return h("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[m("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:m(U,{image:"CloseIcon",width:"24",height:"24",asSVG:!0})}),h("button",{className:"flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer",children:[m(U,{image:"GeolocationIcon",width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),m(Y,{color:"text-secondary-text",children:a.name})]}),s,m("div",{className:"mb-7",children:e?.map(Lt)}),m(Xe,{className:"grow"})]})})),Lt=(e,t)=>{const{icon:n,href:i,text:r}=e;return h("a",{href:i,className:"flex text-s mb-4 hover:text-primary-main",children:[n?m(U,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,m("span",{className:"font-medium pl-0.5",children:r})]},`headerSubMenu-${t}`)},Pt=u((({onClick:e,bgColor:t,logo:n})=>h("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-12",children:[h("div",{className:"flex items-center",children:[m("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:m(U,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),m(rt,{className:"mr-8",bgColor:t,logo:n})]}),m("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-s border-0 bg-transparent cursor-pointer",children:"Войти"})]}))),Et=u((({className:e="",bgColor:t="bg-white",...n})=>{const r=Ne(),s=n.options?.page?.fallback,{topItems:a,dispositions:c,defaultLocation:d,logo:u}=Ye(o.SITEMAP||"sitemap",s),p=a?.find(It(r)),g=p?.items,b=(e=>(t=[])=>{const n=t?.filter(_t(e));return n?.length?se((e=>e.href?.length||0))(n):void 0})(r)(g),[x,f]=i(!1),N=l((()=>f((e=>!e))),[]);return h("header",{className:`${t} ${e}`,children:[h("div",{className:"container px-4 py-0 box-border",children:[m(Pt,{onClick:N,bgColor:t,logo:u}),m("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-12",children:m("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:g?.map(((e,n)=>m(Rt,{className:"mr-8 whitespace-nowrap text-s",active:e===b,bgColor:t,...e},String(n))))})})]}),x?m(Mt,{onClick:N,burgerSubMenu:c,defaultLocation:d,children:m(j,{children:a?.map(((e,t)=>m(q,{label:e.text,children:m(qe,{documents:e.items})},String(t))))})}):null]})})),Ft={left:"text-left",center:"text-center",right:"text-right"},Ht={transparent:{background:"bg-transparent",text:"text-primary-text",description:"text-primary-text"},primary:{background:"bg-white",text:"text-primary-text",description:"text-primary-text"},secondary:{background:"bg-primary-main",text:"text-white",description:"text-white/80"}},zt=u((({bgColorHeadline:e="transparent",className:t="",title:n,description:i,image:r,align:l="left"})=>{const s=Ht[e];return h("section",{className:`px-4 py-6 flex flex-col gap-2.5 ${s.background} ${t}`,children:[n?m(A,{headingType:"h2",className:`${s.text} ${Ft[l]}`,title:n}):null,i?m("p",{className:`text-m ${s.description} ${Ft[l]}`,children:i}):null,r?.src&&m("div",{className:"mt-2.5 mx-auto flex justify-center",children:m(U,{image:r})})]})})),Gt=u((({className:e,iconClassName:t,textClassName:n,suffixClassName:i,doc:r,icon:l})=>{const{text:s,fileSize:a,...o}=r;return h("a",{className:e,role:"link",...o,children:[l?m(U,{className:t,image:K(l),width:"24px",height:"24px",asSVG:!0}):null,s?h("span",{className:n,children:[s,m("span",{className:i,children:o?.href&&Jt(Wt(o.href),a)})]}):null]})})),Jt=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),Wt=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},Ut=u((({className:e="",doc:t,icon:n})=>m(Gt,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:n}))),Yt=u((({hasBorder:e=!0,documents:t,icon:n})=>m(me,{className:"text-s text-primary-main mt-5",children:t?.length?t.map(((t,i)=>m(Ut,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:n},String(i)))):null}))),Kt=u((({hasBorder:e=!0,documents:t,icon:n})=>m("div",{className:"text-s text-primary-main flex flex-col mt-5 "+(e?"gap-3.5":"gap-2"),role:"list",children:t?.length?t.map(((t,i)=>m("div",{role:"listitem",children:m(Ut,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:n})},String(i)))):null}))),Xt=u((({className:e="",title:t,description:n,icon:i={icon:"DocIconMonoColor"},documents:r,orientation:l="vertical",hasBorder:s=!0,...a})=>h("section",{className:`font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${e}`,children:[m(zt,{className:"!p-0 "+(n?"gap-2":"gap-5"),title:t,description:n,align:"center",...a}),m("vertical"===l?Kt:Yt,{hasBorder:s,documents:r,icon:i})]}))),qt=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Qt(e=""){const t=qt(e);return t<=4?"S":t<=8?"M":"L"}function Zt(e=""){const t=qt(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function en(e=""){const t=qt(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const tn=u((({className:e,title:t,description:n="Блок в разработке...",...i})=>h(_,{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${en(e)} ${Zt(e)} `,...i,children:[m(zt,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:Qt(e),...i}),m("figure",{className:"m-0 min-w-[80%]",children:nn()})]}))),nn=(e=3)=>ln(100,e).map((e=>Math.floor(e))).map(rn),rn=(e,t)=>m("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),ln=(e,t)=>[e].concat(t>0?ln(e/1.618,t-1):[]),sn=u((({className:e="",buttons:t})=>t&&t?.length?m("div",{className:e,children:t.map(((e,t)=>an({button:e,index:t})))}):null));function an({button:e,buttonClassName:t,index:n}){const{icon:i,iconRight:r,version:l,text:s,...a}=e,o="secondary"===l?"color":"white",c=on({...i,iconVersion:o}),d=on({...r,iconVersion:o});return s?m(je,{className:t,appendLeft:c,appendRight:d,version:l,text:s,...a},n?String(n):""):null}const on=e=>{if(!e?.icon&&!e?.src)return null;const t=e?.size?.width?`${e.size.width}`:"24";return m(U,{image:{...e},width:t,height:"24",asSVG:!0})},cn={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text"},dn={L:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4",M:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3",S:"w-1 h-1 min-w-1 min-h-1 mr-2"},mn=u((({className:e="",isDotted:t=!0,children:n,version:i="primary",size:r="M"})=>h("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?m("div",{children:m("div",{className:`rounded-full align-middle inline-block ${cn[i]} ${dn[r]}`})}):null,m("span",{children:n})]}))),hn={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},un={S:"text-l-light",M:"text-h6",L:"text-h5"},pn={S:"ml-2",M:"ml-3",L:"ml-4"},gn=u((e=>{const{className:t="",hasIndent:n,isDotted:i,itemClassName:r="",items:l,listItemSize:s="M",version:a="primary"}=e;return l?.length?m("section",{className:`${hn[a]} ${un[s]} ${t} ${n?pn[s]:""}`,role:"list",children:l.map(((e,t)=>m(mn,{className:`${r} mb-1.5`,isDotted:i,version:a,size:s,children:e},String(t))))}):null})),bn=u((({className:e="",title:t="",buttons:n,image:i,children:r})=>h("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,h("div",{className:"flex grow w-full justify-between",children:[h("div",{className:"flex flex-col justify-between w-full",children:[m("div",{className:"h-full",children:r}),n?m("div",{className:"mt-auto pt-8",children:n}):null]}),i]})]}))),xn={primary:"text-primary-text",secondary:"text-white"},fn={primary:"text-secondary-text",secondary:"text-white"},Nn=u((e=>{const{className:t="",icon:n,label:i,description:r,version:l="primary",benefitsVersion:s="normal"}=e,a="white"===s?"secondary":"primary";return h("div",{className:`flex gap-5 ${r?"items-start":"items-center"} ${t}`,children:[n?m("div",{className:yn(l,s),children:m(U,{className:"w-6 h-6",image:K(n,a),asSVG:!0})}):null,h("div",{className:"gap-0.5",children:[i?m("div",{className:`text-h6 ${xn[l]}`,children:i}):null,r?m("div",{className:`text-m-light ${fn[l]}`,children:r}):null]})]})}));function yn(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const vn=(e="primary",t="normal")=>({icon:n,label:i,description:r},l)=>m(Nn,{icon:n,label:i,description:r,version:e,benefitsVersion:t},String(l)),wn=u((({className:e="",headlineVersion:t="L",benefits:n,benefitsVersion:i="normal",buttons:r,image:l,items:s,version:a="primary",isDotted:o=!0,label:c,...d})=>h("div",{className:`w-full ${e}`,children:[h("div",{children:[c?Cn(c,a):null,m(zt,{className:"!p-0 max-w-[600px]",bgColorHeadline:a,headlineVersion:t,...d}),h(bn,{buttons:r?.length?m(sn,{buttons:r,className:"flex flex-col mt-5 gap-2.5"}):null,children:[n?.filter((e=>e.label))?.length?m("div",{className:"mt-3",children:n.map(vn(a,i))}):null,s?.length?m(gn,{className:"mt-3 text-m",items:s,version:a,isDotted:o}):null]})]}),kn(l)]})));function kn(e){return e?.src?m(U,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const $n={primary:"text-primary-main border-secondary-hover",secondary:"text-white/80"},Cn=(e,t)=>m("div",{className:`px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${$n[t]}`,children:e}),Sn=u((e=>{const{className:t="",version:n="primary"}=e;return m("section",{className:`font-sans bg-white px-4 py-6 ${Nt[n]} ${t}`,children:m(wn,{...e})})})),Tn={primary:{background:"bg-white",title:"text-primary-text",description:"!text-secondary-text text-l-light",iconText:"text-secondary-text",iconBackground:"bg-main-divider",iconConnector:"bg-secondary-light",dot:"bg-secondary-text"},secondary:{background:"bg-primary-main",title:"text-white",description:"!text-white/80 text-l-light",iconText:"text-white",iconBackground:"bg-white/30",iconConnector:"bg-white",dot:"bg-white/80"}},_n={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},In={normal:"min-h-[70px]",small:"min-h-12"},An=u((({className:e,title:t,description:n,showLines:i=!0,steps:r,size:l="normal",version:s="primary"})=>{const a=Tn[s];return h("section",{className:`box-border font-sans bg-white px-4 py-6 flex flex-col\n ${a.background} ${a.title} ${e||""}`,children:[t?m(A,{headingType:"h3",className:`text-center ${a.title}`,title:t}):null,n?m("p",{className:`text-m-light text-center ${a.description} ${t?"mt-2":""}`,children:n}):null,r?.length?m("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:m("div",{className:"flex flex-col justify-between gap-x-[101px]",children:r.map(Rn(l,s,i))})}):null]})})),Rn=(e,t,n)=>(i,r,l)=>{const s=l.length-1===r,a="normal"===e?"ml-[34px]":"ml-6",o=Tn[t];return m("div",{children:h("div",{className:"flex flex-row text-center relative",children:[h("div",{className:"overflow-hidden flex-shrink-0",children:[jn(e,t)(i,r),s?null:m("div",{className:`min-h-8 h-full w-0.5 ${n?o.iconConnector:""} ${a}`})]}),h("div",{className:`flex flex-col justify-center h-fit ${In[e]}`,children:[i.label?m("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:i.label}):null,i.description?m("div",{className:`text-s ${o.description} text-left`,children:i.description}):null]})]})},String(r))},jn=(e,t)=>(n,i)=>{const r=Tn[t],l="normal"===e?"38":"27",s="normal"===e?"text-m-title":"text-m-title-xs";return m("div",{className:`${_n[e]} ${r.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:m("span",{className:`font-medium flex self-center ${r.title} ${s}`,children:(a=n?.icon,Boolean(a?.icon||a?.src)?m(U,{image:K({...n.icon},t),width:l,height:l,asSVG:!0}):m("span",{children:i+1}))})});var a},Dn={Buttons:({buttons:e})=>e&&e?.length?m("div",{children:e.map((({rounded:e,icon:t,...n},i)=>an({button:{rounded:e,icon:t,...n},buttonClassName:`mt-3 ${i>0&&e?"ml-2.5":""} ${t?"w-12 h-12":""}`,index:i})))}):null,Img:({image:e})=>e?.src?m(U,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>m(gn,{className:"flex flex-col justify-between items-start text-m",version:"gray",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>h("div",{children:[e?m("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?m("div",{className:"text-s text-secondary-text",children:t}):null]})},Bn=u((({title:e,icon:t})=>h("div",{className:"flex gap-2.5 mb-2",children:[e?m(A,{headingType:"h3",className:"font-medium",title:e}):null,t?m(U,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),On=u((({tile:e,...t})=>h("div",{className:"rounded-md border-main-stroke h-full box-border border p-4",children:[m(Bn,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>h("div",{children:[n>0?m("div",{className:"h-5"}):null,Vn(e,t)]},String(n)))):null]})));function Vn(e,t){if(!e||!e.tableCellType||!(e.tableCellType in Dn))return null;const n=Dn[e.tableCellType];return m(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const Mn=u((({tiles:e,...t})=>e?.length?m(me,{...t,children:e.map(((e,n)=>m(On,{tile:e,...t},String(n))))}):null)),Ln=u((({tiles:e,...t})=>e?.length?m("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>m(On,{tile:e,...t},String(n))))}):null)),Pn=u((({className:e,title:t,description:n,tariffsColumns:i,rowHeaders:r,orientation:l="vertical",...s})=>{const a=En(i),o=Fn(r,a);return h("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?m(A,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?m("div",{className:"mb-5 text-center text-m",children:n}):null,m("vertical"===l?Ln:Mn,{tiles:o,...s})]})})),En=e=>e?.[0]?.data?e[0].data:[],Fn=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),Hn={primary:{background:"bg-white",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"},secondary:{background:"bg-primary-main",icon:"bg-white text-primary-main",title:"text-white",description:"text-white"},"secondary-light":{background:"bg-primary-main/10",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"}},zn=u((({title:e,description:t,blockVersion:n="primary",iconVersion:i,image:r,className:l="",items:s,isDotted:a=!0})=>{const o=Hn[n],c="secondary"===n?"secondary":"gray";return h("section",{className:`font-sans px-4 py-[18px] flex flex-col ${o.background} ${l}`,children:["small"===i?Gn(o.icon):null,"big"===i?Jn(r):null,h("div",{className:"py-0.5",children:[e?m("div",{className:`text-l font-medium mb-1 ${o.title}`,children:e}):null,t?m("div",{className:`text-s ${o.description}`,children:t}):null,s?.length?m(gn,{className:"mt-1 text-m",items:s,isDotted:a,version:c}):null]})]})}));function Gn(e){return m("div",{className:"mb-3",children:m("div",{className:`rounded-full h-4 w-4 text-center text-xs-light ${e}`,children:"i"})})}function Jn(e){return e?.src?m(U,{className:"pb-3 mr-auto",image:e}):null}const Wn={Accordion:D,AccordionItem:q,ComparisonTable:He,Footer:xt,Gallery:yt,Header:Et,Headline:zt,LinkDocs:Xt,LinkList:qe,MobileAppTile:lt,ProductBlock:Sn,StepsBlock:An,TariffsTable:Pn,TextBlock:zn,Placeholder:tn},Un=["Header","Footer"],Yn=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function Kn(e=T.inst,t=globalThis){const n=a(new Map);r((()=>e.eventBus.subscribe("intersection",(({block:e,intersection:t})=>{n.current&&n.current.set(e,t)}))),[e]),r((()=>{const i=((e,t=600)=>{let n;const i=(...r)=>{i.dispose(),n=setTimeout((()=>{e(...r)}),t)};return i.dispose=()=>{n&&clearTimeout(n)},i})((()=>{if(!(globalThis.scrollY>3*globalThis.innerHeight/4))return void e.reset();const t=function(e){const t=e.filter((([e])=>!Un.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[n]=t.length>0?ae(Yn)(t):[];return n}([...n.current||[]]);t?.anchor?e.replace(t.anchor):t||e.reset()}),100);return t.addEventListener("scroll",i),()=>{i.dispose(),t.removeEventListener("scroll",i)}}),[e,t])}const Xn=d();const qn=u((({className:e,onClick:t,ariaLabel:n})=>m("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:Qn()}))),Qn=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[m("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"}),m("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"})]})},Zn=u((({className:e=""})=>{const t=function(e){const[t,n]=i(0);return r((()=>{(async()=>{const[t]=await Xn.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{n(await Xn.like(e))}),[e]),dislike:l((async()=>{n(await Xn.dislike(e))}),[e])}}(Ne().pathname);return h("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:[m(qn,{onClick:fe(t.like),ariaLabel:"Поставить отметку «лайк»"}),m(qn,{onClick:fe(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),m("span",{className:"select-none",children:t.likeCount})]})})),ei=u((e=>{const{className:t="",blocksRegistry:n,blockDecorator:i,data:r={}}=e,{style:l,blocks:s,slots:a,likeControl:o,colorPalette:c="pc"}=r,d={key:"",page:r,blocksRegistry:n,blockDecorator:i,parent:r};return Kn(),h("section",{className:`relative ${g(l)} ${t}`,"data-theme":c,children:[a?.header?m("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:v(a?.header,{...d,slotName:"header"})}):null,h("div",{className:"container grid grid-cols-12 gap-1",children:[v(s,d),a?.footer?v(a?.footer,{...d,slotName:"footer"}):null]}),o?m("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:m(Zn,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null]})}));ei.childrenTypes=[],ei.slots=()=>["header","footer"];e.Blocks=Wn,e.ContentPage=ei,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=d,e.handlerDecorator=fe,e.joinList=function(e){return t=>t.reduce(((t,n,i)=>t.length?t.concat({...e,key:i},n):[n]),[])},e.packageVersion="0.6.45",e.projectSettings=o,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=xe,e.useRouter=Ne,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),i=n("useState"),r=n("useEffect"),l=n("useCallback"),s=n("useMemo"),a=n("useRef");const o=new class{_={PROD_BRANCH:"master",FORCED_DRAFT_FLOW:!1};setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get FOOTER(){return this._.FOOTER}get CDN(){return this._.CDN}get BASE_PATH(){return this._.BASE_PATH&&!this._.BASE_PATH.endsWith("/")?`${this._.BASE_PATH}/`:this._.BASE_PATH}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},c="likesToken";function d(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(c)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage?.setItem(c,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${o.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:i}=await e.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${o.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${o.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}}}}const m=(...e)=>globalThis._uni._jsx(...e),h=(...e)=>globalThis._uni._jsxs(...e),u=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:p(e)),t._tmpl},p=e=>{function t(t,n){const{children:i,...r}=t||{},l=n?.slots?.default,s=i||l&&l();return e(Object.assign(r,s&&{children:s}),n)}return t.inheritAttrs=!1,t};function g(e){return e?e.filter(Boolean).join(" "):""}const b=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),x=[],f=["col-span-12"];function N(e,t){const{key:n,blockDecorator:i=b,blocksRegistry:r={},ancestors:l=x,className:s=""}=t,{type:a}=e;a&&a in r||console.warn(`No block with "${a}" is registered`);const o=a&&r[a];return i({blockClassName:`scroll-mt-12 ${s} ${g(e.style||f)}`,block:e,ancestors:l,render:({block:i,blockClassName:r})=>{const{content:l}=i;return o?m(o,{className:r,block:e,options:t,...l},n):null}},n)}const y=[],v=(e,{key:t,ancestors:n=y,slotName:i=null,renderChild:r=N,...l})=>(e||[]).map(((e,s)=>r(e,{...l,key:`${t||e.type}-${s}`,ancestors:l.parent?[...n||y,[l.parent,i]]:n})));function w({children:e,block:t,options:n,renderChild:i}){return e||(t&&n?v(t.blocks,{...n,parent:t,renderChild:i}):null)}class k{static inst=new k;subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){e in this.subjectsStateMap&&(this.subjectsStateMap[e]=t),this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}function $(e,{sensitivity:t,rootRef:n}={}){const i=a(null),l=s((()=>({threshold:C(t),root:n?.current})),[t,n?.current]);return r((()=>{if(!i.current)return;const t=new IntersectionObserver(e,l);return t.observe(i.current),()=>{t.disconnect()}}),[e,l]),i}function C(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,n)=>Math.min(n/t)),1).concat(1)}const S=e=>e?.replace("#",""),T=e=>`${globalThis.location?.pathname}#${S(e)}`;class _{static inst=new _;eventBus=new k;constructor(){const e=S(globalThis.location?.hash);e&&this.eventBus.subject("goto",{anchor:e})}goto(e){const t=S(e);t&&(this.push(t),this.eventBus.fire("goto",{anchor:t}))}push(e){globalThis.history?.pushState(null,"",T(e))}replace(e){globalThis.history?.replaceState(null,"",T(e))}reset(){globalThis.history?.replaceState(null,"",T())}}const I=u((({className:e,block:t,tag:n="section",role:s,children:a})=>{const o=n,c=function(e,t=_.inst){const n=$(l((n=>{if(!e||!n?.length)return;const i=n[n.length-1];t.eventBus.fire("intersection",{block:e,intersection:i})}),[e,t]),{sensitivity:1});return r((()=>{if(n.current)return t.eventBus.subscribe("goto",(({anchor:t})=>{n.current&&e?.anchor===t&&n.current.scrollIntoView({behavior:"smooth",block:"start"})}))}),[e,t]),n}(t),[d,h]=i(!0);return r((()=>k.inst.subscribe("tab",(e=>{if("group"===e.type){const n=t?.labels?.length||t?.anchor;h(!e.label||(!n||Boolean(t?.labels?.includes(e.label))))}else h(!0)}))),[t]),d?m(o,{className:e,role:s,...t?.anchor?{id:t.anchor,ref:c}:{},children:a}):null})),A={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},j=u((e=>{const{className:t,headingType:n="h3",title:i,as:r="h3"}=e;return m(r,{className:`font-sans font-medium m-0 ${A[n]} ${t||""}`,children:i})})),R=u((({size:e,color:t,align:n,font:i,children:r})=>m("p",{className:["font-sans",e,t,n,i].filter(Boolean).join(" "),children:r}))),D=u((({children:e})=>m("ul",{className:"list-none m-0 p-0",children:e}))),B=u((({title:e,description:t,className:n="",...i})=>h(I,{className:`py-6 px-4 bg-white text-primary-text ${n}`,...i,children:[e?m(j,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?m("div",{className:"mb-5",children:m(R,{size:"text-m",font:"font-light",align:"text-center",children:t})}):null,m(D,{children:w(i)})]})));B.childrenTypes=["AccordionItem"];const O=u((({isFoldButtonOnTop:e=!1,unfoldedByDefault:t=!1,renderFoldableSection:n,renderFoldButton:r})=>{const[s,a]=i(t),o=l((()=>{a((e=>!e))}),[]),c=n({isUnfolded:s,onToggle:o}),d=r?r({isUnfolded:s,onToggle:o}):null;return h("div",e?{children:[d,c]}:{children:[c,d]})})),V=u((({className:e="",isUnfolded:t,children:n})=>{const i=a(null);return r((()=>{i.current&&(i.current.style.maxHeight=t?`${i.current.scrollHeight}px`:"")}),[t,n?.length]),m("div",{ref:i,className:`transition-max-h duration-300 overflow-hidden ${i.current||!t?"max-h-0":""} ${e}`,children:n})})),M={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},P=u((({className:e="",imageClassName:t="",name:n="",alt:i=`Иконка ${n}`,title:r=i,iconVersion:l="color",asSVG:s,...a})=>{const c=`${o.CDN||""}icons/${n}.svg`;return s&&"normal"!==l?m(F,{className:e,children:h("svg",{className:[E(e,a.width),M[l],t,L(l)].join(" "),...a,"aria-hidden":"true",children:[r?m("title",{children:r}):null,i?m("desc",{children:i}):null,m("use",{href:`${c}#icon`,xlinkHref:`${c}#icon`})]})}):m("img",{className:e,src:c,alt:i,title:r,...a,"aria-hidden":"true"})})),L=e=>"white"===e?"invert":"",E=(e,t)=>t?`width: ${t}px `:"w-full h-full",F=u((({className:e,children:t})=>e?m("div",{className:e,children:t}):t)),H=(e,t)=>e.media&&t.media?e.media-t.media:0,z=u((({className:e="",image:t,imageClassName:n="",isMobile:i=!1,pathPrefix:r})=>{if(!t||!t?.sources&&!t?.src)return null;return h("picture",{className:`${i?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.sort(H).map((({src:e,format:n,media:i},l)=>m("source",{srcSet:W(e,r),type:U(n),media:i?`(max-width: ${i}px)`:"",...t.size},`${l}_${e}`))):null,G({...t,src:J(t.src,r)},n,i)]})})),G=(e,t="",n=!1)=>{const i={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},r=e.title||"",l=e.alt||e.title,s=n?"m-auto":"m-0";return m("img",{src:e.src,className:`${s} ${t}`,alt:l,title:r,style:i,...e.size})},J=(e,t)=>!e||e?.startsWith("data:image")?e:`${((e="")=>e&&!e.endsWith("/")?`${e}/`:e)(t)}${e}`,W=(e,t)=>e?.split(",").map((e=>J(e.trim(),t))).join(", ");function U(e){return e?`image/${String(e)}`:void 0}const Y=u((({className:e="",image:t,imageClassName:n="",isMobile:i,pathPrefix:r,...l})=>t?.src||t?.icon?t.icon?m(P,{className:e,imageClassName:n,iconVersion:t?.iconVersion||"normal",name:t.icon,...l}):m(z,{className:e,imageClassName:n,image:t,isMobile:i,pathPrefix:r}):null)),K=u((e=>m(Y,{...e,isMobile:!0}))),X=u((({size:e,color:t,align:n,font:i,children:r})=>m("span",{className:["font-sans",e,t,n,i].filter(Boolean).join(" "),children:r}))),q=(e,t="primary")=>({...e,iconVersion:e?.iconVersion??("secondary"===t?"white":"color")}),Q=["PlusIcon","MinusIcon"],Z=u((({className:e="",label:t="",labelIcon:n,isExpanded:i,...r})=>{const{bordered:l}=function(e,t){const{content:n}=function(e){return e?.parent||{}}(e);return n||t}(r.options,{});return m("li",{className:`${l?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"} border-solid border-main-divider ${e}`,children:m(O,{isFoldButtonOnTop:!0,unfoldedByDefault:i,renderFoldableSection:({isUnfolded:e})=>m(V,{className:"flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0",isUnfolded:e,children:w(r)}),renderFoldButton:({isUnfolded:e,onToggle:i})=>m(ee,{className:l?"":"py-3.5 px-0",label:t,icon:Q[Number(e)],primaryIcon:n,onClick:i})})})}));Z.childrenTypes=[];const ee=u((({className:e,icon:t,label:n,primaryIcon:i,onClick:r})=>h("button",{className:`border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text group cursor-pointer ${e}`,onClick:r,children:[h("div",{className:"flex group-hover:text-primary-main",children:[i?m(K,{image:q(i),className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,m(X,{size:"text-m-title-xs",font:"font-medium",children:n})]}),m(K,{className:"flex-shrink-0",image:q({icon:t}),width:"24",height:"24",asSVG:!0})]}))),te=u((({className:e="",style:t,idx:n,activeIndex:i,observerOptions:r,children:s,onIntersection:a})=>{const o=$(l((e=>{e.length&&a&&a(n||0,e[e.length-1])}),[a,n]),r);return m("div",{className:`inline-block snap-always box-border ${e}`,style:t,role:"listitem","aria-current":Boolean(n===i),ref:o,children:s})})),ne=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],ie=u((({className:e="",containerRef:t,activeIndex:n,visibleItemCount:i=0,gap:r=0,padding:s=0,snapAlign:o="snap-center",children:c,onVisibleItemsChange:d,onVisibleIndicesChange:h})=>{const u={sensitivity:1,rootRef:t},p=a([]),g=l(((e,t)=>{const n=[...p.current||[]];n[e]=t,p.current=n,d&&d(n),h&&h(le(n))}),[d,h]),b=i>0?r*Number(i)-1:0;return m("div",{className:`box-border overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...re(s,b),gap:`${r}px`},role:"list",ref:t,children:(x=(e,t)=>m(te,{className:`${o} ${i?ne[i-1]:""}`,style:re(s/4),activeIndex:n,idx:t,observerOptions:u,onIntersection:g,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(x):x(e,0))(c)});var x})),re=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),le=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),se=u((({containerRef:e,activeIndex:t,dotCount:n=0})=>n?m("div",{className:"flex gap-2 mx-auto mt-5 w-fit",children:new Array(n).fill(null).map(((n,i)=>m("div",{className:"cursor-pointer bg-primary-main h-2 rounded-full transition-width duration-300 "+(i===t?"w-6":"w-2 opacity-30"),role:"button","aria-hidden":!0,onClick:()=>(n=>{n!==t&&e?.current&&e.current.children[n]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(i)},String(i))))}):null)),ae=e=>e,oe=(e=ae)=>t=>t.reduceRight(((t,n)=>e(t)>e(n)?t:n)),ce=(e=ae)=>oe((t=>-e(t))),de=e=>t=>e.scrollWidth/t,me=e=>(t,n)=>{e.scrollBy({left:n*de(e)(t),behavior:"smooth"})},he=({itemCount:e,isCyclic:t,onVisibleIndicesChange:n})=>{const r=a(null),[s,o]=i([]),c=l((e=>{o((t=>{return(n=t)===(i=e)||Boolean(n&&i&&n?.length===i?.length&&n.every(((e,t)=>e===i[t])))?t:e;var n,i})),n&&n(e)}),[e]),[d,m]=s.length?[ce()(s),oe()(s)]:[-1,-1],h=d>0,u=m<e-1,p=l((()=>{var n;r.current&&(t&&!h?(n=r.current).scrollTo({left:n.scrollWidth,behavior:"smooth"}):me(r.current)(e,-1))}),[t,e,h]),g=l((()=>{r.current&&(t&&!u?r.current.scrollTo({left:0,behavior:"smooth"}):me(r.current)(e,1))}),[e,t,u]);return[r,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]},ue=u((({className:e,gap:t=14,padding:n=16,showDots:i=!0,children:r,onVisibleIndicesChange:l})=>{const s=Array.isArray(r)?r.length:0,[a,o]=he({itemCount:s,onVisibleIndicesChange:l}),[c]=o.visibleIndicesRange;return h("div",{className:e,children:[m(ie,{containerRef:a,activeIndex:c,visibleItemCount:1,gap:t,padding:n,onVisibleIndicesChange:o.handleVisibleIndicesChange,children:r}),i?m(se,{containerRef:a,activeIndex:c,dotCount:s}):null]})}));const pe=e=>e?.includes("//"),ge=e=>(e||"").replace(/\/?\?.*/,""),be=e=>{if(!e||!pe(e))return;const t=e,n=t.indexOf("//"),i=t.indexOf("/",n+"//".length);return-1!==i?t.substring(0,i):t},xe=e=>{if(!e||!pe(e))return;return new URL(e).pathname},fe=e=>e?.startsWith("#");var Ne=Object.freeze({__proto__:null,isURL:pe,withoutQuery:ge,getOrigin:be,getPathname:xe,getHash:e=>{if(!e||!pe(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0},isHash:fe});const ye=(e,t)=>ye._impl(e,t);function ve(){return ve._impl()}function we(){const e=ve(),t=_.inst;return n=>{const i=((e,t)=>{if(!e)return e;const n=be(t?.href);return n?e.replace(n,"")||"/":e})(n.href,e);return{...n,href:i,"aria-label":n.text,onClick:ye((r=>{n.onClick&&n.onClick(r),ke(i,n.target)||(r?.preventDefault(),fe(i)?t.goto(i):i&&e.push(i))}),n)}}}ye._impl=e=>e,ye.setup=e=>{ye._impl=e},ve._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),ve.setup=e=>{ve._impl=e};const ke=(e,t)=>pe(e)||t&&"_self"!==t||e?.startsWith("/"),$e={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:""},Ce="bg-main-divider text-main-disabled",Se={primary:Ce,secondary:Ce,white:Ce,link:""},Te="text-center font-sans select-none",_e={primary:"group-hover:brightness-0 group-hover:invert",secondary:"group-hover:brightness-0 group-hover:invert",white:"group-hover:brightness-0 group-hover:invert",link:""},Ie=u((e=>{const{text:t,aboveText:n,appendLeft:i,appendRight:r,version:l="primary"}=e;return h("div",{className:Ae(e),children:[i?m("div",{className:_e[l],children:i}):null,je(e)?h("div",{children:[n?m("div",{className:"text-xs-light text-left",children:n}):null,m("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?m("div",{className:_e[l],children:r}):null]})})),Ae=e=>{const{version:t,aboveText:n,rounded:i}=e;if("link"===t)return"";const r="gap-2 "+(n?"py-2.5 px-7":"py-4 px-4");return["group flex items-center justify-center",je(e)?r:"h-12 w-12",i?"rounded-full":""].join(" ")},je=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),Re=({className:e,rounded:t,version:n})=>["inline-block",Te,n?Se[n]:"",t?"rounded-full":"rounded-md",e].join(" "),De=({className:e,rounded:t,version:n})=>[Te,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border",n?$e[n]:"",t?"rounded-full":"rounded-md",e].join(" "),Be=u((({disabled:e,children:t,...n})=>{const i=we()(n),r=t??m(Ie,{...i});return m(e?Ve:Oe,{...i,children:r})})),Oe=u((({className:e="",href:t,rel:n,target:i,ariaLabel:r,version:l,rounded:s,onClick:a,children:o})=>m("a",{className:De({className:e,version:l,rounded:s}),href:t,rel:n,target:i,"aria-label":r,role:t?"link":"button",onClick:a,children:o}))),Ve=u((({className:e,ariaLabel:t,version:n,rounded:i,children:r})=>m("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:Re({className:e,rounded:i,version:n}),children:r}))),Me=(e=!1)=>e?"text-white":"",Pe=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Le=u((({icon:e,image:t,title:n,subtitle:i,isFillGradient:r})=>h("div",{role:"columnheader",children:[e?m(K,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&m("div",{className:"mb-3.5",children:m(K,{image:t})}),n?m(j,{headingType:"h4",className:Me(r),title:n}):null,i?m("div",{className:Pe(r),children:i}):null]}))),Ee=u((({cell:e,rowHeader:t,isFillGradient:n=!1})=>m("div",{className:"box-border flex flex-col",role:"cell",children:m("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(Fe(n,t))})}))),Fe=(e,t)=>({label:n,description:i},r)=>h("div",{className:"flex justify-between text-s py-3.5",children:[m("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),h("div",{className:"basis-1/2",children:[n?m("div",{className:"text-right "+(e?"text-white":""),children:n}):null,i?m("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:i}):null]})]},String(r)),He=u((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:i,showRow:r,onToggleColumn:l})=>{const s=t?.slice(0,r?t.length:n),a=i?"secondary":"primary";return h("div",{className:`border border-main-stroke rounded-md p-4 mb-3.5 ${i?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[m(Le,{...e,isFillGradient:i}),s?.length?s.map((({rowHeader:e,cell:t},n)=>m(Ee,{cell:t,rowHeader:e,isFillGradient:i},String(n)))):null,r&&e?.link?m(Be,{href:e.link.href,target:e.link.target,version:a,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,ze({onToggleColumn:l,isFillGradient:i,showRow:r})]})})),ze=({onToggleColumn:e,isFillGradient:t,showRow:n})=>m("div",{className:"mt-5",role:"cell",children:m("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),Ge=u((e=>{const{className:t,title:n}=e;return h("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?m(j,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,m("div",{role:"table",children:m(Je,{...e})})]})})),Je=u((({columns:e=[],rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:r,orientation:s,...a})=>{const[o,c]=i(new Array(e.length).fill(!r)),d=l((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),h=l((()=>c((e=>new Array(e.length).fill(!1)))),[]),u=e?.map((({data:e,header:i},l)=>{return m(He,{visibleRowLength:r,showRow:o[l],header:i,columnData:(s=e,s?.map(((e,n)=>({cell:e,rowHeader:t?.[n]?.title})))),isFillGradient:0===l&&n,onToggleColumn:()=>d(l),...a},String(l));var s}));return"horizontal"===s?m(ue,{onVisibleIndicesChange:h,children:u}):u})),We=new Map;function Ue(e,t,{fallback:n}={}){const l=s((()=>Ye(e)),[e]),[a,o]=i(),[c,d]=i(),m=e=>{o(e),d(void 0)},h=e=>{o(void 0),d(e)};r((()=>{if(!l.every((e=>null===e)))try{const e=t(...l);"then"in e?(e=>{e.then((e=>We.get(l)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...l]);const u=l[0],p=n&&"string"==typeof u&&n[u];return{data:a||c||!p?a:p,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function Ye(e){return e?Array.isArray(e)?e:e instanceof Function?Ye(e()):[e]:[e]}async function Ke(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function Xe(e,t={}){const{data:n}=Ue(`/wcms-resources/${e}.json`,Ke,{fallback:t});return n||{}}const qe=u((({className:e,isMobile:t=!1})=>{const{term:n,setTerm:r}=(()=>{const[e,t]=i("");return{term:e,setTerm:e=>t(e)}})(),l=t?"text-s":"text-l-light",s=t?" placeholder-transparent":"h-full",a=t?"some search":void 0;return h("form",{className:`font-sans relative ${e}`,children:[h("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[m("div",{className:t?"w-5 h-5":"w-6 h-6",children:m(K,{image:{icon:"LoupeIcon"},width:"24",height:"24"})}),n?null:m("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${l}`,children:"Поиск по сайту"})]}),m("input",{id:"search-bar-input",className:`h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border\n outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${s}`,value:n,onChange:e=>r(e.target.value),type:"text",name:"search-bar-input",placeholder:a}),t?m("button",{className:"visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none",onClick:e=>{e.preventDefault(),r("")},children:m(K,{image:{icon:"CloseIcon"},width:"24",height:"24"})}):m(Be,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-[3px] right-1",onClick:e=>{e?.preventDefault(),console.log("click")},children:m("div",{className:"text-s px-9 py-2.5",children:"Найти"})})]})})),Qe=u((e=>m(qe,{...e,isMobile:!0}))),Ze=u((({className:e="",documents:t,...n})=>m(I,{className:`font-sans bg-white mt-2.5 ${e}`,...n,children:m("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?et(t):null})}))),et=e=>e.map(((e,t)=>{const{text:n,...i}=e;return m("li",{className:"mb-4 list-none",children:m("a",{className:"hover:text-primary-main",role:"link",...i,children:n||null})},`list_item_${String(t)}`)})),tt={"bg-white":"color",transparent:"white"},nt={"bg-white":"text-primary-main",transparent:"text-white"},it=(e,t,n)=>m(K,t?.src?{image:t,className:nt[e],width:n?.width,height:n?.height,pathPrefix:"/wcms-resources/",asSVG:!0}:{image:{icon:t?.icon||"LogoIcon",iconVersion:tt[e]},className:nt[e],width:n?.width,height:n?.height,asSVG:!0}),rt={"bg-white":"text-primary-text",transparent:"text-white"},lt=(e,t,n)=>m("span",{className:`${rt[t]} ml-2.5 font-medium ${n||""}`,children:e||"Россельхозбанк"}),st=u((({bgColor:e="bg-white",children:t,className:n="",href:i,logo:r,showTitle:l=!0,targetBlank:s})=>h("a",{className:`inline-flex items-center font-sans no-underline ${n}`,href:i||"https://rshb.ru/",target:s?"_blank":"_self","aria-label":r?.title||"Россельхозбанк",children:[it(e,r?.image,{width:"34",height:"34"}),l?lt(t||r?.title,e,"text-s"):null]}))),at=u((({className:e="",title:t="Мобильное приложение",description:n,href:i="#"})=>m("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:i?h("div",{className:"flex",children:[m("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:m(st,{className:"w-8",bgColor:"transparent",showTitle:!0})}),h("a",{href:i,target:"_blank",className:"flex flex-col justify-center pl-3",children:[m("div",{className:"text-s font-medium mb-[3px]",children:t}),m("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),ot=u((({className:e="",items:t,hasButton:n})=>h("div",{className:e,children:[t?.length?t.map(ct):null,n?m(Be,{version:"primary",className:"mb-6 w-full",href:"/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),ct=(e,t)=>{const{type:n,text:i,description:r}=e;return h("div",{className:"mb-4",children:[m("div",{children:dt(n,i)}),m("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},dt=(e,t="")=>{switch(e){case"tel":return m("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${mt(t)}`,children:t});case"email":return m("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return m("span",{children:t})}},mt=e=>e.replaceAll(/\D/g,""),ht=u((({className:e="",index:t,text:n,...i})=>{const r=we(),{href:l,target:s,onClick:a}=r(i);return m("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:l,target:s,onClick:a,children:n||`Документ ${t}`})})),ut=u((({title:e,links:t,className:n=""})=>h("div",{className:n,children:[m("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?m("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>m(ht,{index:t,className:"text-s",...e},String(t))))}):null]}))),pt=[{origins:["t.me","telegram.org"],icon:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],icon:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],icon:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],icon:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],icon:{icon:"PlayMarketIcon"},label:"Google Play"}],gt=u((({version:e="primary",...t})=>{const n=we(),{href:i,onClick:r}=n(t),{icon:l,label:s}=pt.find((({origins:e})=>e.some((e=>i?.includes(e)))))||{};if(!l)return null;return m("a",{className:`flex items-center justify-center rounded-md w-14 h-14 group box-border ${"secondary"===e?"bg-white hover:bg-secondary-hover":"border-solid border border-main-divider hover:border-transparent hover:bg-primary-main"} ${"primary"===e?"hover:text-black":""}`,href:i,"aria-label":s,target:"_blank",rel:"noopener noreferrer",onClick:r,children:l?m(K,{image:q(l),imageClassName:"group-hover:text-white",width:"24",height:"24",asSVG:!0}):null})})),bt=u((({className:e="",media:t,version:n})=>m("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e}`,children:t?.map(((e,t)=>m(gt,{version:n,...e},String(t))))}))),xt=u((({className:e="",index:t,...n})=>{const i=we(),{href:r,target:l,text:s,onClick:a}=i(n);return m("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:a,children:s||`Документ ${t}`})})),ft=u((({className:e="",links:t})=>h("div",{className:e,children:[m("div",{className:"py-6",children:m("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?m("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>m(xt,{index:t,...e},String(t))))}):null]}))),Nt=u((({className:e="",...t})=>{const n=t.options?.page?.fallback,i=Xe(o.SITEMAP||"sitemap",n),{documents:r,relatedEnterprises:l,contacts:s,socialMedia:a,horizontalNavigationTitle:c}=Xe(o.FOOTER||"footer",n);return h("footer",{className:`font-sans px-4 py-[26px] bg-white ${e}`,children:[m(ot,{className:"overflow-hidden",items:s,hasButton:!0}),m(D,{children:i.topItems?.map(((e,t)=>m(Z,{label:e.text,children:m(Ze,{documents:e.items})},String(t))))}),m("div",{children:i?.dispositions?.map(yt)}),m(at,{title:"Мобильное приложение",description:"Загрузить для IOS и Android",...t}),m(Qe,{className:"grow"}),m(bt,{className:"pb-4",media:a}),m(ut,{title:c,links:l}),m(ft,{links:r})]})})),yt=(e,t)=>{const{icon:n,href:i,text:r}=e;return h(Be,{version:"link",href:i,className:"flex text-s mb-4 w-6",children:[n?m(K,{className:"pr-1",image:q(n),width:"24",height:"24",asSVG:!0}):null,m("span",{className:"pl-2.5 font-medium text-primary-text",children:r})]},`footer-${t}`)},vt={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},wt=u((({title:e,description:t,cards:n=[],className:i,orientation:r="horizontal"})=>h("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${i}`,children:[h("div",{className:"flex flex-col items-center mb-5",children:[e?m(j,{headingType:"h3",className:`text-center ${t?"mb-2":"mb-5"}`,title:e}):null,t?m("div",{className:"text-m max-w-[600px] text-center mb-5",children:t}):null]}),kt(r,n)]})));function kt(e,t){return"horizontal"===e?m(ue,{children:t?.map($t)}):m("div",{className:"grid gap-3.5",children:t?.map($t)})}function $t(e,t){return h("div",{className:`w-full h-full flex flex-col justify-between shrink-0 box-border snap-start snap-always border-solid border rounded-md border-main-stroke p-4\n ${vt[e.version??"primary"]}`,children:[h("div",{children:[Ct(e.icon),e.title?m("h3",{className:"text-m-title-xs font-medium m-0",children:e.title}):null,e.description?St(e):null,e.items?.length?_t(e.items,e.isDotted,e.version):null]}),e?.button?.text?(n=e.button,m(Be,{className:"mt-3",...n})):null]},t);var n}const Ct=e=>e?.src||e?.icon?m("div",{className:"flex justify-center",children:m(K,{className:"mb-3.5",image:e})}):null;function St(e){return m("div",{className:"text-secondary-text mt-1 text-s "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}const Tt={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text"};function _t(e,t,n="primary"){return m("section",{className:"mt-3",children:e.map(((e,i)=>h("div",{children:[t?m("div",{className:`rounded-full inline-block mr-3 mt-2 w-2 h-2 min-w-2 min-h-2 ${Tt[n]}`}):null,m("span",{className:"text-m font-medium",children:e.title}),m("span",{className:"text-s pl-2 "+("primary"===n?"text-secondary-text":""),children:e.text})]},String(i))))})}const It=(e,t,n=((e,t)=>t.startsWith(e)))=>n(ge((e=>pe(e)||e?.startsWith("/")?e:`${o.BASE_PATH||""}${e}`)(e)),ge(pe(e)?t.href:xe(t.href))),At=e=>t=>It(t.href,e),jt=e=>t=>t.items?.some(At(e))||It(t.href,e)||((e,t)=>[be(e),be(t.href)].every(((e,t,n)=>Boolean(e)&&e===n[0])))(t.href,e)||Boolean(o.BASE_PATH?.startsWith(t.href||"/")),Rt="absolute left-0 -bottom-3 w-full h-0.5",Dt=u((({className:e="",text:t,href:n,target:i,active:r,onClick:l,children:s,bgColor:a="bg-white"})=>h("a",{className:`relative inline-block bg-transparent text-center no-underline ${e}`,href:n,target:i,onClick:l,children:[m("span",{className:Bt(a,r),children:t||s}),r?m("div",{className:Ot(a,r)}):null]}))),Bt=(e,t=!1)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-secondary-text hover:text-primary-main"),`${n} font-sans text-s`},Ot=(e,t=!1)=>t?`${"bg-white"===e?"bg-primary-main":e} ${Rt}`:Rt,Vt=864e5;function Mt(e,t,n=globalThis?.localStorage){const i=l((async(...i)=>{const r=`async:${e}`,l=function(e){const{data:t=null,timestamp:n=null}=e?JSON.parse(e):{};return t&&Date.now()-n<Vt?t:void 0}(n.getItem(r));if(l)return l;const s=await t(...i);return n.setItem(r,JSON.stringify({data:s,timestamp:Date.now()})),s}),[e,t]);return Ue(e,i)}const Pt=()=>{const e=globalThis.localStorage?.getItem("location");try{return e?JSON.parse(e):null}catch(e){return null}},Lt=u((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:s})=>{const[a]=function(e){const t=Pt(),[n,s]=i(t?.region??{name:e}),{data:a}=Mt("/api/v1/region",Ke);return r((()=>{s(t?.region&&t?.manual?t.region:a||{name:e})}),[a]),[n,l((e=>{globalThis.localStorage?.setItem("location",JSON.stringify({manual:!0,region:e})),s(e)}),[s])]}(n);return h("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[m("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:m(K,{image:{icon:"CloseIcon"},width:"24",height:"24",asSVG:!0})}),h("button",{className:"flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer",children:[m(K,{image:{icon:"GeolocationIcon"},width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),m(X,{color:"text-secondary-text",children:a.name})]}),s,m("div",{className:"mb-7",children:e?.map(Et)}),m(Qe,{className:"grow"})]})})),Et=(e,t)=>{const{icon:n,href:i,text:r}=e;return h("a",{href:i,className:"flex text-s mb-4 hover:text-primary-main",children:[n?m(K,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,m("span",{className:"font-medium pl-0.5",children:r})]},`headerSubMenu-${t}`)},Ft=u((({onClick:e,bgColor:t,logo:n})=>h("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-12",children:[h("div",{className:"flex items-center",children:[m("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:m(K,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),m(st,{className:"mr-8",bgColor:t,logo:n})]}),m("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-s border-0 bg-transparent cursor-pointer",children:"Войти"})]}))),Ht=u((({className:e="",bgColor:t="bg-white",...n})=>{const r=ve(),s=n.options?.page?.fallback,{topItems:a,dispositions:c,defaultLocation:d,logo:u}=Xe(o.SITEMAP||"sitemap",s),p=a?.find(jt(r)),g=p?.items,b=(e=>(t=[])=>{const n=t?.filter(At(e));return n?.length?oe((e=>e.href?.length||0))(n):void 0})(r)(g),[x,f]=i(!1),N=l((()=>f((e=>!e))),[]);return h("header",{className:`${t} ${e}`,children:[h("div",{className:"container px-4 py-0 box-border",children:[m(Ft,{onClick:N,bgColor:t,logo:u}),m("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-12",children:m("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:g?.map(((e,n)=>m(Dt,{className:"mr-8 whitespace-nowrap text-s",active:e===b,bgColor:t,...e},String(n))))})})]}),x?m(Lt,{onClick:N,burgerSubMenu:c,defaultLocation:d,children:m(D,{children:a?.map(((e,t)=>m(Z,{label:e.text,children:m(Ze,{documents:e.items})},String(t))))})}):null]})})),zt={transparent:{wrapper:"bg-transparent",titleColor:"text-primary-text"},primary:{wrapper:"bg-white",titleColor:"text-primary-text"},secondary:{wrapper:"bg-primary-main",titleColor:"text-white",descriptionColor:"text-white/80"}},Gt=u((({className:e="",title:t,description:n,image:i,bgColorHeadline:r="transparent",align:l="text-left"})=>{const s=zt[r];return h("section",{className:`px-4 py-6 flex flex-col gap-2.5 ${s.wrapper} ${e}`,children:[t?m(j,{headingType:"h2",className:`${s.titleColor} ${l}`,title:t}):null,n?m(R,{color:s.descriptionColor||s.titleColor,size:"text-m",align:l,children:n}):null,i?.src&&m("div",{className:"mt-2.5 mx-auto flex justify-center",children:m(K,{image:i})})]})})),Jt=u((({className:e,iconClassName:t,textClassName:n,suffixClassName:i,doc:r,icon:l})=>{const{text:s,fileSize:a,...o}=r;return h("a",{className:e,role:"link",...o,children:[l?m(K,{className:t,image:q(l),width:"24px",height:"24px",asSVG:!0}):null,s?h("span",{className:n,children:[s,m("span",{className:i,children:o?.href&&Wt(Ut(o.href),a)})]}):null]})})),Wt=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),Ut=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},Yt=u((({className:e="",doc:t,icon:n})=>m(Jt,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:n}))),Kt=u((({hasBorder:e=!0,documents:t,icon:n})=>m(ue,{className:"text-s text-primary-main mt-5",children:t?.length?t.map(((t,i)=>m(Yt,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:n},String(i)))):null}))),Xt=u((({hasBorder:e=!0,documents:t,icon:n})=>m("div",{className:"text-s text-primary-main flex flex-col mt-5 "+(e?"gap-3.5":"gap-2"),role:"list",children:t?.length?t.map(((t,i)=>m("div",{role:"listitem",children:m(Yt,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:n})},String(i)))):null}))),qt=u((({className:e="",title:t,description:n,icon:i={icon:"DocIconMonoColor"},documents:r,orientation:l="vertical",hasBorder:s=!0,...a})=>h("section",{className:`font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${e}`,children:[m(Gt,{className:"!p-0 "+(n?"gap-2":"gap-5"),title:t,description:n,...a}),m("vertical"===l?Xt:Kt,{hasBorder:s,documents:r,icon:i})]}))),Qt=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Zt(e=""){const t=Qt(e);return t<=4?"S":t<=8?"M":"L"}function en(e=""){const t=Qt(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function tn(e=""){const t=Qt(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const nn=u((({className:e,title:t,description:n="Блок в разработке...",...i})=>h(I,{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${tn(e)} ${en(e)} `,...i,children:[m(Gt,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:Zt(e),...i}),m("figure",{className:"m-0 min-w-[80%]",children:rn()})]}))),rn=(e=3)=>sn(100,e).map((e=>Math.floor(e))).map(ln),ln=(e,t)=>m("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),sn=(e,t)=>[e].concat(t>0?sn(e/1.618,t-1):[]),an=u((({className:e="",buttons:t})=>t&&t?.length?m("div",{className:e,children:t.map(((e,t)=>on({button:e,index:t})))}):null));function on({button:e,buttonClassName:t,index:n}){const{icon:i,iconRight:r,version:l,text:s,...a}=e,o="secondary"===l?"color":"white",c=cn({...i,iconVersion:o}),d=cn({...r,iconVersion:o});return s?m(Be,{className:t,appendLeft:c,appendRight:d,version:l,text:s,...a},n?String(n):""):null}const cn=e=>{if(!e?.icon&&!e?.src)return null;const t=e?.size?.width?`${e.size.width}`:"24";return m(K,{image:e,width:t,height:"24",asSVG:!0})},dn={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text"},mn={L:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4",M:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3",S:"w-1 h-1 min-w-1 min-h-1 mr-2"},hn=u((({className:e="",isDotted:t=!0,children:n,version:i="primary",size:r="M"})=>h("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?m("div",{children:m("div",{className:`rounded-full align-middle inline-block ${dn[i]} ${mn[r]}`})}):null,m("span",{children:n})]}))),un={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},pn={S:"text-l-light",M:"text-h6",L:"text-h5"},gn={S:"ml-2",M:"ml-3",L:"ml-4"},bn=u((e=>{const{className:t="",hasIndent:n,isDotted:i,itemClassName:r="",items:l,listItemSize:s="M",version:a="primary"}=e;return l?.length?m("section",{className:`${un[a]} ${pn[s]} ${t} ${n?gn[s]:""}`,role:"list",children:l.map(((e,t)=>m(hn,{className:`${r} mb-1.5`,isDotted:i,version:a,size:s,children:e},String(t))))}):null})),xn=u((({className:e="",title:t="",buttons:n,image:i,children:r})=>h("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,h("div",{className:"flex grow w-full justify-between",children:[h("div",{className:"flex flex-col justify-between w-full",children:[m("div",{className:"h-full",children:r}),n?m("div",{className:"mt-auto pt-8",children:n}):null]}),i]})]}))),fn={primary:"text-primary-text",secondary:"text-white"},Nn={primary:"text-secondary-text",secondary:"text-white"},yn=u((e=>{const{className:t="",icon:n,label:i,description:r,version:l="primary",benefitsVersion:s="normal"}=e,a="white"===s?"secondary":"primary";return h("div",{className:`flex gap-5 ${r?"items-start":"items-center"} ${t}`,children:[n?m("div",{className:vn(l,s),children:m(K,{className:"w-6 h-6",image:q(n,a),asSVG:!0})}):null,h("div",{className:"gap-0.5",children:[i?m("div",{className:`text-h6 ${fn[l]}`,children:i}):null,r?m("div",{className:`text-m-light ${Nn[l]}`,children:r}):null]})]})}));function vn(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const wn=(e="primary",t="normal")=>({icon:n,label:i,description:r},l)=>m(yn,{icon:n,label:i,description:r,version:e,benefitsVersion:t},String(l)),kn=u((({className:e="",headlineVersion:t="L",benefits:n,benefitsVersion:i="normal",buttons:r,image:l,items:s,version:a="primary",isDotted:o=!0,label:c,...d})=>h("div",{className:`w-full ${e}`,children:[h("div",{children:[c?Sn(c,a):null,m(Gt,{className:"!p-0 max-w-[600px]",bgColorHeadline:a,headlineVersion:t,...d}),h(xn,{buttons:r?.length?m(an,{buttons:r,className:"flex flex-col mt-5 gap-2.5"}):null,children:[n?.filter((e=>e.label))?.length?m("div",{className:"mt-3",children:n.map(wn(a,i))}):null,s?.length?m(bn,{className:"mt-3 text-m",items:s,version:a,isDotted:o}):null]})]}),$n(l)]})));function $n(e){return e?.src?m(K,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const Cn={primary:"text-primary-main border-secondary-hover",secondary:"text-white/80"},Sn=(e,t)=>m("div",{className:`px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${Cn[t]}`,children:e}),Tn=u((e=>{const{className:t="",version:n="primary"}=e;return m("section",{className:`font-sans bg-white px-4 py-6 ${vt[n]} ${t}`,children:m(kn,{...e})})})),_n={primary:{background:"bg-white",title:"text-primary-text",description:"!text-secondary-text text-l-light",iconText:"text-secondary-text",iconBackground:"bg-main-divider",iconConnector:"bg-secondary-light",dot:"bg-secondary-text"},secondary:{background:"bg-primary-main",title:"text-white",description:"!text-white/80 text-l-light",iconText:"text-white",iconBackground:"bg-white/30",iconConnector:"bg-white",dot:"bg-white/80"}},In={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},An={normal:"min-h-[70px]",small:"min-h-12"},jn=u((({className:e,title:t,description:n,showLines:i=!0,steps:r,size:l="normal",version:s="primary"})=>{const a=_n[s];return h("section",{className:`box-border font-sans bg-white px-4 py-6 flex flex-col\n ${a.background} ${a.title} ${e||""}`,children:[t?m(j,{headingType:"h3",className:`text-center ${a.title}`,title:t}):null,n?m("p",{className:`text-m-light text-center ${a.description} ${t?"mt-2":""}`,children:n}):null,r?.length?m("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:m("div",{className:"flex flex-col justify-between gap-x-[101px]",children:r.map(Rn(l,s,i))})}):null]})})),Rn=(e,t,n)=>(i,r,l)=>{const s=l.length-1===r,a="normal"===e?"ml-[34px]":"ml-6",o=_n[t];return m("div",{children:h("div",{className:"flex flex-row text-center relative",children:[h("div",{className:"overflow-hidden flex-shrink-0",children:[Dn(e,t)(i,r),s?null:m("div",{className:`min-h-8 h-full w-0.5 ${n?o.iconConnector:""} ${a}`})]}),h("div",{className:`flex flex-col justify-center h-fit ${An[e]}`,children:[i.label?m("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:i.label}):null,i.description?m("div",{className:`text-s ${o.description} text-left`,children:i.description}):null]})]})},String(r))},Dn=(e,t)=>(n,i)=>{const r=_n[t],l="normal"===e?"38":"27",s="normal"===e?"text-m-title":"text-m-title-xs";return m("div",{className:`${In[e]} ${r.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:m("span",{className:`font-medium flex self-center ${r.title} ${s}`,children:(a=n?.icon,Boolean(a?.icon||a?.src)?m(K,{image:q({...n.icon},t),width:l,height:l,asSVG:!0}):m("span",{children:i+1}))})});var a},Bn={Buttons:({buttons:e})=>e&&e?.length?m("div",{children:e.map((({rounded:e,icon:t,...n},i)=>on({button:{rounded:e,icon:t,...n},buttonClassName:`mt-3 ${i>0&&e?"ml-2.5":""} ${t?"w-12 h-12":""}`,index:i})))}):null,Img:({image:e})=>e?.src?m(K,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>m(bn,{className:"flex flex-col justify-between items-start text-m",version:"gray",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>h("div",{children:[e?m("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?m("div",{className:"text-s text-secondary-text",children:t}):null]})},On=u((({title:e,icon:t})=>h("div",{className:"flex gap-2.5 mb-2",children:[e?m(j,{headingType:"h3",className:"font-medium",title:e}):null,t?m(K,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),Vn=u((({tile:e,...t})=>h("div",{className:"rounded-md border-main-stroke h-full box-border border p-4",children:[m(On,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>h("div",{children:[n>0?m("div",{className:"h-5"}):null,Mn(e,t)]},String(n)))):null]})));function Mn(e,t){if(!e||!e.tableCellType||!(e.tableCellType in Bn))return null;const n=Bn[e.tableCellType];return m(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const Pn=u((({tiles:e,...t})=>e?.length?m(ue,{...t,children:e.map(((e,n)=>m(Vn,{tile:e,...t},String(n))))}):null)),Ln=u((({tiles:e,...t})=>e?.length?m("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>m(Vn,{tile:e,...t},String(n))))}):null)),En=u((({className:e,title:t,description:n,tariffsColumns:i,rowHeaders:r,orientation:l="vertical",...s})=>{const a=Fn(i),o=Hn(r,a);return h("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?m(j,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?m("div",{className:"mb-5 text-center text-m",children:n}):null,m("vertical"===l?Ln:Pn,{tiles:o,...s})]})})),Fn=e=>e?.[0]?.data?e[0].data:[],Hn=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),zn={primary:{background:"bg-white",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"},secondary:{background:"bg-primary-main",icon:"bg-white text-primary-main",title:"text-white",description:"text-white"},"secondary-light":{background:"bg-primary-main/10",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"}},Gn=u((({title:e,description:t,blockVersion:n="primary",iconVersion:i,image:r,className:l="",items:s,isDotted:a=!0})=>{const o=zn[n],c="secondary"===n?"secondary":"gray";return h("section",{className:`font-sans px-4 py-[18px] flex flex-col ${o.background} ${l}`,children:["small"===i?Jn(o.icon):null,"big"===i?Wn(r):null,h("div",{className:"py-0.5",children:[e?m("div",{className:`text-l font-medium mb-1 ${o.title}`,children:e}):null,t?m("div",{className:`text-s ${o.description}`,children:t}):null,s?.length?m(bn,{className:"mt-1 text-m",items:s,isDotted:a,version:c}):null]})]})}));function Jn(e){return m("div",{className:"mb-3",children:m("div",{className:`rounded-full h-4 w-4 text-center text-xs-light ${e}`,children:"i"})})}function Wn(e){return e?.src?m(K,{className:"pb-3 mr-auto",image:e}):null}const Un={Accordion:B,AccordionItem:Z,ComparisonTable:Ge,Footer:Nt,Gallery:wt,Header:Ht,Headline:Gt,LinkDocs:qt,LinkList:Ze,MobileAppTile:at,ProductBlock:Tn,StepsBlock:jn,TariffsTable:En,TextBlock:Gn,Placeholder:nn},Yn=["Header","Footer"],Kn=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function Xn(e=_.inst,t=globalThis){const n=a(new Map);r((()=>e.eventBus.subscribe("intersection",(({block:e,intersection:t})=>{n.current&&n.current.set(e,t)}))),[e]),r((()=>{const i=((e,t=600)=>{let n;const i=(...r)=>{i.dispose(),n=setTimeout((()=>{e(...r)}),t)};return i.dispose=()=>{n&&clearTimeout(n)},i})((()=>{if(!(globalThis.scrollY>3*globalThis.innerHeight/4))return void e.reset();const t=function(e){const t=e.filter((([e])=>!Yn.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[n]=t.length>0?ce(Kn)(t):[];return n}([...n.current||[]]);t?.anchor?e.replace(t.anchor):t||e.reset()}),100);return t.addEventListener("scroll",i),()=>{i.dispose(),t.removeEventListener("scroll",i)}}),[e,t])}const qn=d();const Qn=u((({className:e,onClick:t,ariaLabel:n})=>m("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:Zn()}))),Zn=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[m("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"}),m("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"})]})},ei=u((({className:e=""})=>{const t=function(e){const[t,n]=i(0);return r((()=>{(async()=>{const[t]=await qn.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{n(await qn.like(e))}),[e]),dislike:l((async()=>{n(await qn.dislike(e))}),[e])}}(ve().pathname);return h("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:[m(Qn,{onClick:ye(t.like),ariaLabel:"Поставить отметку «лайк»"}),m(Qn,{onClick:ye(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),m("span",{className:"select-none",children:t.likeCount})]})})),ti=u((e=>{const{className:t="",blocksRegistry:n,blockDecorator:i,data:r={}}=e,{style:l,blocks:s,slots:a,likeControl:o,colorPalette:c="pc"}=r,d={key:"",page:r,blocksRegistry:n,blockDecorator:i,parent:r};return Xn(),h("section",{className:`relative ${g(l)} ${t}`,"data-theme":c,children:[a?.header?m("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:v(a?.header,{...d,slotName:"header"})}):null,h("div",{className:"container grid grid-cols-12 gap-1",children:[v(s,d),a?.footer?v(a?.footer,{...d,slotName:"footer"}):null]}),o?m("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:m(ei,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null]})}));ti.childrenTypes=[],ti.slots=()=>["header","footer"];e.Blocks=Un,e.ContentPage=ti,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=d,e.handlerDecorator=ye,e.joinList=function(e){return t=>t.reduce(((t,n,i)=>t.length?t.concat({...e,key:i},n):[n]),[])},e.packageVersion="0.6.47",e.projectSettings=o,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=Ne,e.useRouter=ve,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -1,4 +1,4 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
1
+ import type { BlockVersionWithGray } from '../../model/BlockVersion';
2
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
3
  import type { LinkCommonProps } from '../../model/LinkProps';
4
4
  import type { Picture } from '../../model/Picture';
@@ -40,5 +40,5 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
40
40
  * }
41
41
  */
42
42
  button?: ButtonProps;
43
- version?: BlockVersion;
43
+ version?: BlockVersionWithGray;
44
44
  }
@@ -1,15 +1,15 @@
1
- import type { AlignType } from '../../model/AlignType';
2
1
  import type { BlockVersionWithTransparent } from '../../model/BlockVersion';
3
2
  import type { HeadlineProps } from '../../model/HeadlineType';
4
3
  import type { Picture } from '../../model/Picture';
5
4
  import type { HeadingTagType } from '../../ui-kit/Heading/HeadingProps';
5
+ import type { TextAlign } from '../../ui-kit/Text/TextProps';
6
6
  /**
7
7
  * @title Заголовок
8
8
  */
9
9
  export declare type HeadlineContent = HeadlineProps & {
10
10
  /** @title Изображение (моб.) */
11
11
  image?: Picture;
12
- align?: AlignType;
12
+ align?: TextAlign;
13
13
  bgColorHeadline?: BlockVersionWithTransparent;
14
14
  /** @hidden */
15
15
  as?: HeadingTagType;
@@ -0,0 +1,7 @@
1
+ import type { BlockVersionWithTransparent } from '../../model/BlockVersion';
2
+ import type { TextColor } from '../../ui-kit/Text/TextProps';
3
+ export declare const headlineStyles: Record<BlockVersionWithTransparent, {
4
+ wrapper: string;
5
+ titleColor: TextColor;
6
+ descriptionColor?: TextColor;
7
+ }>;
@@ -0,0 +1,9 @@
1
+ import type { HeadlineSmallVersion, HeadlineVersion } from '../../model/HeadlineType';
2
+ import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
3
+ import type { TextSize, TitleSize } from '../../ui-kit/Text/TextProps';
4
+ export declare const headlineVersionStyles: Record<HeadlineVersion, {
5
+ wrapper: string;
6
+ title: HeadingCommonProps;
7
+ descriptionSize: TextSize | TitleSize;
8
+ }>;
9
+ export declare const HEADLINE_SMALL_VERSION: Record<HeadlineSmallVersion, string>;
@@ -0,0 +1,5 @@
1
+ import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
2
+ import type { HorizontalLayoutContent } from './HorizontalLayoutContent';
3
+ export interface HorizontalLayoutProps extends HorizontalLayoutContent, UniBlockProps {
4
+ }
5
+ export declare const HorizontalLayout: JSXBlock<HorizontalLayoutProps>;
@@ -0,0 +1,15 @@
1
+ import type { BlockVersionWithTransparent } from '../../model/BlockVersion';
2
+ /**
3
+ * @title Отсуп между компонентами
4
+ * @enumNames ["Самый большой", "Очень большой", "Большой", "Средний", "Маленький", "Самый маленький", "Без отступа"]
5
+ */
6
+ export declare type GapVersion = 'XXL' | 'XL' | 'L' | 'M' | 'S' | 'XS' | '';
7
+ /**
8
+ * @title Горизонтальный компоновщик
9
+ */
10
+ export interface HorizontalLayoutContent {
11
+ version?: BlockVersionWithTransparent;
12
+ gap?: GapVersion;
13
+ /** @title Внутренний отступ компоновщика */
14
+ isPadding?: boolean;
15
+ }
@@ -1,8 +1,8 @@
1
+ import type { HeadlineCommonProps } from '../../model/HeadlineType';
1
2
  import type { LinkProps } from '../../model/LinkProps';
2
- import type { AlignType } from '../../model/AlignType';
3
3
  import type { ListOrientation } from '../../model/ListOrientation';
4
4
  import type { Picture } from '../../model/Picture';
5
- import type { HeadlineCommonProps } from '../../model/HeadlineType';
5
+ import type { TextAlign } from '../../ui-kit/Text/TextProps';
6
6
  /**
7
7
  * @title Отображение списка
8
8
  * @enumNames [
@@ -39,5 +39,5 @@ export declare type LinkDocsContent = HeadlineCommonProps & {
39
39
  /** @title Отображать элементы в моб. версии (прокрутка shift+mouseScroll) */
40
40
  orientation?: ListOrientation;
41
41
  /** @title Рамка элементов (моб.) */ hasBorder?: boolean;
42
- align?: AlignType;
42
+ align?: TextAlign;
43
43
  };
@@ -2,7 +2,7 @@ import type { BlockVersion } from '../../model/BlockVersion';
2
2
  import type { DescriptionProps, HeadlineProps, LabelProps } from '../../model/HeadlineType';
3
3
  import type { Picture } from '../../model/Picture';
4
4
  import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
5
- import type { MarkdownTextProps } from '../../ui-kit/MarkdownText/MarkdownTextProps';
5
+ import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
6
6
  /**
7
7
  * @title Стандартный
8
8
  */
@@ -13,9 +13,9 @@ declare type TextBenefit = DescriptionProps & LabelProps & {
13
13
  /**
14
14
  * @title Форматированный текст
15
15
  */
16
- declare type MarkdownTextContent = MarkdownTextProps & {
17
- /** @default md */
18
- type: 'md';
16
+ declare type RichText = RichTextProps & {
17
+ /** @default rte */
18
+ type: 'rte';
19
19
  };
20
20
  /**
21
21
  * @title Преимущество
@@ -23,7 +23,7 @@ declare type MarkdownTextContent = MarkdownTextProps & {
23
23
  * "type": "default"
24
24
  * }
25
25
  */
26
- export declare type Benefit = TextBenefit | MarkdownTextContent;
26
+ export declare type Benefit = TextBenefit | RichText;
27
27
  /**
28
28
  * @title Продуктовая плитка
29
29
  */
@@ -0,0 +1,6 @@
1
+ import type { UniBlockProps } from '../../model/JSXBlock';
2
+ import type { RichTextBlockContent } from './RichTextBlockContent';
3
+ interface RichTextBlockProps extends RichTextBlockContent, UniBlockProps {
4
+ }
5
+ export declare const RichTextBlock: import("@redneckz/uni-jsx").UNIComponent<RichTextBlockProps, any, any>;
6
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
2
+ /**
3
+ * @title Форматированный текст
4
+ */
5
+ export declare type RichTextBlockContent = RichTextProps;
@@ -0,0 +1 @@
1
+ export declare const replaceHeadingTags: (html: string) => string;
@@ -0,0 +1 @@
1
+ export declare function transformHTML(html: string | null | undefined): Promise<string>;
@@ -1,2 +1,3 @@
1
+ import type { TextAlign } from '../ui-kit/Text/TextProps';
1
2
  import type { AlignType } from './AlignType';
2
- export declare const AlignText: Record<AlignType, string>;
3
+ export declare const AlignText: Record<AlignType, TextAlign>;
@@ -1,3 +1,4 @@
1
+ import { GapVersion } from '../components/HorizontalLayout/HorizontalLayoutContent';
1
2
  /**
2
3
  * @title Цвет блока
3
4
  * @enumNames ["Основная", "Второстепенная"]
@@ -8,6 +9,14 @@ export declare type BlockVersion = 'primary' | 'secondary';
8
9
  * @enumNames ["Прозрачная", "Основная", "Второстепенная"]
9
10
  */
10
11
  export declare type BlockVersionWithTransparent = 'transparent' | 'primary' | 'secondary';
12
+ /**
13
+ * @title Цвет блока
14
+ * @enumNames [ "Основная", "Второстепенная", "Серая"]
15
+ */
16
+ export declare type BlockVersionWithGray = 'primary' | 'secondary' | 'gray';
11
17
  export declare const VersionStyleMap: Record<BlockVersion, string>;
12
18
  export declare const VersionAdditionalStyleMap: Record<BlockVersion, string>;
13
19
  export declare const VersionWithTransparentStyleMap: Record<BlockVersionWithTransparent, string>;
20
+ export declare const VersionWithGrayStyleMap: Record<BlockVersionWithGray, string>;
21
+ export declare const GapStyleMap: Record<GapVersion, string>;
22
+ export declare const LayoutBackgroundStyleMap: Record<BlockVersionWithTransparent, string>;
@@ -1,2 +1,2 @@
1
- import type { Image, ImageProps } from './ImgProps';
2
- export declare const Img: import("@redneckz/uni-jsx").UNIComponent<ImageProps<Image>, any, any>;
1
+ import type { ImageProps } from './ImgProps';
2
+ export declare const Img: import("@redneckz/uni-jsx").UNIComponent<ImageProps, any, any>;
@@ -1,4 +1,4 @@
1
- import type { ImgSource, Picture } from '../../model/Picture';
1
+ import type { ImgSource } from '../../model/Picture';
2
2
  import type { ImageProps } from './ImgProps';
3
- export declare const ImgAsPicture: import("@redneckz/uni-jsx").UNIComponent<ImageProps<Picture>, any, any>;
3
+ export declare const ImgAsPicture: import("@redneckz/uni-jsx").UNIComponent<ImageProps, any, any>;
4
4
  export declare function formatToMimeType(format: ImgSource['format']): string | undefined;
@@ -1,2 +1,2 @@
1
- import type { Image, ImageProps } from './ImgProps';
2
- export declare const ImgInner: import("@redneckz/uni-jsx").UNIComponent<ImageProps<Image>, any, any>;
1
+ import type { ImageProps } from './ImgProps';
2
+ export declare const ImgInner: import("@redneckz/uni-jsx").UNIComponent<ImageProps, any, any>;
@@ -1,11 +1,11 @@
1
1
  import type { Picture } from '../../model/Picture';
2
- import type { IconCompatibilityFields, IconName } from '../Icon/IconProps';
3
- export declare type Image = Picture | IconName;
4
- export interface ImageContent<T = Picture> {
5
- image?: T;
2
+ import type { IconCompatibilityFields } from '../Icon/IconProps';
3
+ export interface ImageContent {
4
+ image?: Picture;
6
5
  }
7
- export interface ImageProps<T> extends ImageContent<T>, IconCompatibilityFields {
6
+ export interface ImageProps extends ImageContent, IconCompatibilityFields {
8
7
  className?: string;
9
8
  imageClassName?: string;
10
9
  isMobile?: boolean;
10
+ pathPrefix?: string;
11
11
  }
@@ -0,0 +1,2 @@
1
+ import type { RichTextProps } from './RichTextProps';
2
+ export declare const RichText: import("@redneckz/uni-jsx").UNIComponent<RichTextProps, any, any>;
@@ -0,0 +1,6 @@
1
+ declare type HTML = string;
2
+ export interface RichTextProps {
3
+ /** @title Текст */
4
+ __html?: HTML;
5
+ }
6
+ export {};
@@ -9,7 +9,7 @@ export declare type TitleSize = '' | 'text-h6' | 'text-h5' | 'text-h5-light' | '
9
9
  /**
10
10
  * @title Цвет текста
11
11
  */
12
- export declare type TextColor = '' | 'text-main' | 'text-primary-text' | 'text-primary-main' | 'text-secondary-text' | 'text-secondary-light' | 'text-error' | 'text-white' | 'text-green';
12
+ export declare type TextColor = '' | 'text-main' | 'text-primary-text' | 'text-primary-main' | 'text-secondary-text' | 'text-secondary-light' | 'text-error' | 'text-white' | 'text-white/80' | 'text-green';
13
13
  /**
14
14
  * @title Выравнивание
15
15
  * @enumNames [
@@ -8,7 +8,7 @@ const Img_1 = require("../../ui-kit/Img/Img");
8
8
  const Headline_1 = require("../Headline/Headline");
9
9
  exports.Bonus = (0, uni_jsx_1.JSX)((props) => {
10
10
  const { className = '', title, description, bonusItems, ...rest } = props;
11
- return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center", ...rest }), (0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
11
+ return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), (0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
12
12
  ? bonusItems.map((_, i) => {
13
13
  return ((0, jsx_runtime_1.jsx)("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between w-full", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col justify-between mr-4", children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "text-h4", children: _.title }), (0, jsx_runtime_1.jsx)("div", { className: "text-xl-light mt-2 max-w-[488px]", children: _.description })] }), _?.buttons?.length ? (0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { buttons: _?.buttons }) : null] }), _.bonusItemContent?.bonusType
14
14
  ? renderBonusItemContent(_.bonusItemContent)
@@ -1 +1 @@
1
- {"version":3,"file":"Bonus.js","sourceRoot":"","sources":["../../../src/components/Bonus/Bonus.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,qEAAkE;AAClE,8CAA2C;AAC3C,mDAAgD;AAKnC,QAAA,KAAK,GAAG,IAAA,aAAG,EAAa,CAAC,KAAK,EAAE,EAAE;IAC7C,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE1E,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAE,gCAAgC,SAAS,EAAE,KAAM,IAAI,YAC5E,iCAAK,SAAS,EAAC,WAAW,aACxB,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,KACV,IAAI,GACR,EACF,gCAAK,SAAS,EAAC,4BAA4B,YACxC,UAAU,EAAE,MAAM;wBACjB,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;4BACtB,OAAO,CACL,gCAEE,SAAS,EAAC,qFAAqF,YAE/F,iCAAK,SAAS,EAAC,6BAA6B,aAC1C,iCAAK,SAAS,EAAC,oCAAoC,aACjD,4CACE,gCAAK,SAAS,EAAC,SAAS,YAAE,CAAC,CAAC,KAAK,GAAO,EACxC,gCAAK,SAAS,EAAC,kCAAkC,YAAE,CAAC,CAAC,WAAW,GAAO,IACnE,EACL,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,uBAAC,6BAAa,IAAC,OAAO,EAAE,CAAC,EAAE,OAAO,GAAI,CAAC,CAAC,CAAC,IAAI,IAC/D,EACL,CAAC,CAAC,gBAAgB,EAAE,SAAS;4CAC5B,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,gBAAgB,CAAC;4CAC5C,CAAC,CAAC,IAAI,IACJ,IAdD,MAAM,CAAC,CAAC,CAAC,CAeV,CACP,CAAC;wBACJ,CAAC,CAAC;wBACJ,CAAC,CAAC,IAAI,GACJ,IACF,GACO,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,sBAAsB,GAAG,CAAC,gBAA+C,EAAE,EAAE,CAAC,CAClF,0CACG,gBAAgB,CAAC,SAAS,KAAK,OAAO;QACrC,CAAC,CAAC,gBAAgB,CAAC,gBAAiC,CAAC;QACrD,CAAC,CAAC,gBAAgB,CAAC,gBAAiC,CAAC,GACnD,CACP,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,CAAgB,EAAE,EAAE,CAAC,CAC7C,iCAAK,SAAS,EAAC,yDAAyD,aACrE,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CACd,iCAAM,SAAS,EAAC,qGAAqG,YAClH,CAAC,CAAC,UAAU,GACR,CACR,CAAC,CAAC,CAAC,IAAI,EACP,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CACb,iCAAM,SAAS,EAAC,0DAA0D,YACvE,CAAC,CAAC,SAAS,GACP,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,CAAgB,EAAE,EAAE,CAC5C,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAE,qCAAqC,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC"}
1
+ {"version":3,"file":"Bonus.js","sourceRoot":"","sources":["../../../src/components/Bonus/Bonus.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,qEAAkE;AAClE,8CAA2C;AAC3C,mDAAgD;AAKnC,QAAA,KAAK,GAAG,IAAA,aAAG,EAAa,CAAC,KAAK,EAAE,EAAE;IAC7C,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE1E,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAE,gCAAgC,SAAS,EAAE,KAAM,IAAI,YAC5E,iCAAK,SAAS,EAAC,WAAW,aACxB,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,KACf,IAAI,GACR,EACF,gCAAK,SAAS,EAAC,4BAA4B,YACxC,UAAU,EAAE,MAAM;wBACjB,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;4BACtB,OAAO,CACL,gCAEE,SAAS,EAAC,qFAAqF,YAE/F,iCAAK,SAAS,EAAC,6BAA6B,aAC1C,iCAAK,SAAS,EAAC,oCAAoC,aACjD,4CACE,gCAAK,SAAS,EAAC,SAAS,YAAE,CAAC,CAAC,KAAK,GAAO,EACxC,gCAAK,SAAS,EAAC,kCAAkC,YAAE,CAAC,CAAC,WAAW,GAAO,IACnE,EACL,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,uBAAC,6BAAa,IAAC,OAAO,EAAE,CAAC,EAAE,OAAO,GAAI,CAAC,CAAC,CAAC,IAAI,IAC/D,EACL,CAAC,CAAC,gBAAgB,EAAE,SAAS;4CAC5B,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,gBAAgB,CAAC;4CAC5C,CAAC,CAAC,IAAI,IACJ,IAdD,MAAM,CAAC,CAAC,CAAC,CAeV,CACP,CAAC;wBACJ,CAAC,CAAC;wBACJ,CAAC,CAAC,IAAI,GACJ,IACF,GACO,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,sBAAsB,GAAG,CAAC,gBAA+C,EAAE,EAAE,CAAC,CAClF,0CACG,gBAAgB,CAAC,SAAS,KAAK,OAAO;QACrC,CAAC,CAAC,gBAAgB,CAAC,gBAAiC,CAAC;QACrD,CAAC,CAAC,gBAAgB,CAAC,gBAAiC,CAAC,GACnD,CACP,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,CAAgB,EAAE,EAAE,CAAC,CAC7C,iCAAK,SAAS,EAAC,yDAAyD,aACrE,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CACd,iCAAM,SAAS,EAAC,qGAAqG,YAClH,CAAC,CAAC,UAAU,GACR,CACR,CAAC,CAAC,CAAC,IAAI,EACP,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CACb,iCAAM,SAAS,EAAC,0DAA0D,YACvE,CAAC,CAAC,SAAS,GACP,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,CAAgB,EAAE,EAAE,CAC5C,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAE,qCAAqC,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC"}
@@ -6,7 +6,7 @@ const AlignText_1 = require("../../model/AlignText");
6
6
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
7
  const Img_1 = require("../../ui-kit/Img/Img");
8
8
  const Headline_1 = require("../Headline/Headline");
9
- exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M", align: "center", ...rest }), bonusBenefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `grid gap-1 ${AlignText_1.AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
9
+ exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M", ...rest }), bonusBenefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `grid gap-1 ${AlignText_1.AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
10
10
  const renderBonusBenefit = ({ icon, label, description }, i) => {
11
11
  return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center text-h6", children: [description ? (0, jsx_runtime_1.jsx)("span", { children: description }) : null, icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, height: "180", width: "auto", className: "h-[180px] w-auto" }) : null, (0, jsx_runtime_1.jsx)("div", { children: label ? (0, jsx_runtime_1.jsx)("span", { children: label }) : null })] }, String(i)));
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,aAAa,EACb,aAAa,GAAG,QAAQ,EACxB,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,GAAG,EAClB,QAAQ,EACR,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,uEAAuE,SAAS,EAAE,KACzF,IAAI,aAER,uBAAC,mBAAQ,IACP,SAAS,EAAC,WAAW,EACrB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,QAAQ,EACrB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,KACV,IAAI,GACR,EACD,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,gCACE,SAAS,EAAE,cAAc,qBAAS,CAAC,aAAa,CAAC,IAAI,oBAAoB,CAAC,YAAY,CAAC,EAAE,YAExF,aAAa,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAgB,EAAE,CAAS,EAAE,EAAE;IACnF,OAAO,CACL,iCAAqB,SAAS,EAAC,oCAAoC,aAChE,WAAW,CAAC,CAAC,CAAC,2CAAO,WAAW,GAAQ,CAAC,CAAC,CAAC,IAAI,EAC/C,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,SAAS,EAAC,kBAAkB,GAAG,CAAC,CAAC,CAAC,IAAI,EAC1F,0CAAM,KAAK,CAAC,CAAC,CAAC,2CAAO,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,GAAO,KAHxC,MAAM,CAAC,CAAC,CAAC,CAIb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,QAAsB,EAAE,EAAE;IACtD,QAAQ,QAAQ,EAAE;QAChB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB;YACE,OAAO,aAAa,CAAC;KACxB;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,aAAa,EACb,aAAa,GAAG,QAAQ,EACxB,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,GAAG,EAClB,QAAQ,EACR,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,uEAAuE,SAAS,EAAE,KACzF,IAAI,aAER,uBAAC,mBAAQ,IACP,SAAS,EAAC,WAAW,EACrB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,QAAQ,EACrB,eAAe,EAAC,GAAG,KACf,IAAI,GACR,EACD,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,gCACE,SAAS,EAAE,cAAc,qBAAS,CAAC,aAAa,CAAC,IAAI,oBAAoB,CAAC,YAAY,CAAC,EAAE,YAExF,aAAa,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAgB,EAAE,CAAS,EAAE,EAAE;IACnF,OAAO,CACL,iCAAqB,SAAS,EAAC,oCAAoC,aAChE,WAAW,CAAC,CAAC,CAAC,2CAAO,WAAW,GAAQ,CAAC,CAAC,CAAC,IAAI,EAC/C,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,SAAS,EAAC,kBAAkB,GAAG,CAAC,CAAC,CAAC,IAAI,EAC1F,0CAAM,KAAK,CAAC,CAAC,CAAC,2CAAO,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,GAAO,KAHxC,MAAM,CAAC,CAAC,CAAC,CAIb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,QAAsB,EAAE,EAAE;IACtD,QAAQ,QAAQ,EAAE;QAChB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB;YACE,OAAO,aAAa,CAAC;KACxB;AACH,CAAC,CAAC"}
@@ -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, { className: `w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider`, image: icon.icon, asSVG: true })) : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon.icon }) : null, (0, jsx_runtime_1.jsx)("span", { className: "text-xl-light", children: text })] }, key));
14
+ return ((0, jsx_runtime_1.jsxs)("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider", asSVG: true })) : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, (0, jsx_runtime_1.jsx)("span", { className: "text-xl-light", children: text })] }, key));
15
15
  };
16
16
  //# sourceMappingURL=BusinessCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BusinessCard.js","sourceRoot":"","sources":["../../../src/components/BusinessBlock/BusinessCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qEAAiE;AACjE,0DAAuD;AACvD,8CAA2C;AAG9B,QAAA,YAAY,GAAG,IAAA,aAAG,EAAoB,CAAC,KAAK,EAAE,EAAE;IAC3D,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAElD,OAAO,CACL,iCAAK,SAAS,EAAC,sCAAsC,aAClD,KAAK,CAAC,CAAC,CAAC,CACP,iCAAK,SAAS,EAAC,qBAAqB,aACjC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC1D,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,KAAK,EAAE,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IAC7C,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,EAC1E,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,yCAAK,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,GAAM,CAAC,CAAC,CAAC,IAAI,EACvF,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,IAAA,4BAAY,EAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,IACpE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,IAA2B,EAAE,GAAW,EAAE,EAAE;IAC9D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAE5B,OAAO,CACL,gCAAc,SAAS,EAAC,0CAA0C,aAC/D,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CACZ,uBAAC,SAAG,IACF,SAAS,EAAE,qDAAqD,EAChE,KAAK,EAAE,IAAI,CAAC,IAAI,EAChB,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,CAAC,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EAC7C,iCAAM,SAAS,EAAC,eAAe,YAAE,IAAI,GAAQ,KATtC,GAAG,CAUP,CACN,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"BusinessCard.js","sourceRoot":"","sources":["../../../src/components/BusinessBlock/BusinessCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qEAAiE;AACjE,0DAAuD;AACvD,8CAA2C;AAG9B,QAAA,YAAY,GAAG,IAAA,aAAG,EAAoB,CAAC,KAAK,EAAE,EAAE;IAC3D,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAElD,OAAO,CACL,iCAAK,SAAS,EAAC,sCAAsC,aAClD,KAAK,CAAC,CAAC,CAAC,CACP,iCAAK,SAAS,EAAC,qBAAqB,aACjC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC1D,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,KAAK,EAAE,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IAC7C,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,EAC1E,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,yCAAK,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,GAAM,CAAC,CAAC,CAAC,IAAI,EACvF,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,IAAA,4BAAY,EAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,IACpE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,IAA2B,EAAE,GAAW,EAAE,EAAE;IAC9D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAE5B,OAAO,CACL,gCAAc,SAAS,EAAC,0CAA0C,aAC/D,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CACZ,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,SAAS,EAAC,qDAAqD,EAAC,KAAK,SAAG,CAC3F,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACxC,iCAAM,SAAS,EAAC,eAAe,YAAE,IAAI,GAAQ,KALtC,GAAG,CAMP,CACN,CAAC;AACJ,CAAC,CAAC"}