@redneckz/wildless-cms-uni-blocks 0.5.9 → 0.5.11

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 (1485) hide show
  1. package/bin/migration-scripts/0.4.5.js +1 -1
  2. package/bin/migration-scripts/0.5.10.js +36 -0
  3. package/bin/utils.js +0 -2
  4. package/bundle/blocks.schema.json +1 -1
  5. package/bundle/bundle.umd.js +241 -141
  6. package/bundle/bundle.umd.min.js +1 -1
  7. package/cosmos-static/icons/CardTickIcon.svg +1 -1
  8. package/cosmos-static/icons/DocDownloadIcon.svg +1 -1
  9. package/cosmos-static/icons/DoneSimpleIcon.svg +1 -1
  10. package/dist/EventBus/EventMap.d.ts +2 -1
  11. package/dist/api/DaDataAPI.d.ts +12 -0
  12. package/dist/api/DaDataAPI.js.map +1 -1
  13. package/dist/components/Accordion/Accordion.d.ts +1 -1
  14. package/dist/components/Accordion/Accordion.mobile.d.ts +1 -1
  15. package/dist/components/Accordion/AccordionItem.d.ts +1 -1
  16. package/dist/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  17. package/dist/components/BaseTile/BaseTile.d.ts +1 -1
  18. package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  19. package/dist/components/Bonus/Bonus.d.ts +1 -1
  20. package/dist/components/Bonus/Bonus.js +11 -2
  21. package/dist/components/Bonus/Bonus.js.map +1 -1
  22. package/dist/components/Bonus/BonusContent.d.ts +30 -2
  23. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  24. package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  25. package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  26. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  27. package/dist/components/Calculator/Calculator.d.ts +1 -1
  28. package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  29. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  30. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  31. package/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  32. package/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  33. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  34. package/dist/components/Calculator/renderCalculatorBlock.js +1 -1
  35. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  36. package/dist/components/CardTransfer/CardTransfer.d.ts +1 -1
  37. package/dist/components/CardTransfer/CardTransfer.js +9 -10
  38. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  39. package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
  40. package/dist/components/Catalog/Catalog.d.ts +1 -1
  41. package/dist/components/Catalog/CatalogCard.d.ts +1 -1
  42. package/dist/components/Catalog/CatalogCard.js +1 -1
  43. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  44. package/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  45. package/dist/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  46. package/dist/components/ComparisonTable/TableColumn.d.ts +2 -2
  47. package/dist/components/ComparisonTable/TableColumn.js +7 -2
  48. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  49. package/dist/components/ContentPage/ContentPage.d.ts +5 -24
  50. package/dist/components/ContentPage/ContentPage.js +17 -19
  51. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  52. package/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
  53. package/dist/components/ContentPage/computeAPIFallback.d.ts +2 -2
  54. package/dist/components/ContentPage/filterBlocks.d.ts +5 -4
  55. package/dist/components/ContentPage/filterBlocks.mobile.d.ts +5 -4
  56. package/dist/components/ContentPage/isBlockInRegistry.d.ts +1 -1
  57. package/dist/components/ContentPage/normalizeBlock.d.ts +4 -3
  58. package/dist/components/ContentPage/normalizeBlock.mobile.d.ts +1 -1
  59. package/dist/components/ContentPage/normalizePage.d.ts +2 -2
  60. package/dist/components/ContentPage/renderBlock.d.ts +13 -0
  61. package/dist/components/ContentPage/renderBlock.js +28 -0
  62. package/dist/components/ContentPage/renderBlock.js.map +1 -0
  63. package/dist/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  64. package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  65. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  66. package/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  67. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  68. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  69. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  70. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  71. package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  72. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  73. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  74. package/dist/components/ExchangeRateTile/renderInput.js +2 -2
  75. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  76. package/dist/components/Footer/Contacts.d.ts +1 -1
  77. package/dist/components/Footer/Footer.d.ts +1 -1
  78. package/dist/components/Footer/Footer.mobile.d.ts +1 -1
  79. package/dist/components/Footer/FooterLink.d.ts +1 -1
  80. package/dist/components/Footer/HorizontalNavigation.d.ts +2 -2
  81. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  82. package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +2 -2
  83. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  84. package/dist/components/Footer/MediaButton.js +1 -1
  85. package/dist/components/Footer/MediaButton.js.map +1 -1
  86. package/dist/components/Footer/Sitemap.d.ts +2 -2
  87. package/dist/components/Footer/Sitemap.js.map +1 -1
  88. package/dist/components/Footer/SocialMedia.d.ts +1 -1
  89. package/dist/components/Footer/SocialMedia.mobile.d.ts +1 -1
  90. package/dist/components/Gallery/GalleryInner.d.ts +1 -1
  91. package/dist/components/Gallery/GalleryProps.d.ts +1 -1
  92. package/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
  93. package/dist/components/GracePeriod/GracePeriod.js +3 -3
  94. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  95. package/dist/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  96. package/dist/components/Header/DropdownMenu.d.ts +1 -1
  97. package/dist/components/Header/Header.d.ts +1 -1
  98. package/dist/components/Header/Header.fallback.d.ts +1 -1
  99. package/dist/components/Header/Header.js.map +1 -1
  100. package/dist/components/Header/Header.mobile.d.ts +1 -1
  101. package/dist/components/Header/Header.mobile.js.map +1 -1
  102. package/dist/components/Headline/Headline.d.ts +1 -1
  103. package/dist/components/Headline/Headline.js +1 -1
  104. package/dist/components/Headline/Headline.js.map +1 -1
  105. package/dist/components/Headline/Headline.mobile.d.ts +1 -1
  106. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  107. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  108. package/dist/components/LikeControl/LikeControl.d.ts +1 -1
  109. package/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
  110. package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  111. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  112. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  113. package/dist/components/LinkList/LinkList.d.ts +1 -1
  114. package/dist/components/LinkList/LinkList.js.map +1 -1
  115. package/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
  116. package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  117. package/dist/components/MobileAppTile/MobileAppTile.js +3 -3
  118. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  119. package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  120. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
  121. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  122. package/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
  123. package/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  124. package/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  125. package/dist/components/PictureText/PictureText.d.ts +1 -1
  126. package/dist/components/Placeholder/Placeholder.d.ts +1 -1
  127. package/dist/components/Placeholder/Placeholder.js +1 -1
  128. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  129. package/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
  130. package/dist/components/ProductBlock/ProductBlock.js +1 -1
  131. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  132. package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  133. package/dist/components/ProductBlock/ProductBlock.mobile.js +1 -1
  134. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  135. package/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  136. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  137. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  138. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  139. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  140. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  141. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  142. package/dist/components/ProductGallery/ProductGallery.js +10 -10
  143. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  144. package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  145. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  146. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  147. package/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
  148. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  149. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
  150. package/dist/components/ProductTile/ProductTile.d.ts +1 -1
  151. package/dist/components/ProductTile/ProductTile.js +1 -1
  152. package/dist/components/PromoTile/PromoTile.d.ts +1 -1
  153. package/dist/components/PromoTile/PromoTile.js +1 -1
  154. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  155. package/dist/components/Recommendation/Recommendation.d.ts +1 -1
  156. package/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
  157. package/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  158. package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  159. package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  160. package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  161. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  162. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  163. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  164. package/dist/components/SafeDepositRental/WrapperSelect.js +6 -3
  165. package/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  166. package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  167. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  168. package/dist/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  169. package/dist/components/StepsBlock/StepsBlock.mobile.js +5 -1
  170. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  171. package/dist/components/Tabs/Tabs.d.ts +5 -1
  172. package/dist/components/Tabs/Tabs.js +13 -3
  173. package/dist/components/Tabs/Tabs.js.map +1 -1
  174. package/dist/components/Tabs/TabsContent.d.ts +2 -0
  175. package/dist/components/Tabs/renderLinkTab.d.ts +3 -2
  176. package/dist/components/Tabs/renderLinkTab.js +4 -1
  177. package/dist/components/Tabs/renderLinkTab.js.map +1 -1
  178. package/dist/components/Tabs/renderTab.d.ts +1 -1
  179. package/dist/components/Tabs/renderTab.js +12 -2
  180. package/dist/components/Tabs/renderTab.js.map +1 -1
  181. package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  182. package/dist/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  183. package/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  184. package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
  185. package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  186. package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  187. package/dist/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
  188. package/dist/components/TextBlock/TextBlock.d.ts +1 -1
  189. package/dist/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  190. package/dist/components/Tile/Tile.d.ts +1 -1
  191. package/dist/content-page-repository/ContentPageRepository.d.ts +1 -1
  192. package/dist/content-page-repository/transformContentPage.d.ts +1 -1
  193. package/dist/icons/IconName.d.ts +94 -2
  194. package/dist/icons/IconName.js +6 -3
  195. package/dist/icons/IconName.js.map +1 -1
  196. package/dist/model/BlockDecorator.d.ts +14 -0
  197. package/dist/model/BlockDecorator.js +4 -0
  198. package/dist/model/BlockDecorator.js.map +1 -0
  199. package/dist/model/BlocksRegistry.d.ts +5 -0
  200. package/dist/{types.js → model/BlocksRegistry.js} +1 -1
  201. package/dist/model/BlocksRegistry.js.map +1 -0
  202. package/dist/{types.d.ts → model/ContentPageDef.d.ts} +5 -20
  203. package/dist/{components/BlockContent.js → model/ContentPageDef.js} +1 -1
  204. package/dist/model/ContentPageDef.js.map +1 -0
  205. package/dist/{types → model}/Fallback.d.ts +0 -0
  206. package/dist/{types → model}/Fallback.js +0 -0
  207. package/dist/{types → model}/Fallback.js.map +1 -1
  208. package/dist/react/IntersectionObserverTag.js +7 -3
  209. package/dist/react/IntersectionObserverTag.js.map +1 -1
  210. package/dist/services/sitemap/useSitemap.d.ts +1 -1
  211. package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
  212. package/dist/ui-kit/BlockWrapper.d.ts +1 -1
  213. package/dist/ui-kit/BlockWrapper.js +34 -12
  214. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  215. package/dist/ui-kit/Button/Button.mobile.js +4 -1
  216. package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
  217. package/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
  218. package/dist/ui-kit/Button/buttonClassNameConstants.js +1 -1
  219. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  220. package/dist/ui-kit/CurrencyInput/CurrencyInput.js +11 -6
  221. package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  222. package/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +2 -7
  223. package/dist/ui-kit/CurrencyInput/adjustValue .d.ts +1 -0
  224. package/dist/ui-kit/CurrencyInput/adjustValue .js +15 -0
  225. package/dist/ui-kit/CurrencyInput/adjustValue .js.map +1 -0
  226. package/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
  227. package/dist/ui-kit/Icon/Icon.js +11 -3
  228. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  229. package/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  230. package/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  231. package/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  232. package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  233. package/dist/ui-kit/Input/Input.d.ts +1 -1
  234. package/dist/ui-kit/Input/Input.js +7 -4
  235. package/dist/ui-kit/Input/Input.js.map +1 -1
  236. package/dist/ui-kit/Input/InputProps.d.ts +6 -3
  237. package/dist/ui-kit/Logo/Logo.d.ts +1 -1
  238. package/dist/ui-kit/Logo/Logo.js +2 -2
  239. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  240. package/dist/ui-kit/Logo/Logo.mobile.d.ts +1 -1
  241. package/dist/ui-kit/Logo/Logo.mobile.js +2 -2
  242. package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -1
  243. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  244. package/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  245. package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  246. package/dist/ui-kit/Select/Select.d.ts +10 -4
  247. package/dist/ui-kit/Select/Select.js +23 -5
  248. package/dist/ui-kit/Select/Select.js.map +1 -1
  249. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  250. package/dist/utils/changeHashOnObserve.d.ts +9 -1
  251. package/dist/utils/changeHashOnObserve.js +12 -4
  252. package/dist/utils/changeHashOnObserve.js.map +1 -1
  253. package/lib/EventBus/EventMap.d.ts +2 -1
  254. package/lib/api/DaDataAPI.d.ts +12 -0
  255. package/lib/api/DaDataAPI.js.map +1 -1
  256. package/lib/common.css +1 -1
  257. package/lib/components/Accordion/Accordion.d.ts +1 -1
  258. package/lib/components/Accordion/Accordion.mobile.d.ts +1 -1
  259. package/lib/components/Accordion/AccordionItem.d.ts +1 -1
  260. package/lib/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  261. package/lib/components/BaseTile/BaseTile.d.ts +1 -1
  262. package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  263. package/lib/components/Bonus/Bonus.d.ts +1 -1
  264. package/lib/components/Bonus/Bonus.js +11 -2
  265. package/lib/components/Bonus/Bonus.js.map +1 -1
  266. package/lib/components/Bonus/BonusContent.d.ts +30 -2
  267. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  268. package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  269. package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  270. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  271. package/lib/components/Calculator/Calculator.d.ts +1 -1
  272. package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  273. package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  274. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  275. package/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  276. package/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  277. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  278. package/lib/components/Calculator/renderCalculatorBlock.js +1 -1
  279. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  280. package/lib/components/CardTransfer/CardTransfer.d.ts +1 -1
  281. package/lib/components/CardTransfer/CardTransfer.js +9 -10
  282. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  283. package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
  284. package/lib/components/Catalog/Catalog.d.ts +1 -1
  285. package/lib/components/Catalog/CatalogCard.d.ts +1 -1
  286. package/lib/components/Catalog/CatalogCard.js +1 -1
  287. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  288. package/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  289. package/lib/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  290. package/lib/components/ComparisonTable/TableColumn.d.ts +2 -2
  291. package/lib/components/ComparisonTable/TableColumn.js +7 -2
  292. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  293. package/lib/components/ContentPage/ContentPage.d.ts +5 -24
  294. package/lib/components/ContentPage/ContentPage.js +17 -19
  295. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  296. package/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
  297. package/lib/components/ContentPage/computeAPIFallback.d.ts +2 -2
  298. package/lib/components/ContentPage/filterBlocks.d.ts +5 -4
  299. package/lib/components/ContentPage/filterBlocks.mobile.d.ts +5 -4
  300. package/lib/components/ContentPage/isBlockInRegistry.d.ts +1 -1
  301. package/lib/components/ContentPage/normalizeBlock.d.ts +4 -3
  302. package/lib/components/ContentPage/normalizeBlock.mobile.d.ts +1 -1
  303. package/lib/components/ContentPage/normalizePage.d.ts +2 -2
  304. package/lib/components/ContentPage/renderBlock.d.ts +13 -0
  305. package/lib/components/ContentPage/renderBlock.js +25 -0
  306. package/lib/components/ContentPage/renderBlock.js.map +1 -0
  307. package/lib/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  308. package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  309. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  310. package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  311. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  312. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  313. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  314. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  315. package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  316. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  317. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  318. package/lib/components/ExchangeRateTile/renderInput.js +2 -2
  319. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  320. package/lib/components/Footer/Contacts.d.ts +1 -1
  321. package/lib/components/Footer/Footer.d.ts +1 -1
  322. package/lib/components/Footer/Footer.mobile.d.ts +1 -1
  323. package/lib/components/Footer/FooterLink.d.ts +1 -1
  324. package/lib/components/Footer/HorizontalNavigation.d.ts +2 -2
  325. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  326. package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +2 -2
  327. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  328. package/lib/components/Footer/MediaButton.js +1 -1
  329. package/lib/components/Footer/MediaButton.js.map +1 -1
  330. package/lib/components/Footer/Sitemap.d.ts +2 -2
  331. package/lib/components/Footer/Sitemap.js.map +1 -1
  332. package/lib/components/Footer/SocialMedia.d.ts +1 -1
  333. package/lib/components/Footer/SocialMedia.mobile.d.ts +1 -1
  334. package/lib/components/Gallery/GalleryInner.d.ts +1 -1
  335. package/lib/components/Gallery/GalleryProps.d.ts +1 -1
  336. package/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
  337. package/lib/components/GracePeriod/GracePeriod.js +3 -3
  338. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  339. package/lib/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  340. package/lib/components/Header/DropdownMenu.d.ts +1 -1
  341. package/lib/components/Header/Header.d.ts +1 -1
  342. package/lib/components/Header/Header.fallback.d.ts +1 -1
  343. package/lib/components/Header/Header.js.map +1 -1
  344. package/lib/components/Header/Header.mobile.d.ts +1 -1
  345. package/lib/components/Header/Header.mobile.js.map +1 -1
  346. package/lib/components/Headline/Headline.d.ts +1 -1
  347. package/lib/components/Headline/Headline.js +1 -1
  348. package/lib/components/Headline/Headline.js.map +1 -1
  349. package/lib/components/Headline/Headline.mobile.d.ts +1 -1
  350. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  351. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  352. package/lib/components/LikeControl/LikeControl.d.ts +1 -1
  353. package/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
  354. package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  355. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  356. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  357. package/lib/components/LinkList/LinkList.d.ts +1 -1
  358. package/lib/components/LinkList/LinkList.js.map +1 -1
  359. package/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
  360. package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  361. package/lib/components/MobileAppTile/MobileAppTile.js +3 -3
  362. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  363. package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  364. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
  365. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  366. package/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
  367. package/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  368. package/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  369. package/lib/components/PictureText/PictureText.d.ts +1 -1
  370. package/lib/components/Placeholder/Placeholder.d.ts +1 -1
  371. package/lib/components/Placeholder/Placeholder.js +1 -1
  372. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  373. package/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
  374. package/lib/components/ProductBlock/ProductBlock.js +1 -1
  375. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  376. package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  377. package/lib/components/ProductBlock/ProductBlock.mobile.js +1 -1
  378. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  379. package/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  380. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  381. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  382. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  383. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  384. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  385. package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  386. package/lib/components/ProductGallery/ProductGallery.js +10 -10
  387. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  388. package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  389. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  390. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  391. package/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
  392. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  393. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
  394. package/lib/components/ProductTile/ProductTile.d.ts +1 -1
  395. package/lib/components/ProductTile/ProductTile.js +1 -1
  396. package/lib/components/PromoTile/PromoTile.d.ts +1 -1
  397. package/lib/components/PromoTile/PromoTile.js +1 -1
  398. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  399. package/lib/components/Recommendation/Recommendation.d.ts +1 -1
  400. package/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
  401. package/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  402. package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  403. package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  404. package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  405. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  406. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  407. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  408. package/lib/components/SafeDepositRental/WrapperSelect.js +7 -4
  409. package/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  410. package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  411. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  412. package/lib/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  413. package/lib/components/StepsBlock/StepsBlock.mobile.js +5 -1
  414. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  415. package/lib/components/Tabs/Tabs.d.ts +5 -1
  416. package/lib/components/Tabs/Tabs.js +13 -3
  417. package/lib/components/Tabs/Tabs.js.map +1 -1
  418. package/lib/components/Tabs/TabsContent.d.ts +2 -0
  419. package/lib/components/Tabs/renderLinkTab.d.ts +3 -2
  420. package/lib/components/Tabs/renderLinkTab.js +5 -2
  421. package/lib/components/Tabs/renderLinkTab.js.map +1 -1
  422. package/lib/components/Tabs/renderTab.d.ts +1 -1
  423. package/lib/components/Tabs/renderTab.js +12 -2
  424. package/lib/components/Tabs/renderTab.js.map +1 -1
  425. package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  426. package/lib/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  427. package/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  428. package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
  429. package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  430. package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  431. package/lib/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
  432. package/lib/components/TextBlock/TextBlock.d.ts +1 -1
  433. package/lib/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  434. package/lib/components/Tile/Tile.d.ts +1 -1
  435. package/lib/content-page-repository/ContentPageRepository.d.ts +1 -1
  436. package/lib/content-page-repository/transformContentPage.d.ts +1 -1
  437. package/lib/icons/IconName.d.ts +94 -2
  438. package/lib/icons/IconName.js +4 -1
  439. package/lib/icons/IconName.js.map +1 -1
  440. package/lib/model/BlockDecorator.d.ts +14 -0
  441. package/lib/model/BlockDecorator.js +2 -0
  442. package/lib/model/BlockDecorator.js.map +1 -0
  443. package/lib/model/BlocksRegistry.d.ts +5 -0
  444. package/lib/model/BlocksRegistry.js +2 -0
  445. package/lib/model/BlocksRegistry.js.map +1 -0
  446. package/lib/{types.d.ts → model/ContentPageDef.d.ts} +5 -20
  447. package/lib/model/ContentPageDef.js +2 -0
  448. package/lib/model/ContentPageDef.js.map +1 -0
  449. package/lib/{types → model}/Fallback.d.ts +0 -0
  450. package/lib/{types → model}/Fallback.js +0 -0
  451. package/lib/{types → model}/Fallback.js.map +1 -1
  452. package/lib/react/IntersectionObserverTag.js +7 -3
  453. package/lib/react/IntersectionObserverTag.js.map +1 -1
  454. package/lib/services/sitemap/useSitemap.d.ts +1 -1
  455. package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
  456. package/lib/ui-kit/BlockWrapper.d.ts +1 -1
  457. package/lib/ui-kit/BlockWrapper.js +35 -13
  458. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  459. package/lib/ui-kit/Button/Button.mobile.js +4 -1
  460. package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
  461. package/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
  462. package/lib/ui-kit/Button/buttonClassNameConstants.js +1 -1
  463. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  464. package/lib/ui-kit/CurrencyInput/CurrencyInput.js +12 -7
  465. package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  466. package/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +2 -7
  467. package/lib/ui-kit/CurrencyInput/adjustValue .d.ts +1 -0
  468. package/lib/ui-kit/CurrencyInput/adjustValue .js +12 -0
  469. package/lib/ui-kit/CurrencyInput/adjustValue .js.map +1 -0
  470. package/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
  471. package/lib/ui-kit/Icon/Icon.js +12 -4
  472. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  473. package/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  474. package/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  475. package/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  476. package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  477. package/lib/ui-kit/Input/Input.d.ts +1 -1
  478. package/lib/ui-kit/Input/Input.js +8 -5
  479. package/lib/ui-kit/Input/Input.js.map +1 -1
  480. package/lib/ui-kit/Input/InputProps.d.ts +6 -3
  481. package/lib/ui-kit/Logo/Logo.d.ts +1 -1
  482. package/lib/ui-kit/Logo/Logo.js +2 -2
  483. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  484. package/lib/ui-kit/Logo/Logo.mobile.d.ts +1 -1
  485. package/lib/ui-kit/Logo/Logo.mobile.js +2 -2
  486. package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -1
  487. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  488. package/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  489. package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  490. package/lib/ui-kit/Select/Select.d.ts +10 -4
  491. package/lib/ui-kit/{SelectCustom/SelectCustom.fixture.d.ts → Select/Select.fixture.d.ts} +0 -0
  492. package/lib/ui-kit/Select/Select.js +24 -6
  493. package/lib/ui-kit/Select/Select.js.map +1 -1
  494. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  495. package/lib/utils/changeHashOnObserve.d.ts +9 -1
  496. package/lib/utils/changeHashOnObserve.js +12 -4
  497. package/lib/utils/changeHashOnObserve.js.map +1 -1
  498. package/mobile/bundle/bundle.umd.js +162 -83
  499. package/mobile/bundle/bundle.umd.min.js +1 -1
  500. package/mobile/dist/EventBus/EventMap.d.ts +2 -1
  501. package/mobile/dist/api/DaDataAPI.d.ts +12 -0
  502. package/mobile/dist/api/DaDataAPI.js.map +1 -1
  503. package/mobile/dist/components/Accordion/Accordion.d.ts +1 -1
  504. package/mobile/dist/components/Accordion/AccordionItem.d.ts +1 -1
  505. package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -1
  506. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  507. package/mobile/dist/components/Bonus/Bonus.d.ts +1 -1
  508. package/mobile/dist/components/Bonus/Bonus.js +11 -2
  509. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  510. package/mobile/dist/components/Bonus/BonusContent.d.ts +30 -2
  511. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  512. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  513. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  514. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  515. package/mobile/dist/components/Calculator/Calculator.d.ts +1 -1
  516. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  517. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  518. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  519. package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  520. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  521. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  522. package/mobile/dist/components/Calculator/renderCalculatorBlock.js +1 -1
  523. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  524. package/mobile/dist/components/CardTransfer/CardTransfer.d.ts +1 -1
  525. package/mobile/dist/components/CardTransfer/CardTransfer.js +9 -10
  526. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  527. package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
  528. package/mobile/dist/components/Catalog/Catalog.d.ts +1 -1
  529. package/mobile/dist/components/Catalog/CatalogCard.d.ts +1 -1
  530. package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
  531. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  532. package/mobile/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  533. package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +2 -2
  534. package/mobile/dist/components/ComparisonTable/TableColumn.js +7 -2
  535. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  536. package/mobile/dist/components/ContentPage/ContentPage.d.ts +5 -24
  537. package/mobile/dist/components/ContentPage/ContentPage.js +17 -19
  538. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  539. package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
  540. package/mobile/dist/components/ContentPage/computeAPIFallback.d.ts +2 -2
  541. package/mobile/dist/components/ContentPage/filterBlocks.d.ts +2 -2
  542. package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +1 -1
  543. package/mobile/dist/components/ContentPage/normalizeBlock.d.ts +1 -1
  544. package/mobile/dist/components/ContentPage/normalizePage.d.ts +2 -2
  545. package/mobile/dist/components/ContentPage/renderBlock.d.ts +13 -0
  546. package/mobile/dist/components/ContentPage/renderBlock.js +28 -0
  547. package/mobile/dist/components/ContentPage/renderBlock.js.map +1 -0
  548. package/mobile/dist/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  549. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  550. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  551. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  552. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  553. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  554. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  555. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  556. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  557. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  558. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  559. package/mobile/dist/components/ExchangeRateTile/renderInput.js +2 -2
  560. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  561. package/mobile/dist/components/Footer/Contacts.d.ts +1 -1
  562. package/mobile/dist/components/Footer/Footer.d.ts +1 -1
  563. package/mobile/dist/components/Footer/FooterLink.d.ts +1 -1
  564. package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +2 -2
  565. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  566. package/mobile/dist/components/Footer/MediaButton.js +1 -1
  567. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  568. package/mobile/dist/components/Footer/Sitemap.d.ts +2 -2
  569. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  570. package/mobile/dist/components/Footer/SocialMedia.d.ts +1 -1
  571. package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
  572. package/mobile/dist/components/Gallery/GalleryProps.d.ts +1 -1
  573. package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
  574. package/mobile/dist/components/GracePeriod/GracePeriod.js +3 -3
  575. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  576. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  577. package/mobile/dist/components/Header/DropdownMenu.d.ts +1 -1
  578. package/mobile/dist/components/Header/Header.d.ts +1 -1
  579. package/mobile/dist/components/Header/Header.fallback.d.ts +1 -1
  580. package/mobile/dist/components/Header/Header.js.map +1 -1
  581. package/mobile/dist/components/Headline/Headline.d.ts +1 -1
  582. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  583. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  584. package/mobile/dist/components/LikeControl/LikeControl.d.ts +1 -1
  585. package/mobile/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
  586. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  587. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  588. package/mobile/dist/components/LinkList/LinkList.d.ts +1 -1
  589. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  590. package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
  591. package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  592. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  593. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  594. package/mobile/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
  595. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  596. package/mobile/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  597. package/mobile/dist/components/PictureText/PictureText.d.ts +1 -1
  598. package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
  599. package/mobile/dist/components/Placeholder/Placeholder.js +1 -1
  600. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  601. package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
  602. package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
  603. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  604. package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  605. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  606. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  607. package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  608. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  609. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  610. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
  611. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  612. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
  613. package/mobile/dist/components/ProductTile/ProductTile.d.ts +1 -1
  614. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  615. package/mobile/dist/components/PromoTile/PromoTile.d.ts +1 -1
  616. package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
  617. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  618. package/mobile/dist/components/Recommendation/Recommendation.d.ts +1 -1
  619. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
  620. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  621. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  622. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  623. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  624. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  625. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  626. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  627. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js +6 -3
  628. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  629. package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  630. package/mobile/dist/components/StepsBlock/StepsBlock.js +5 -1
  631. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  632. package/mobile/dist/components/Tabs/Tabs.d.ts +5 -1
  633. package/mobile/dist/components/Tabs/Tabs.js +13 -3
  634. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  635. package/mobile/dist/components/Tabs/TabsContent.d.ts +2 -0
  636. package/mobile/dist/components/Tabs/renderLinkTab.d.ts +3 -2
  637. package/mobile/dist/components/Tabs/renderLinkTab.js +4 -1
  638. package/mobile/dist/components/Tabs/renderLinkTab.js.map +1 -1
  639. package/mobile/dist/components/Tabs/renderTab.d.ts +1 -1
  640. package/mobile/dist/components/Tabs/renderTab.js +12 -2
  641. package/mobile/dist/components/Tabs/renderTab.js.map +1 -1
  642. package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  643. package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  644. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
  645. package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  646. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  647. package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
  648. package/mobile/dist/components/TextBlock/TextBlock.d.ts +1 -1
  649. package/mobile/dist/components/Tile/Tile.d.ts +1 -1
  650. package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +1 -1
  651. package/mobile/dist/content-page-repository/transformContentPage.d.ts +1 -1
  652. package/mobile/dist/icons/IconName.d.ts +94 -2
  653. package/mobile/dist/icons/IconName.js +6 -3
  654. package/mobile/dist/icons/IconName.js.map +1 -1
  655. package/mobile/dist/model/BlockDecorator.d.ts +14 -0
  656. package/mobile/dist/model/BlockDecorator.js +4 -0
  657. package/mobile/dist/model/BlockDecorator.js.map +1 -0
  658. package/mobile/dist/model/BlocksRegistry.d.ts +5 -0
  659. package/mobile/dist/{components/BlockContent.js → model/BlocksRegistry.js} +1 -1
  660. package/mobile/dist/model/BlocksRegistry.js.map +1 -0
  661. package/mobile/dist/{types.d.ts → model/ContentPageDef.d.ts} +5 -20
  662. package/mobile/dist/model/ContentPageDef.js +2 -0
  663. package/mobile/dist/model/ContentPageDef.js.map +1 -0
  664. package/mobile/dist/{types → model}/Fallback.d.ts +0 -0
  665. package/mobile/dist/{types → model}/Fallback.js +0 -0
  666. package/mobile/dist/{types → model}/Fallback.js.map +1 -1
  667. package/mobile/dist/react/IntersectionObserverTag.js +7 -3
  668. package/mobile/dist/react/IntersectionObserverTag.js.map +1 -1
  669. package/mobile/dist/services/sitemap/useSitemap.d.ts +1 -1
  670. package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
  671. package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -1
  672. package/mobile/dist/ui-kit/BlockWrapper.js +34 -12
  673. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  674. package/mobile/dist/ui-kit/Button/Button.js +4 -1
  675. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  676. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
  677. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +1 -1
  678. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  679. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +11 -6
  680. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  681. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +2 -7
  682. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .d.ts +1 -0
  683. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js +15 -0
  684. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js.map +1 -0
  685. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
  686. package/mobile/dist/ui-kit/Icon/Icon.js +11 -3
  687. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  688. package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  689. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  690. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  691. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  692. package/mobile/dist/ui-kit/Input/Input.d.ts +1 -1
  693. package/mobile/dist/ui-kit/Input/Input.js +7 -4
  694. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  695. package/mobile/dist/ui-kit/Input/InputProps.d.ts +6 -3
  696. package/mobile/dist/ui-kit/Logo/Logo.d.ts +1 -1
  697. package/mobile/dist/ui-kit/Logo/Logo.js +2 -2
  698. package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
  699. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  700. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  701. package/mobile/dist/ui-kit/Select/Select.d.ts +10 -4
  702. package/mobile/dist/ui-kit/Select/Select.js +23 -5
  703. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  704. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  705. package/mobile/dist/utils/changeHashOnObserve.d.ts +9 -1
  706. package/mobile/dist/utils/changeHashOnObserve.js +12 -4
  707. package/mobile/dist/utils/changeHashOnObserve.js.map +1 -1
  708. package/mobile/lib/EventBus/EventMap.d.ts +2 -1
  709. package/mobile/lib/api/DaDataAPI.d.ts +12 -0
  710. package/mobile/lib/api/DaDataAPI.js.map +1 -1
  711. package/mobile/lib/components/Accordion/Accordion.d.ts +1 -1
  712. package/mobile/lib/components/Accordion/AccordionItem.d.ts +1 -1
  713. package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -1
  714. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  715. package/mobile/lib/components/Bonus/Bonus.d.ts +1 -1
  716. package/mobile/lib/components/Bonus/Bonus.js +11 -2
  717. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  718. package/mobile/lib/components/Bonus/BonusContent.d.ts +30 -2
  719. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  720. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  721. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  722. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  723. package/mobile/lib/components/Calculator/Calculator.d.ts +1 -1
  724. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  725. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  726. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  727. package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  728. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  729. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  730. package/mobile/lib/components/Calculator/renderCalculatorBlock.js +1 -1
  731. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  732. package/mobile/lib/components/CardTransfer/CardTransfer.d.ts +1 -1
  733. package/mobile/lib/components/CardTransfer/CardTransfer.js +9 -10
  734. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  735. package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
  736. package/mobile/lib/components/Catalog/Catalog.d.ts +1 -1
  737. package/mobile/lib/components/Catalog/CatalogCard.d.ts +1 -1
  738. package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
  739. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  740. package/mobile/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  741. package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +2 -2
  742. package/mobile/lib/components/ComparisonTable/TableColumn.js +7 -2
  743. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  744. package/mobile/lib/components/ContentPage/ContentPage.d.ts +5 -24
  745. package/mobile/lib/components/ContentPage/ContentPage.js +17 -19
  746. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  747. package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
  748. package/mobile/lib/components/ContentPage/computeAPIFallback.d.ts +2 -2
  749. package/mobile/lib/components/ContentPage/filterBlocks.d.ts +2 -2
  750. package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +1 -1
  751. package/mobile/lib/components/ContentPage/normalizeBlock.d.ts +1 -1
  752. package/mobile/lib/components/ContentPage/normalizePage.d.ts +2 -2
  753. package/mobile/lib/components/ContentPage/renderBlock.d.ts +13 -0
  754. package/mobile/lib/components/ContentPage/renderBlock.js +25 -0
  755. package/mobile/lib/components/ContentPage/renderBlock.js.map +1 -0
  756. package/mobile/lib/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  757. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  758. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  759. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  760. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  761. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  762. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  763. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  764. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  765. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  766. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  767. package/mobile/lib/components/ExchangeRateTile/renderInput.js +2 -2
  768. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  769. package/mobile/lib/components/Footer/Contacts.d.ts +1 -1
  770. package/mobile/lib/components/Footer/Footer.d.ts +1 -1
  771. package/mobile/lib/components/Footer/FooterLink.d.ts +1 -1
  772. package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +2 -2
  773. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  774. package/mobile/lib/components/Footer/MediaButton.js +1 -1
  775. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  776. package/mobile/lib/components/Footer/Sitemap.d.ts +2 -2
  777. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  778. package/mobile/lib/components/Footer/SocialMedia.d.ts +1 -1
  779. package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
  780. package/mobile/lib/components/Gallery/GalleryProps.d.ts +1 -1
  781. package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
  782. package/mobile/lib/components/GracePeriod/GracePeriod.js +3 -3
  783. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  784. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  785. package/mobile/lib/components/Header/DropdownMenu.d.ts +1 -1
  786. package/mobile/lib/components/Header/Header.d.ts +1 -1
  787. package/mobile/lib/components/Header/Header.fallback.d.ts +1 -1
  788. package/mobile/lib/components/Header/Header.js.map +1 -1
  789. package/mobile/lib/components/Headline/Headline.d.ts +1 -1
  790. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  791. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  792. package/mobile/lib/components/LikeControl/LikeControl.d.ts +1 -1
  793. package/mobile/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
  794. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  795. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  796. package/mobile/lib/components/LinkList/LinkList.d.ts +1 -1
  797. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  798. package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
  799. package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  800. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  801. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  802. package/mobile/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
  803. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  804. package/mobile/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  805. package/mobile/lib/components/PictureText/PictureText.d.ts +1 -1
  806. package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
  807. package/mobile/lib/components/Placeholder/Placeholder.js +1 -1
  808. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  809. package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
  810. package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
  811. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  812. package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  813. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  814. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  815. package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  816. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  817. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  818. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
  819. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  820. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
  821. package/mobile/lib/components/ProductTile/ProductTile.d.ts +1 -1
  822. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  823. package/mobile/lib/components/PromoTile/PromoTile.d.ts +1 -1
  824. package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
  825. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  826. package/mobile/lib/components/Recommendation/Recommendation.d.ts +1 -1
  827. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
  828. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  829. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  830. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  831. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  832. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  833. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  834. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  835. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js +7 -4
  836. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  837. package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  838. package/mobile/lib/components/StepsBlock/StepsBlock.js +5 -1
  839. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  840. package/mobile/lib/components/Tabs/Tabs.d.ts +5 -1
  841. package/mobile/lib/components/Tabs/Tabs.js +13 -3
  842. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  843. package/mobile/lib/components/Tabs/TabsContent.d.ts +2 -0
  844. package/mobile/lib/components/Tabs/renderLinkTab.d.ts +3 -2
  845. package/mobile/lib/components/Tabs/renderLinkTab.js +5 -2
  846. package/mobile/lib/components/Tabs/renderLinkTab.js.map +1 -1
  847. package/mobile/lib/components/Tabs/renderTab.d.ts +1 -1
  848. package/mobile/lib/components/Tabs/renderTab.js +12 -2
  849. package/mobile/lib/components/Tabs/renderTab.js.map +1 -1
  850. package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  851. package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  852. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
  853. package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  854. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  855. package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
  856. package/mobile/lib/components/TextBlock/TextBlock.d.ts +1 -1
  857. package/mobile/lib/components/Tile/Tile.d.ts +1 -1
  858. package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +1 -1
  859. package/mobile/lib/content-page-repository/transformContentPage.d.ts +1 -1
  860. package/mobile/lib/icons/IconName.d.ts +94 -2
  861. package/mobile/lib/icons/IconName.js +4 -1
  862. package/mobile/lib/icons/IconName.js.map +1 -1
  863. package/mobile/lib/model/BlockDecorator.d.ts +14 -0
  864. package/mobile/lib/model/BlockDecorator.js +2 -0
  865. package/mobile/lib/model/BlockDecorator.js.map +1 -0
  866. package/mobile/lib/model/BlocksRegistry.d.ts +5 -0
  867. package/mobile/lib/model/BlocksRegistry.js +2 -0
  868. package/mobile/lib/model/BlocksRegistry.js.map +1 -0
  869. package/mobile/lib/{types.d.ts → model/ContentPageDef.d.ts} +5 -20
  870. package/mobile/lib/model/ContentPageDef.js +2 -0
  871. package/mobile/lib/model/ContentPageDef.js.map +1 -0
  872. package/mobile/lib/{types → model}/Fallback.d.ts +0 -0
  873. package/mobile/lib/{types → model}/Fallback.js +0 -0
  874. package/mobile/lib/{types → model}/Fallback.js.map +1 -1
  875. package/mobile/lib/react/IntersectionObserverTag.js +7 -3
  876. package/mobile/lib/react/IntersectionObserverTag.js.map +1 -1
  877. package/mobile/lib/services/sitemap/useSitemap.d.ts +1 -1
  878. package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
  879. package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -1
  880. package/mobile/lib/ui-kit/BlockWrapper.js +35 -13
  881. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  882. package/mobile/lib/ui-kit/Button/Button.js +4 -1
  883. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  884. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
  885. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +1 -1
  886. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  887. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +12 -7
  888. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  889. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +2 -7
  890. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .d.ts +1 -0
  891. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js +12 -0
  892. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js.map +1 -0
  893. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
  894. package/mobile/lib/ui-kit/Icon/Icon.js +12 -4
  895. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  896. package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  897. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  898. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  899. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  900. package/mobile/lib/ui-kit/Input/Input.d.ts +1 -1
  901. package/mobile/lib/ui-kit/Input/Input.js +8 -5
  902. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  903. package/mobile/lib/ui-kit/Input/InputProps.d.ts +6 -3
  904. package/mobile/lib/ui-kit/Logo/Logo.d.ts +1 -1
  905. package/mobile/lib/ui-kit/Logo/Logo.js +2 -2
  906. package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
  907. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  908. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  909. package/mobile/lib/ui-kit/Select/Select.d.ts +10 -4
  910. package/mobile/lib/ui-kit/Select/Select.js +24 -6
  911. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  912. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  913. package/mobile/lib/utils/changeHashOnObserve.d.ts +9 -1
  914. package/mobile/lib/utils/changeHashOnObserve.js +12 -4
  915. package/mobile/lib/utils/changeHashOnObserve.js.map +1 -1
  916. package/mobile/src/EventBus/EventMap.ts +3 -1
  917. package/mobile/src/api/DaDataAPI.ts +13 -1
  918. package/mobile/src/components/Accordion/Accordion.tsx +1 -1
  919. package/mobile/src/components/Accordion/Accordion.ui.json +79 -0
  920. package/mobile/src/components/Accordion/AccordionItem.tsx +1 -1
  921. package/mobile/src/components/BaseTile/BaseTile.tsx +1 -1
  922. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  923. package/mobile/src/components/BenefitsBlock/BenefitsBlock.ui.json +16 -0
  924. package/mobile/src/components/Bonus/Bonus.example.json +5 -2
  925. package/mobile/src/components/Bonus/Bonus.tsx +45 -17
  926. package/mobile/src/components/Bonus/Bonus.ui.json +16 -0
  927. package/mobile/src/components/Bonus/BonusContent.ts +33 -2
  928. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -1
  929. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  930. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.ui.json +11 -0
  931. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
  932. package/mobile/src/components/Calculator/Calculator.example.json +2 -1
  933. package/mobile/src/components/Calculator/Calculator.tsx +1 -1
  934. package/mobile/src/components/Calculator/Calculator.ui.json +31 -0
  935. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
  936. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
  937. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +2 -2
  938. package/mobile/src/components/CardTransfer/CardTransfer.example.json +7 -2
  939. package/mobile/src/components/CardTransfer/CardTransfer.tsx +22 -23
  940. package/mobile/src/components/CardTransfer/CardTransfer.ui.json +1 -0
  941. package/mobile/src/components/CardTransfer/CardTransferContent.ts +2 -2
  942. package/mobile/src/components/Catalog/Catalog.tsx +1 -1
  943. package/mobile/src/components/Catalog/Catalog.ui.json +1 -0
  944. package/mobile/src/components/Catalog/CatalogCard.tsx +2 -2
  945. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  946. package/mobile/src/components/ComparisonTable/ComparisonTable.ui.json +1 -0
  947. package/mobile/src/components/ComparisonTable/TableColumn.tsx +19 -13
  948. package/mobile/src/components/ContentPage/ContentPage.page.json +15 -1
  949. package/mobile/src/components/ContentPage/ContentPage.tsx +53 -101
  950. package/mobile/src/components/ContentPage/ContentPageHead.tsx +1 -1
  951. package/mobile/src/components/ContentPage/computeAPIFallback.ts +2 -2
  952. package/mobile/src/components/ContentPage/filterBlocks.ts +2 -2
  953. package/mobile/src/components/ContentPage/isBlockInRegistry.ts +1 -1
  954. package/mobile/src/components/ContentPage/normalizeBlock.ts +1 -1
  955. package/mobile/src/components/ContentPage/normalizePage.ts +2 -2
  956. package/mobile/src/components/ContentPage/renderBlock.tsx +62 -0
  957. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +3 -3
  958. package/mobile/src/components/ErrorBlock/ErrorBlock.ui.json +12 -0
  959. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  960. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +4 -3
  961. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +6 -3
  962. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +1 -0
  963. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +3 -3
  964. package/mobile/src/components/Footer/Contacts.tsx +1 -1
  965. package/mobile/src/components/Footer/Footer.tsx +2 -2
  966. package/mobile/src/components/Footer/Footer.ui.json +11 -0
  967. package/mobile/src/components/Footer/FooterLink.ts +1 -1
  968. package/mobile/src/components/Footer/HorizontalNavigation.tsx +3 -3
  969. package/mobile/src/components/Footer/MediaButton.tsx +1 -1
  970. package/mobile/src/components/Footer/Sitemap.tsx +2 -2
  971. package/mobile/src/components/Footer/SocialMedia.tsx +1 -1
  972. package/mobile/src/components/Gallery/Gallery.ui.json +1 -0
  973. package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
  974. package/mobile/src/components/Gallery/GalleryProps.ts +1 -1
  975. package/mobile/src/components/GracePeriod/GracePeriod.tsx +6 -5
  976. package/mobile/src/components/GracePeriod/GracePeriod.ui.json +15 -0
  977. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +1 -1
  978. package/mobile/src/components/Header/DropdownMenu.tsx +1 -1
  979. package/mobile/src/components/Header/Header.fallback.ts +1 -1
  980. package/mobile/src/components/Header/Header.tsx +2 -2
  981. package/mobile/src/components/Header/Header.ui.json +11 -0
  982. package/mobile/src/components/Headline/Headline.tsx +1 -1
  983. package/mobile/src/components/Headline/Headline.ui.json +1 -0
  984. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  985. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +15 -0
  986. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
  987. package/mobile/src/components/LikeControl/LikeControl.tsx +1 -1
  988. package/mobile/src/components/LinkDocs/LinkDocs.tsx +2 -2
  989. package/mobile/src/components/LinkDocs/LinkDocs.ui.json +1 -0
  990. package/mobile/src/components/LinkList/LinkList.tsx +1 -1
  991. package/mobile/src/components/LinkList/LinkList.ui.json +1 -0
  992. package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
  993. package/mobile/src/components/MiniGallery/MiniGallery.ui.json +1 -0
  994. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -2
  995. package/mobile/src/components/MobileAppTile/MobileAppTile.ui.json +7 -0
  996. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  997. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.ui.json +11 -0
  998. package/mobile/src/components/OtherProducts/OtherProducts.tsx +1 -1
  999. package/mobile/src/components/OtherProducts/OtherProducts.ui.json +76 -0
  1000. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +2 -2
  1001. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +1 -1
  1002. package/mobile/src/components/PictureText/PictureText.example.json +2 -0
  1003. package/mobile/src/components/PictureText/PictureText.tsx +1 -1
  1004. package/mobile/src/components/PictureText/PictureText.ui.json +1 -0
  1005. package/mobile/src/components/Placeholder/Placeholder.tsx +3 -3
  1006. package/mobile/src/components/Placeholder/Placeholder.ui.json +1 -0
  1007. package/mobile/src/components/ProductBlock/ProductBlock.tsx +3 -3
  1008. package/mobile/src/components/ProductBlock/ProductBlock.ui.json +12 -0
  1009. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +3 -3
  1010. package/mobile/src/components/ProductGallery/ProductGallery.tsx +2 -2
  1011. package/mobile/src/components/ProductGallery/ProductGallery.ui.json +30 -0
  1012. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +3 -3
  1013. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +0 -1
  1014. package/mobile/src/components/ProductTile/ProductTile.tsx +2 -2
  1015. package/mobile/src/components/ProductTile/ProductTile.ui.json +1 -0
  1016. package/mobile/src/components/PromoTile/PromoTile.tsx +3 -3
  1017. package/mobile/src/components/PromoTile/PromoTile.ui.json +1 -0
  1018. package/mobile/src/components/Recommendation/Recommendation.tsx +1 -1
  1019. package/mobile/src/components/Recommendation/Recommendation.ui.json +11 -0
  1020. package/mobile/src/components/Recommendation/RecommendationCard.tsx +1 -1
  1021. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +4 -4
  1022. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  1023. package/mobile/src/components/SafeDepositRental/SafeDepositRental.ui.json +1 -0
  1024. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
  1025. package/mobile/src/components/SafeDepositRental/WrapperSelect.tsx +15 -20
  1026. package/mobile/src/components/StepsBlock/StepsBlock.tsx +14 -3
  1027. package/mobile/src/components/StepsBlock/StepsBlock.ui.json +11 -0
  1028. package/mobile/src/components/Tabs/Tabs.tsx +26 -4
  1029. package/mobile/src/components/Tabs/Tabs.ui.json +1 -0
  1030. package/mobile/src/components/Tabs/TabsContent.ts +2 -0
  1031. package/mobile/src/components/Tabs/renderLinkTab.tsx +28 -12
  1032. package/mobile/src/components/Tabs/renderTab.tsx +14 -3
  1033. package/mobile/src/components/TariffsTable/TariffsTable.tsx +1 -1
  1034. package/mobile/src/components/TariffsTable/TariffsTable.ui.json +33 -0
  1035. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1036. package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
  1037. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
  1038. package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +1 -1
  1039. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +1 -1
  1040. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -1
  1041. package/mobile/src/components/TextBlock/TextBlock.ui.json +1 -0
  1042. package/mobile/src/components/Tile/Tile.tsx +1 -1
  1043. package/mobile/src/components/Tile/Tile.ui.json +1 -0
  1044. package/mobile/src/content-page-repository/ContentPageRepository.ts +1 -1
  1045. package/mobile/src/content-page-repository/transformContentPage.ts +1 -1
  1046. package/mobile/src/icons/AirPlaneIcon.svg +16 -1
  1047. package/mobile/src/icons/AppleIcon.svg +1 -1
  1048. package/mobile/src/icons/ArrowDownIcon.svg +1 -1
  1049. package/mobile/src/icons/ArrowLeftIcon.svg +1 -1
  1050. package/mobile/src/icons/ArrowUpIcon.svg +1 -1
  1051. package/mobile/src/icons/AtmIcon.svg +1 -1
  1052. package/mobile/src/icons/BankIcon.svg +1 -1
  1053. package/mobile/src/icons/BuildingIcon.svg +1 -1
  1054. package/mobile/src/icons/BurgerIcon.svg +1 -1
  1055. package/mobile/src/icons/Calendar2Icon.svg +1 -1
  1056. package/mobile/src/icons/CalendarCircleIcon.svg +1 -1
  1057. package/mobile/src/icons/CalendarIcon.svg +1 -1
  1058. package/mobile/src/icons/CalendarTickIcon.svg +1 -1
  1059. package/mobile/src/icons/Car2Icon.svg +1 -1
  1060. package/mobile/src/icons/CardIcon.svg +1 -1
  1061. package/mobile/src/icons/CardPosIcon.svg +1 -1
  1062. package/mobile/src/icons/CardTickIcon.svg +6 -6
  1063. package/mobile/src/icons/ChartSquareIcon.svg +1 -1
  1064. package/mobile/src/icons/CloseIcon.svg +1 -1
  1065. package/mobile/src/icons/DiscountShapeIcon.svg +1 -1
  1066. package/mobile/src/icons/DocDownloadIcon.svg +7 -7
  1067. package/mobile/src/icons/DocIcon.svg +1 -1
  1068. package/mobile/src/icons/DocIconMonoColor.svg +1 -1
  1069. package/mobile/src/icons/DocumentTextIcon.svg +1 -1
  1070. package/mobile/src/icons/DoneSimpleIcon.svg +2 -2
  1071. package/mobile/src/icons/EmptyWalletChangeIcon.svg +1 -1
  1072. package/mobile/src/icons/EmptyWalletIcon.svg +1 -1
  1073. package/mobile/src/icons/GeolocationIcon.svg +1 -1
  1074. package/mobile/src/icons/GlobalIcon.svg +1 -1
  1075. package/mobile/src/icons/GpsIcon.svg +1 -1
  1076. package/mobile/src/icons/GridIcon.svg +1 -1
  1077. package/mobile/src/icons/IconName.ts +7 -2
  1078. package/mobile/src/icons/InterestIcon.svg +1 -1
  1079. package/mobile/src/icons/LogoIcon.svg +1 -1
  1080. package/mobile/src/icons/LoupeIcon.svg +1 -1
  1081. package/mobile/src/icons/MinusIcon.svg +1 -1
  1082. package/mobile/src/icons/MoneyIcon.svg +1 -1
  1083. package/mobile/src/icons/MoneysIcon.svg +1 -1
  1084. package/mobile/src/icons/MonitorMobileIcon.svg +1 -1
  1085. package/mobile/src/icons/OkIcon.svg +1 -1
  1086. package/mobile/src/icons/PercentageRoundIcon.svg +1 -1
  1087. package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
  1088. package/mobile/src/icons/PersonalCardIcon.svg +1 -1
  1089. package/mobile/src/icons/PlayMarketIcon.svg +1 -1
  1090. package/mobile/src/icons/PlusIcon.svg +1 -1
  1091. package/mobile/src/icons/Profile2UserIcon.svg +1 -1
  1092. package/mobile/src/icons/ProfileIcon.svg +1 -1
  1093. package/mobile/src/icons/RoundRubleIcon.svg +1 -1
  1094. package/mobile/src/icons/SafeIcon.svg +1 -1
  1095. package/mobile/src/icons/ShieldTickIcon.svg +1 -1
  1096. package/mobile/src/icons/SmallClockIcon.svg +1 -1
  1097. package/mobile/src/icons/StrongBoxIcon.svg +1 -1
  1098. package/mobile/src/icons/TelegramIcon.svg +1 -1
  1099. package/mobile/src/icons/UserSquareIcon.svg +1 -1
  1100. package/mobile/src/icons/UserTickIcon.svg +1 -1
  1101. package/mobile/src/icons/VKIcon.svg +1 -1
  1102. package/mobile/src/icons/WalletAdd2Icon.svg +1 -1
  1103. package/mobile/src/icons/WalletAddIcon.svg +1 -1
  1104. package/mobile/src/icons/WalletIcon.svg +1 -1
  1105. package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -1
  1106. package/mobile/src/model/BlockDecorator.ts +17 -0
  1107. package/mobile/src/model/BlocksRegistry.ts +11 -0
  1108. package/mobile/src/{types.ts → model/ContentPageDef.ts} +5 -23
  1109. package/mobile/src/{types → model}/Fallback.ts +1 -0
  1110. package/mobile/src/react/IntersectionObserverTag.tsx +10 -3
  1111. package/mobile/src/services/sitemap/useSitemap.ts +1 -1
  1112. package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +1 -0
  1113. package/mobile/src/ui-kit/BlockWrapper.tsx +46 -19
  1114. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +2 -2
  1115. package/mobile/src/ui-kit/Button/Button.tsx +4 -1
  1116. package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
  1117. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +2 -1
  1118. package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +21 -36
  1119. package/mobile/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +3 -7
  1120. package/mobile/src/ui-kit/CurrencyInput/adjustValue .ts +17 -0
  1121. package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -1
  1122. package/mobile/src/ui-kit/Icon/Icon.tsx +29 -12
  1123. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  1124. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1125. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
  1126. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1127. package/mobile/src/ui-kit/Input/Input.tsx +37 -16
  1128. package/mobile/src/ui-kit/Input/InputProps.ts +6 -3
  1129. package/mobile/src/ui-kit/Logo/Logo.tsx +9 -5
  1130. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
  1131. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
  1132. package/mobile/src/ui-kit/Select/Select.tsx +86 -20
  1133. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +1 -1
  1134. package/mobile/src/utils/changeHashOnObserve.ts +30 -10
  1135. package/package.json +6 -3
  1136. package/src/EventBus/EventMap.ts +3 -1
  1137. package/src/api/DaDataAPI.ts +13 -1
  1138. package/src/components/Accordion/Accordion.mobile.tsx +1 -1
  1139. package/src/components/Accordion/Accordion.tsx +1 -1
  1140. package/src/components/Accordion/Accordion.ui.json +79 -0
  1141. package/src/components/Accordion/AccordionItem.mobile.tsx +1 -1
  1142. package/src/components/Accordion/AccordionItem.tsx +1 -1
  1143. package/src/components/BaseTile/BaseTile.tsx +1 -1
  1144. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1145. package/src/components/BenefitsBlock/BenefitsBlock.ui.json +16 -0
  1146. package/src/components/Bonus/Bonus.example.json +5 -2
  1147. package/src/components/Bonus/Bonus.fixture.tsx +37 -6
  1148. package/src/components/Bonus/Bonus.tsx +45 -17
  1149. package/src/components/Bonus/Bonus.ui.json +16 -0
  1150. package/src/components/Bonus/BonusContent.ts +33 -2
  1151. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -1
  1152. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  1153. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.ui.json +11 -0
  1154. package/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
  1155. package/src/components/Calculator/Calculator.example.json +2 -1
  1156. package/src/components/Calculator/Calculator.tsx +1 -1
  1157. package/src/components/Calculator/Calculator.ui.json +31 -0
  1158. package/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
  1159. package/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
  1160. package/src/components/Calculator/renderCalculatorBlock.tsx +2 -2
  1161. package/src/components/CardTransfer/CardTransfer.example.json +7 -2
  1162. package/src/components/CardTransfer/CardTransfer.fixture.tsx +9 -1
  1163. package/src/components/CardTransfer/CardTransfer.tsx +22 -23
  1164. package/src/components/CardTransfer/CardTransfer.ui.json +1 -0
  1165. package/src/components/CardTransfer/CardTransferContent.ts +2 -2
  1166. package/src/components/Catalog/Catalog.tsx +1 -1
  1167. package/src/components/Catalog/Catalog.ui.json +1 -0
  1168. package/src/components/Catalog/CatalogCard.tsx +2 -2
  1169. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +1 -1
  1170. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  1171. package/src/components/ComparisonTable/ComparisonTable.ui.json +1 -0
  1172. package/src/components/ComparisonTable/TableColumn.tsx +19 -13
  1173. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +1 -1
  1174. package/src/components/ContentPage/ContentPage.fixture.tsx +3 -2
  1175. package/src/components/ContentPage/ContentPage.page.json +15 -1
  1176. package/src/components/ContentPage/ContentPage.tsx +53 -101
  1177. package/src/components/ContentPage/ContentPageHead.tsx +1 -1
  1178. package/src/components/ContentPage/computeAPIFallback.ts +2 -2
  1179. package/src/components/ContentPage/filterBlocks.mobile.ts +2 -2
  1180. package/src/components/ContentPage/filterBlocks.ts +2 -2
  1181. package/src/components/ContentPage/isBlockInRegistry.ts +1 -1
  1182. package/src/components/ContentPage/normalizeBlock.mobile.ts +1 -1
  1183. package/src/components/ContentPage/normalizeBlock.ts +1 -1
  1184. package/src/components/ContentPage/normalizePage.ts +2 -2
  1185. package/src/components/ContentPage/renderBlock.tsx +62 -0
  1186. package/src/components/ErrorBlock/ErrorBlock.tsx +3 -3
  1187. package/src/components/ErrorBlock/ErrorBlock.ui.json +12 -0
  1188. package/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  1189. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +4 -3
  1190. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +6 -3
  1191. package/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +1 -0
  1192. package/src/components/ExchangeRateTile/renderInput.tsx +3 -3
  1193. package/src/components/Footer/Contacts.tsx +1 -1
  1194. package/src/components/Footer/Footer.mobile.tsx +2 -2
  1195. package/src/components/Footer/Footer.tsx +2 -2
  1196. package/src/components/Footer/Footer.ui.json +11 -0
  1197. package/src/components/Footer/FooterLink.ts +1 -1
  1198. package/src/components/Footer/HorizontalNavigation.mobile.tsx +3 -3
  1199. package/src/components/Footer/HorizontalNavigation.tsx +3 -3
  1200. package/src/components/Footer/MediaButton.tsx +1 -1
  1201. package/src/components/Footer/Sitemap.tsx +2 -2
  1202. package/src/components/Footer/SocialMedia.mobile.tsx +1 -1
  1203. package/src/components/Footer/SocialMedia.tsx +1 -1
  1204. package/src/components/Gallery/Gallery.ui.json +1 -0
  1205. package/src/components/Gallery/GalleryInner.tsx +1 -1
  1206. package/src/components/Gallery/GalleryProps.ts +1 -1
  1207. package/src/components/GracePeriod/GracePeriod.fixture.tsx +5 -5
  1208. package/src/components/GracePeriod/GracePeriod.tsx +6 -5
  1209. package/src/components/GracePeriod/GracePeriod.ui.json +15 -0
  1210. package/src/components/GracePeriod/GracePeriodContent.ts +1 -1
  1211. package/src/components/Header/DropdownMenu.tsx +1 -1
  1212. package/src/components/Header/Header.fallback.ts +1 -1
  1213. package/src/components/Header/Header.mobile.tsx +2 -2
  1214. package/src/components/Header/Header.tsx +2 -2
  1215. package/src/components/Header/Header.ui.json +11 -0
  1216. package/src/components/Headline/Headline.mobile.tsx +1 -1
  1217. package/src/components/Headline/Headline.tsx +2 -2
  1218. package/src/components/Headline/Headline.ui.json +1 -0
  1219. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1220. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +15 -0
  1221. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
  1222. package/src/components/LikeControl/LikeControl.tsx +1 -1
  1223. package/src/components/LinkDocs/LinkDocs.mobile.tsx +2 -2
  1224. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  1225. package/src/components/LinkDocs/LinkDocs.ui.json +1 -0
  1226. package/src/components/LinkList/LinkList.tsx +1 -1
  1227. package/src/components/LinkList/LinkList.ui.json +1 -0
  1228. package/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1229. package/src/components/MiniGallery/MiniGallery.ui.json +1 -0
  1230. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +2 -2
  1231. package/src/components/MobileAppTile/MobileAppTile.tsx +5 -5
  1232. package/src/components/MobileAppTile/MobileAppTile.ui.json +7 -0
  1233. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  1234. package/src/components/OfficeServicesBlock/OfficeServicesBlock.ui.json +11 -0
  1235. package/src/components/OtherProducts/OtherProducts.tsx +1 -1
  1236. package/src/components/OtherProducts/OtherProducts.ui.json +76 -0
  1237. package/src/components/OtherProducts/OtherProductsContent.ts +2 -2
  1238. package/src/components/OtherProducts/OtherProductsItem.tsx +1 -1
  1239. package/src/components/PictureText/PictureText.example.json +2 -0
  1240. package/src/components/PictureText/PictureText.tsx +1 -1
  1241. package/src/components/PictureText/PictureText.ui.json +1 -0
  1242. package/src/components/Placeholder/Placeholder.tsx +3 -3
  1243. package/src/components/Placeholder/Placeholder.ui.json +1 -0
  1244. package/src/components/ProductBlock/ProductBlock.mobile.tsx +3 -3
  1245. package/src/components/ProductBlock/ProductBlock.tsx +3 -3
  1246. package/src/components/ProductBlock/ProductBlock.ui.json +12 -0
  1247. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +3 -3
  1248. package/src/components/ProductBlock/ProductBlockInner.tsx +2 -2
  1249. package/src/components/ProductGallery/ProductGallery.mobile.tsx +2 -2
  1250. package/src/components/ProductGallery/ProductGallery.tsx +14 -14
  1251. package/src/components/ProductGallery/ProductGallery.ui.json +30 -0
  1252. package/src/components/ProductGallery/ProductGalleryBlock.tsx +3 -3
  1253. package/src/components/ProductGallery/ProductGalleryContent.ts +0 -1
  1254. package/src/components/ProductTile/ProductTile.tsx +2 -2
  1255. package/src/components/ProductTile/ProductTile.ui.json +1 -0
  1256. package/src/components/PromoTile/PromoTile.tsx +3 -3
  1257. package/src/components/PromoTile/PromoTile.ui.json +1 -0
  1258. package/src/components/Recommendation/Recommendation.tsx +1 -1
  1259. package/src/components/Recommendation/Recommendation.ui.json +11 -0
  1260. package/src/components/Recommendation/RecommendationCard.tsx +1 -1
  1261. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +4 -4
  1262. package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  1263. package/src/components/SafeDepositRental/SafeDepositRental.ui.json +1 -0
  1264. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
  1265. package/src/components/SafeDepositRental/WrapperSelect.tsx +15 -20
  1266. package/src/components/StepsBlock/StepsBlock.mobile.tsx +14 -3
  1267. package/src/components/StepsBlock/StepsBlock.tsx +2 -2
  1268. package/src/components/StepsBlock/StepsBlock.ui.json +11 -0
  1269. package/src/components/Tabs/Tabs.tsx +26 -4
  1270. package/src/components/Tabs/Tabs.ui.json +1 -0
  1271. package/src/components/Tabs/TabsContent.ts +2 -0
  1272. package/src/components/Tabs/renderLinkTab.tsx +28 -12
  1273. package/src/components/Tabs/renderTab.tsx +14 -3
  1274. package/src/components/TariffsTable/TariffsTable.mobile.tsx +1 -1
  1275. package/src/components/TariffsTable/TariffsTable.tsx +1 -1
  1276. package/src/components/TariffsTable/TariffsTable.ui.json +33 -0
  1277. package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1278. package/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
  1279. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
  1280. package/src/components/TariffsTable/TariffsTableRowContainer.tsx +1 -1
  1281. package/src/components/TariffsTable/TariffsTableVertical.tsx +1 -1
  1282. package/src/components/TextBlock/TextBlock.mobile.tsx +1 -1
  1283. package/src/components/TextBlock/TextBlock.tsx +1 -1
  1284. package/src/components/TextBlock/TextBlock.ui.json +1 -0
  1285. package/src/components/Tile/Tile.tsx +1 -1
  1286. package/src/components/Tile/Tile.ui.json +1 -0
  1287. package/src/content-page-repository/ContentPageRepository.ts +1 -1
  1288. package/src/content-page-repository/transformContentPage.ts +1 -1
  1289. package/src/icons/AirPlaneIcon.svg +16 -1
  1290. package/src/icons/AppleIcon.svg +1 -1
  1291. package/src/icons/ArrowDownIcon.svg +1 -1
  1292. package/src/icons/ArrowLeftIcon.svg +1 -1
  1293. package/src/icons/ArrowUpIcon.svg +1 -1
  1294. package/src/icons/AtmIcon.svg +1 -1
  1295. package/src/icons/BankIcon.svg +1 -1
  1296. package/src/icons/BuildingIcon.svg +1 -1
  1297. package/src/icons/BurgerIcon.svg +1 -1
  1298. package/src/icons/Calendar2Icon.svg +1 -1
  1299. package/src/icons/CalendarCircleIcon.svg +1 -1
  1300. package/src/icons/CalendarIcon.svg +1 -1
  1301. package/src/icons/CalendarTickIcon.svg +1 -1
  1302. package/src/icons/Car2Icon.svg +1 -1
  1303. package/src/icons/CardIcon.svg +1 -1
  1304. package/src/icons/CardPosIcon.svg +1 -1
  1305. package/src/icons/CardTickIcon.svg +6 -6
  1306. package/src/icons/ChartSquareIcon.svg +1 -1
  1307. package/src/icons/CloseIcon.svg +1 -1
  1308. package/src/icons/DiscountShapeIcon.svg +1 -1
  1309. package/src/icons/DocDownloadIcon.svg +7 -7
  1310. package/src/icons/DocIcon.svg +1 -1
  1311. package/src/icons/DocIconMonoColor.svg +1 -1
  1312. package/src/icons/DocumentTextIcon.svg +1 -1
  1313. package/src/icons/DoneSimpleIcon.svg +2 -2
  1314. package/src/icons/EmptyWalletChangeIcon.svg +1 -1
  1315. package/src/icons/EmptyWalletIcon.svg +1 -1
  1316. package/src/icons/GeolocationIcon.svg +1 -1
  1317. package/src/icons/GlobalIcon.svg +1 -1
  1318. package/src/icons/GpsIcon.svg +1 -1
  1319. package/src/icons/GridIcon.svg +1 -1
  1320. package/src/icons/IconName.ts +96 -2
  1321. package/src/icons/InterestIcon.svg +1 -1
  1322. package/src/icons/LogoIcon.svg +1 -1
  1323. package/src/icons/LoupeIcon.svg +1 -1
  1324. package/src/icons/MinusIcon.svg +1 -1
  1325. package/src/icons/MoneyIcon.svg +1 -1
  1326. package/src/icons/MoneysIcon.svg +1 -1
  1327. package/src/icons/MonitorMobileIcon.svg +1 -1
  1328. package/src/icons/OkIcon.svg +1 -1
  1329. package/src/icons/PercentageRoundIcon.svg +1 -1
  1330. package/src/icons/PercentageSquareIcon.svg +1 -1
  1331. package/src/icons/PersonalCardIcon.svg +1 -1
  1332. package/src/icons/PlayMarketIcon.svg +1 -1
  1333. package/src/icons/PlusIcon.svg +1 -1
  1334. package/src/icons/Profile2UserIcon.svg +1 -1
  1335. package/src/icons/ProfileIcon.svg +1 -1
  1336. package/src/icons/RoundRubleIcon.svg +1 -1
  1337. package/src/icons/SafeIcon.svg +1 -1
  1338. package/src/icons/ShieldTickIcon.svg +1 -1
  1339. package/src/icons/SmallClockIcon.svg +1 -1
  1340. package/src/icons/StrongBoxIcon.svg +1 -1
  1341. package/src/icons/TelegramIcon.svg +1 -1
  1342. package/src/icons/UserSquareIcon.svg +1 -1
  1343. package/src/icons/UserTickIcon.svg +1 -1
  1344. package/src/icons/VKIcon.svg +1 -1
  1345. package/src/icons/WalletAdd2Icon.svg +1 -1
  1346. package/src/icons/WalletAddIcon.svg +1 -1
  1347. package/src/icons/WalletIcon.svg +1 -1
  1348. package/src/icons/WalletWithMoneyIcon.svg +1 -1
  1349. package/src/model/BlockDecorator.ts +17 -0
  1350. package/src/model/BlocksRegistry.ts +11 -0
  1351. package/src/{types.ts → model/ContentPageDef.ts} +5 -23
  1352. package/src/{types → model}/Fallback.ts +1 -0
  1353. package/src/react/IntersectionObserverTag.tsx +10 -3
  1354. package/src/services/sitemap/useSitemap.ts +1 -1
  1355. package/src/ui-kit/BenefitItem/BenefitItemProps.ts +1 -0
  1356. package/src/ui-kit/BlockWrapper.tsx +46 -19
  1357. package/src/ui-kit/BlocksList/renderBlocksList.tsx +2 -2
  1358. package/src/ui-kit/Button/Button.mobile.tsx +4 -1
  1359. package/src/ui-kit/Button/ButtonSection.tsx +1 -1
  1360. package/src/ui-kit/Button/buttonClassNameConstants.ts +2 -1
  1361. package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +21 -36
  1362. package/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +3 -7
  1363. package/src/ui-kit/CurrencyInput/adjustValue .ts +17 -0
  1364. package/src/ui-kit/Foldable/Foldable.tsx +1 -1
  1365. package/src/ui-kit/Icon/Icon.fixture.tsx +5 -5
  1366. package/src/ui-kit/Icon/Icon.tsx +29 -12
  1367. package/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  1368. package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1369. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
  1370. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1371. package/src/ui-kit/Input/Input.tsx +37 -16
  1372. package/src/ui-kit/Input/InputProps.ts +6 -3
  1373. package/src/ui-kit/Logo/Logo.mobile.tsx +9 -5
  1374. package/src/ui-kit/Logo/Logo.tsx +3 -3
  1375. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
  1376. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +1 -1
  1377. package/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
  1378. package/src/ui-kit/{SelectCustom/SelectCustom.fixture.tsx → Select/Select.fixture.tsx} +2 -2
  1379. package/src/ui-kit/Select/Select.tsx +86 -20
  1380. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +1 -1
  1381. package/src/utils/changeHashOnObserve.ts +30 -10
  1382. package/tailwind.config.cjs +0 -1
  1383. package/bin/migration-scripts/0.4.5.spec.ts +0 -352
  1384. package/dist/components/BlockContent.d.ts +0 -32
  1385. package/dist/components/BlockContent.js.map +0 -1
  1386. package/dist/components/ExchangeRateTile/renderButton.d.ts +0 -3
  1387. package/dist/components/ExchangeRateTile/renderButton.js +0 -9
  1388. package/dist/components/ExchangeRateTile/renderButton.js.map +0 -1
  1389. package/dist/types.js.map +0 -1
  1390. package/dist/ui-kit/Select/SelectOption.d.ts +0 -7
  1391. package/dist/ui-kit/Select/SelectOption.js +0 -8
  1392. package/dist/ui-kit/Select/SelectOption.js.map +0 -1
  1393. package/dist/ui-kit/SelectCustom/SelectCustom.d.ts +0 -13
  1394. package/dist/ui-kit/SelectCustom/SelectCustom.js +0 -30
  1395. package/dist/ui-kit/SelectCustom/SelectCustom.js.map +0 -1
  1396. package/dist/utils/isSSR.d.ts +0 -1
  1397. package/dist/utils/isSSR.js +0 -5
  1398. package/dist/utils/isSSR.js.map +0 -1
  1399. package/lib/components/BlockContent.d.ts +0 -32
  1400. package/lib/components/BlockContent.js +0 -2
  1401. package/lib/components/BlockContent.js.map +0 -1
  1402. package/lib/components/ExchangeRateTile/renderButton.d.ts +0 -3
  1403. package/lib/components/ExchangeRateTile/renderButton.js +0 -6
  1404. package/lib/components/ExchangeRateTile/renderButton.js.map +0 -1
  1405. package/lib/types.js +0 -2
  1406. package/lib/types.js.map +0 -1
  1407. package/lib/ui-kit/Select/SelectOption.d.ts +0 -7
  1408. package/lib/ui-kit/Select/SelectOption.js +0 -6
  1409. package/lib/ui-kit/Select/SelectOption.js.map +0 -1
  1410. package/lib/ui-kit/SelectCustom/SelectCustom.d.ts +0 -13
  1411. package/lib/ui-kit/SelectCustom/SelectCustom.js +0 -28
  1412. package/lib/ui-kit/SelectCustom/SelectCustom.js.map +0 -1
  1413. package/lib/utils/isSSR.d.ts +0 -1
  1414. package/lib/utils/isSSR.js +0 -2
  1415. package/lib/utils/isSSR.js.map +0 -1
  1416. package/mobile/dist/components/BlockContent.d.ts +0 -32
  1417. package/mobile/dist/components/BlockContent.js.map +0 -1
  1418. package/mobile/dist/components/ExchangeRateTile/renderButton.d.ts +0 -3
  1419. package/mobile/dist/components/ExchangeRateTile/renderButton.js +0 -9
  1420. package/mobile/dist/components/ExchangeRateTile/renderButton.js.map +0 -1
  1421. package/mobile/dist/types.js +0 -2
  1422. package/mobile/dist/types.js.map +0 -1
  1423. package/mobile/dist/ui-kit/Select/SelectOption.d.ts +0 -7
  1424. package/mobile/dist/ui-kit/Select/SelectOption.js +0 -8
  1425. package/mobile/dist/ui-kit/Select/SelectOption.js.map +0 -1
  1426. package/mobile/dist/ui-kit/SelectCustom/SelectCustom.d.ts +0 -13
  1427. package/mobile/dist/ui-kit/SelectCustom/SelectCustom.js +0 -30
  1428. package/mobile/dist/ui-kit/SelectCustom/SelectCustom.js.map +0 -1
  1429. package/mobile/dist/utils/isSSR.d.ts +0 -1
  1430. package/mobile/dist/utils/isSSR.js +0 -5
  1431. package/mobile/dist/utils/isSSR.js.map +0 -1
  1432. package/mobile/lib/components/BlockContent.d.ts +0 -32
  1433. package/mobile/lib/components/BlockContent.js +0 -2
  1434. package/mobile/lib/components/BlockContent.js.map +0 -1
  1435. package/mobile/lib/components/ExchangeRateTile/renderButton.d.ts +0 -3
  1436. package/mobile/lib/components/ExchangeRateTile/renderButton.js +0 -6
  1437. package/mobile/lib/components/ExchangeRateTile/renderButton.js.map +0 -1
  1438. package/mobile/lib/types.js +0 -2
  1439. package/mobile/lib/types.js.map +0 -1
  1440. package/mobile/lib/ui-kit/Select/SelectOption.d.ts +0 -7
  1441. package/mobile/lib/ui-kit/Select/SelectOption.js +0 -6
  1442. package/mobile/lib/ui-kit/Select/SelectOption.js.map +0 -1
  1443. package/mobile/lib/ui-kit/SelectCustom/SelectCustom.d.ts +0 -13
  1444. package/mobile/lib/ui-kit/SelectCustom/SelectCustom.js +0 -28
  1445. package/mobile/lib/ui-kit/SelectCustom/SelectCustom.js.map +0 -1
  1446. package/mobile/lib/utils/isSSR.d.ts +0 -1
  1447. package/mobile/lib/utils/isSSR.js +0 -2
  1448. package/mobile/lib/utils/isSSR.js.map +0 -1
  1449. package/mobile/src/components/BlockContent.ts +0 -61
  1450. package/mobile/src/components/Blocks.spec.tsx +0 -66
  1451. package/mobile/src/components/ContentPage/computeAPIFallback.spec.ts +0 -63
  1452. package/mobile/src/components/ContentPage/normalizeBlock.spec.ts +0 -50
  1453. package/mobile/src/components/ExchangeRateTile/renderButton.tsx +0 -10
  1454. package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +0 -1203
  1455. package/mobile/src/content-page-repository/mapJSON.spec.ts +0 -28
  1456. package/mobile/src/services/sitemap/checkIsHrefSameOrigin.spec.ts +0 -20
  1457. package/mobile/src/services/sitemap/isTopItemActive.spec.ts +0 -60
  1458. package/mobile/src/services/sitemap/mergeTopItems.spec.ts +0 -20
  1459. package/mobile/src/ui-kit/Select/SelectOption.tsx +0 -18
  1460. package/mobile/src/ui-kit/SelectCustom/SelectCustom.tsx +0 -91
  1461. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.spec.ts +0 -19
  1462. package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +0 -42
  1463. package/mobile/src/utils/adjustHref.spec.ts +0 -25
  1464. package/mobile/src/utils/isSSR.ts +0 -2
  1465. package/mobile/src/utils/maxBy.spec.ts +0 -11
  1466. package/mobile/src/utils/url.spec.ts +0 -17
  1467. package/src/components/BlockContent.ts +0 -61
  1468. package/src/components/Blocks.spec.tsx +0 -66
  1469. package/src/components/ContentPage/computeAPIFallback.spec.ts +0 -63
  1470. package/src/components/ContentPage/normalizeBlock.mobile.spec.ts +0 -71
  1471. package/src/components/ContentPage/normalizeBlock.spec.ts +0 -50
  1472. package/src/components/ExchangeRateTile/renderButton.tsx +0 -10
  1473. package/src/components/__snapshots__/Blocks.spec.tsx.snap +0 -1203
  1474. package/src/content-page-repository/mapJSON.spec.ts +0 -28
  1475. package/src/services/sitemap/checkIsHrefSameOrigin.spec.ts +0 -20
  1476. package/src/services/sitemap/isTopItemActive.spec.ts +0 -60
  1477. package/src/services/sitemap/mergeTopItems.spec.ts +0 -20
  1478. package/src/ui-kit/Select/SelectOption.tsx +0 -18
  1479. package/src/ui-kit/SelectCustom/SelectCustom.tsx +0 -91
  1480. package/src/ui-kit/SwipeListControl/utils/getIndexParts.spec.ts +0 -19
  1481. package/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +0 -42
  1482. package/src/utils/adjustHref.spec.ts +0 -25
  1483. package/src/utils/isSSR.ts +0 -2
  1484. package/src/utils/maxBy.spec.ts +0 -11
  1485. package/src/utils/url.spec.ts +0 -17
@@ -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),r=n("useState"),l=n("useEffect"),a=n("useCallback"),o=n("useMemo");function i(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}}}}const s=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 CDN(){return this._.CDN}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/${s.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:r}=await e.json();return r||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:r}=await e();try{const e=await fetch(`/assist/v1/public/projects/${s.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:l}=await e.json();return l||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:r}=await e();try{const e=await fetch(`/assist/v1/public/projects/${s.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:l}=await e.json();return l||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:r,...l}=t||{},a=n?.slots?.default,o=r||a&&a();return e(Object.assign(l,o&&{children:o}),n)}return t.inheritAttrs=!1,t},x={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},g=u((e=>{const{className:t,headingType:n="h3",title:r,as:l="h3"}=e;return m(l,{className:`font-sans font-medium m-0 ${x[n]} ${t||""}`,children:r})}));var b,f;!function(e){e.ActualBalanceIcon="ActualBalanceIcon",e.AirPlaneIcon="AirPlaneIcon",e.AppleIcon="AppleIcon",e.ArrowDownIcon="ArrowDownIcon",e.ArrowLeftIcon="ArrowLeftIcon",e.ArrowUpIcon="ArrowUpIcon",e.AtmIcon="AtmIcon",e.BankIcon="BankIcon",e.BuildingIcon="BuildingIcon",e.BurgerIcon="BurgerIcon",e.Calendar2Icon="Calendar2Icon",e.CalendarCircleIcon="CalendarCircleIcon",e.CalendarIcon="CalendarIcon",e.CalendarTickIcon="CalendarTickIcon",e.Car2Icon="Car2Icon",e.CardIcon="CardIcon",e.CardPosIcon="CardPosIcon",e.CardTickIcon="CardTickIcon",e.CardWithGemIcon="CardWithGemIcon",e.CarIcon="CarIcon",e.ChartSquareIcon="ChartSquareIcon",e.CinemaIcon="CinemaIcon",e.ClockIcon="ClockIcon",e.CloseIcon="CloseIcon",e.ComfortableCompIcon="ComfortableCompIcon",e.CreditCardsIcon="CreditCardsIcon",e.DiscountShapeIcon="DiscountShapeIcon",e.DocDownloadIcon="DocDownloadIcon",e.DocIcon="DocIcon",e.DocIconMonoColor="DocIconMonoColor",e.DocsIcon="DocsIcon",e.DocumentTextIcon="DocumentTextIcon",e.DollarIcon="DollarIcon",e.DoneIcon="DoneIcon",e.DoneSimpleIcon="DoneSimpleIcon",e.EarthIcon="EarthIcon",e.EmptyWalletChangeIcon="EmptyWalletChangeIcon",e.EmptyWalletIcon="EmptyWalletIcon",e.EuroIcon="EuroIcon",e.GeolocationIcon="GeolocationIcon",e.GlassIcon="GlassIcon",e.GlobalIcon="GlobalIcon",e.GpsIcon="GpsIcon",e.GridIcon="GridIcon",e.InterestGrowthIcon="InterestGrowthIcon",e.InterestIcon="InterestIcon",e.JCBIcon="JCBIcon",e.LogoIcon="LogoIcon",e.LoupeIcon="LoupeIcon",e.MapMarkerClusterIcon="MapMarkerClusterIcon",e.MapMarkerSingleIcon="MapMarkerSingleIcon",e.MasterCardIcon="MasterCardIcon",e.MinusIcon="MinusIcon",e.MirIcon="MirIcon",e.MoneyIcon="MoneyIcon",e.MoneyInsuranceIcon="MoneyInsuranceIcon",e.MoneysIcon="MoneysIcon",e.MonitorMobileIcon="MonitorMobileIcon",e.NewDocIcon="NewDocIcon",e.OfficeIcon="OfficeIcon",e.OkIcon="OkIcon",e.PackA4Icon="PackA4Icon",e.PassSendIcon="PassSendIcon",e.PercentageRoundIcon="PercentageRoundIcon",e.PercentageSquareIcon="PercentageSquareIcon",e.PersonalCardIcon="PersonalCardIcon",e.PlayMarketIcon="PlayMarketIcon",e.PlusIcon="PlusIcon",e.PowerIcon="PowerIcon",e.Profile2UserIcon="Profile2UserIcon",e.ProfileIcon="ProfileIcon",e.PumpkinIcon="PumpkinIcon",e.RoundRubleIcon="RoundRubleIcon",e.SafeIcon="SafeIcon",e.ShieldTickIcon="ShieldTickIcon",e.SignDocsIcon="SignDocsIcon",e.SmallClockIcon="SmallClockIcon",e.SoundIcon="SoundIcon",e.StrongBoxIcon="StrongBoxIcon",e.TelegramIcon="TelegramIcon",e.UnionPayIcon="UnionPayIcon",e.UserSquareIcon="UserSquareIcon",e.UserTickIcon="UserTickIcon",e.VisaIcon="VisaIcon",e.VKIcon="VKIcon",e.WalletAdd2Icon="WalletAdd2Icon",e.WalletAddIcon="WalletAddIcon",e.WalletIcon="WalletIcon",e.WalletWithMoneyIcon="WalletWithMoneyIcon",e.WateringCanIcon="WateringCanIcon"}(b||(b={})),function(e){e.ActualBalanceIcon="Деньги",e.AirPlaneIcon="Самолёт",e.AppleIcon="Лого «Apple»",e.ArrowDownIcon="Стрелка 'Вниз'",e.ArrowLeftIcon="Стрелка",e.ArrowUpIcon="Стрелка вверх",e.AtmIcon="Банкомат",e.BankIcon="Банк",e.BuildingIcon="Здание с деревом",e.BurgerIcon="Бургер",e.Calendar2Icon="Календарь 2",e.CalendarCircleIcon="Скруглённый календарь",e.CalendarIcon="Календарь",e.CalendarTickIcon="Календарь с галочкой",e.Car2Icon="Машина2",e.CardIcon="Кред. карта",e.CardPosIcon="Кред. карта под наклоном",e.CardTickIcon="Кред. карта с галочкой",e.CardWithGemIcon="Карта с драгоценностями",e.CarIcon="Машина",e.ChartSquareIcon="Деньги внутри кошелька",e.CinemaIcon="Кинотеатр",e.ClockIcon="Часы",e.CloseIcon="Крестик",e.ComfortableCompIcon="Кресло",e.CreditCardsIcon="Кредитные карты",e.DiscountShapeIcon="Скидка",e.DocDownloadIcon="Скачать документ",e.DocIcon="Документ",e.DocIconMonoColor="Документ (одноцветный)",e.DocsIcon="Документы",e.DocumentTextIcon="Документ с текстом",e.DollarIcon="Доллар",e.DoneIcon="Зелёная 'галочка' в круге",e.DoneSimpleIcon="Зелёная 'галочка'",e.EarthIcon="Земля",e.EmptyWalletChangeIcon="Пустой кошелёк с возвратом",e.EmptyWalletIcon="Пустой кошелёк",e.EuroIcon="Евро",e.GeolocationIcon="Геолокация",e.GlassIcon="Зеркало",e.GlobalIcon="Глобус",e.GpsIcon="Gps",e.GridIcon="Сетка (белая)",e.InterestGrowthIcon="Диаграмма роста",e.InterestIcon="Скидка",e.JCBIcon="JCB",e.LogoIcon="Logo",e.LoupeIcon="Лупа",e.MapMarkerClusterIcon="Маркер карты",e.MapMarkerSingleIcon="Маркер карты РСХБ",e.MasterCardIcon="MasterCard",e.MinusIcon="Минус",e.MirIcon="МИР",e.MoneyIcon="Деньги",e.MoneyInsuranceIcon="Денежное страхование",e.MoneysIcon="MoneysIcon",e.MonitorMobileIcon="Монитор и мобильный",e.NewDocIcon="Новый документ",e.OfficeIcon="Офис",e.OkIcon="Лого «Одноклассники»",e.PackA4Icon="Пачка бумаги А4",e.PassSendIcon="Бизнес",e.PercentageRoundIcon="Проценты (круг.)",e.PercentageSquareIcon="Проценты",e.PersonalCardIcon="Персональная карта",e.PlayMarketIcon="Лого «PlayMarket»",e.PlusIcon="Плюс",e.PowerIcon="Щит",e.Profile2UserIcon="Профиль, 2 персоны",e.ProfileIcon="Профиль",e.PumpkinIcon="Тыква",e.RoundRubleIcon="Рубль (круг.)",e.SafeIcon="Сейф",e.ShieldTickIcon="Безопасность",e.SignDocsIcon="Подписанные документы",e.SmallClockIcon="Маленькие часы",e.SoundIcon="Звук",e.StrongBoxIcon="Ящик с замочной скважиной",e.TelegramIcon="Лого «Telegram»",e.UnionPayIcon="UnionPay",e.UserSquareIcon="Пользователь в рамке",e.UserTickIcon="Пользователь",e.VisaIcon="Visa",e.VKIcon="Лого «VK»",e.WalletAdd2Icon="Пополнение карты",e.WalletAddIcon="Кошелёк с плюсом",e.WalletIcon="Кошелёк",e.WalletWithMoneyIcon="Кошелёк с деньгами",e.WateringCanIcon="Добавить продукт"}(f||(f={}));const y={normal:"text-primary-main",black:"text-black",white:"text-black invert"},N=u((({className:e="",imageClassName:t="",name:n="",alt:r=`Иконка ${f[n]||n}`,title:l=r,iconVersion:a="normal",asSVG:o,...i})=>{const c=`${s.CDN||""}icons/${n}.svg`;return o?h("svg",{className:e,...i,"aria-hidden":"true",children:[l?m("title",{children:l}):null,r?m("desc",{children:r}):null,m("use",{className:`${y[a]} ${t}`,href:`${c}#icon`,xlinkHref:`${c}#icon`})]}):m("img",{className:e,src:c,alt:r,title:l,...i,"aria-hidden":"true"})}));function I(e){return"string"==typeof e?"normal":e.iconVersion||"normal"}const v=(e,t)=>e.media&&t.media?e.media-t.media:0,w=u((({className:e="",image:t,imageClassName:n="",isMobile:r=!1})=>{if(!t||!t?.sources&&!t?.src)return null;return h("picture",{className:`${r?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.sort(v).map((({src:e,format:n,media:r},l)=>m("source",{srcSet:e,type:C(n),media:r?`(max-width: ${r}px)`:"",...t.size},`${l}_${e}`))):null,k(t,n,r)]})})),k=(e,t="",n=!1)=>{const r={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},l=e.title||"",a=e.alt||e.title,o=n?"m-auto":"m-0";return m("img",{src:e.src,className:`${o} ${t}`,alt:a,title:l,style:r,...e.size})};function C(e){return e?`image/${String(e)}`:void 0}const S=u((({className:e="",image:t,imageClassName:n="",isMobile:r,...l})=>{if(!t)return null;const a="string"==typeof t?t:t.icon;return a||""===a?a.length?m(N,{className:e,imageClassName:n,iconVersion:I(t),name:a,...l}):null:m(w,{className:e,imageClassName:n,image:t,isMobile:r})})),$=u((({className:e="",image:t,imageClassName:n,...r})=>m(S,{className:e,image:t,imageClassName:n,...r,isMobile:!0})));function D(e){return e?e.filter(Boolean).join(" "):""}const T={left:"text-left",center:"text-center",right:"text-right"},_={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"}},R=u((({bgColorHeadline:e="transparent",className:t="",title:n,description:r,image:l,align:a="left"})=>{const o=_[e];return h("section",{className:`px-4 py-6 flex flex-col gap-2.5 ${o.background} ${t}`,children:[n?m(g,{headingType:"h2",className:`${o.text} ${T[a]}`,title:n}):null,r?m("p",{className:`text-m ${o.description} ${T[a]}`,children:r}):null,l?.src&&m("div",{className:"mt-2.5 mx-auto flex justify-center",children:m($,{image:l})})]})})),B=u((({children:e,activeIndex:t,indexFraction:n,showDots:r})=>{const l=e=>n=>{if(e===t)return;const r=n.currentTarget.parentElement?.previousElementSibling;r?.children[e]?.scrollIntoView({behavior:"smooth",block:"nearest"})};return r&&e?.length?m("div",{className:"flex gap-2 mx-auto mt-5 w-fit",children:e?.map(((e,r)=>m("div",{onClick:l(r),className:"bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full",style:M(r,t,n),"aria-hidden":!0},String(r))))}):null})),M=(e,t,n)=>{if(e<t||e>t+1)return;const r=1-n;return e===t?{opacity:""+(.3+.7*r),width:6+16*r+"px"}:{opacity:""+(.3+.7*n),width:6+16*n+"px"}},A=u((({className:e="",children:t,...n})=>m("div",{className:`snap-center snap-always min-w-full box-border ${e}`,role:"listitem",...n,children:t}))),P=e=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e}px`}),L=u((({className:e="",children:t,activeIndex:n,onScroll:r,gap:l=14,padding:a=16})=>m("div",{className:`overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...P(a),gap:`${l}px`},role:"list",onScroll:r,children:t?.length?t?.map(((e,t)=>m(A,{style:P(a/4),"aria-current":Boolean(n===t),children:e},String(t)))):m(A,{children:t})}))),V=u((({className:e,children:t,gap:n=14,padding:l=16,showDots:a=!0,onSlideChange:o})=>{const[i,s]=r(0),[c,d]=r(0),u={activeIndex:i,indexFraction:c,showDots:a,children:t};return h("div",{className:e,children:[m(L,{gap:n,padding:l,activeIndex:i,onScroll:e=>{const{scrollLeft:t,clientWidth:r,childElementCount:a,scrollWidth:c,children:m}=e?.currentTarget,h=m[0].offsetWidth-l/2,u=(({gap:e,padding:t,clientWidth:n,scrollWidth:r,childElementCount:l,itemWidth:a})=>{const o=r-n;if(2===l)return[[0,o],[o,r]];const i=a+e,s=n-e-t,c=l-2,d=new Array(l).fill(0).map(((e,t)=>0===t||t===c?[t>0?o-s:0,t>0?o:s]:[(t-1)*i+s,t*i+s]));return d[l-1]=[o,r],d})({gap:n,padding:l,clientWidth:r,scrollWidth:c,childElementCount:a,itemWidth:h}),{index:p,fraction:x}=((e,t)=>{const n=t.findIndex((([t,n])=>t<=e&&e<n));if(n<0)return{index:n,fraction:0};const[r,l]=t[n];return{index:n,fraction:(e-r)/(l-r)}})(t,u);p!==i&&o&&o(),s(p),d(x)},children:t}),m(B,{...u})]})})),j=u((({className:e,iconClassName:t,textClassName:n,suffixClassName:r,doc:l,icon:a})=>{const{text:o,fileSize:i,...s}=l;return h("a",{className:e,role:"link",...s,children:[a?m($,{className:t,image:a,width:"24px",height:"24px",asSVG:!0}):null,o?h("span",{className:n,children:[o,m("span",{className:r,children:s?.href&&G(E(s.href),i)})]}):null]})})),G=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),E=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},U=u((({className:e="",doc:t,icon:n})=>m(j,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:n}))),O=u((({context:e,hasBorder:t=!0,documents:n,icon:r})=>m(V,{context:e,className:"text-s text-primary-main mt-5",children:n?.length?n.map(((e,n)=>m(U,{className:t?"rounded-md border-main-stroke border border-solid p-4":"",doc:e,icon:r},String(n)))):null}))),W=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,r)=>m("div",{role:"listitem",children:m(U,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:n})},String(r)))):null}))),F=u((({className:e="",context:t,title:n,description:r,icon:l={icon:"DocIconMonoColor"},documents:a,orientation:o="vertical",hasBorder:i=!0})=>h("section",{className:`font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${e}`,children:[m(R,{className:"!p-0 "+(r?"gap-2":"gap-5"),title:n,description:r,context:t,align:"center"}),"vertical"===o?m(W,{hasBorder:i,documents:a,icon:l}):m(O,{context:t,hasBorder:i,documents:a,icon:l})]}))),z=e=>e?.includes("//"),H=e=>(e||"").replace(/\/?\?.*/,""),J=e=>{if(!e||!z(e))return;const t=e,n=t.indexOf("//"),r=t.indexOf("/",n+"//".length);return-1!==r?t.substring(0,r):t};var q=Object.freeze({__proto__:null,isURL:z,withoutQuery:H,getOrigin:J,getHash:e=>{if(!e||!z(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0},isHash:e=>e?.startsWith("#")});const K="/mobile",Y=(e,t)=>{if(!e)return e;const n=J(t?.href);return n?e.replace(n,"")||"/":e},X=e=>e;function Q({router:e,handlerDecorator:t=X},n){const r=((e,t)=>{if(!e)return e;const n=Y(e,t)||"",r=t?.pathname.startsWith(K);return r&&!z(n)?`/mobile${n}`:n})(n.href,e);return{...n,href:r,"aria-label":n.text,onClick:t((t=>{const l=r&&!z(r),a=!n.target||"_self"===n.target;l&&a&&(t?.preventDefault(),e.push(r))}),n)}}const Z=u((e=>{const{text:t,aboveText:n,appendLeft:r,appendRight:l}=e;return h("div",{className:ee(e),children:[r||null,te(e)?h("div",{children:[m("div",{className:"text-xs-light text-left",children:n}),m("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,l||null]})})),ee=e=>{const{className:t="",version:n,aboveText:r,rounded:l}=e;if("link"===n)return"";const a="gap-2 "+(r?"py-2.5 px-7":"py-4 px-9");return["group flex items-center justify-center",te(e)?a:"h-12 w-12",l?"rounded-full":"",t].join(" ")},te=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),ne={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",link:"text-primary-main"},re={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text",white:"bg-white text-primary-text",link:""},le="w-full text-center font-sans select-none",ae=u((({className:e,text:t,aboveText:n,appendLeft:r,href:l,target:a,onClick:o,children:i,disabled:s,rounded:c,version:d="primary",ariaLabel:h,...u})=>{const p=i??m(Z,{text:t,aboveText:n,appendLeft:r,rounded:c,version:d});return s?m("div",{role:"button","aria-disabled":"true","aria-label":h,tabIndex:-1,className:`inline-block ${le} ${re[d]||""} ${c?"rounded-full":"rounded-md"} ${e||""}`,children:p}):m("a",{className:`${le} inline-block cursor-pointer no-underline focus:border focus:border-primary-focus ${ne[d]||""} ${c?"rounded-full":"rounded-md"} ${e||""}`,href:l,target:a,onClick:o,"aria-label":h,role:l?"link":"button",...u,children:p})})),oe=u((({context:e,className:t="",buttons:n})=>{const{handlerDecorator:r}=e,l=e.useRouter();return n&&n?.length?m("div",{className:t,children:n.map(((e,t)=>function({icon:e,iconRight:t,version:n="primary",...r},l){if(!r?.text)return null;const a="primary"===n?"group-hover:text-black":"group-hover:text-white",o="secondary"===n?"normal":"white";return m(ae,e?{appendLeft:m($,{imageClassName:a,image:{...e,iconVersion:o},width:"24",height:"24",asSVG:!0}),appendRight:m($,{imageClassName:a,image:{...t,iconVersion:o},width:"24",height:"24",asSVG:!0}),version:n,...r}:{version:n,...r},String(l))}(Q({router:l,handlerDecorator:r},e),t)))}):null}));const ie={primary:"rounded-full inline-block mr-3 mt-2",secondary:"rounded-full inline-block mr-3 mt-2",gray:"rounded-full inline-block mr-3 mt-2",tile:"rounded-full inline-block mr-4 mt-3","tile-white":"rounded-full inline-block mr-4 mt-3"},se={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text",tile:"bg-black","tile-white":"bg-white"},ce=u((({className:e="",isDotted:t=!0,children:n,version:r="primary"})=>h("div",{className:`font-sans flex items-start ${e}`,role:"listitem",children:[t?m("div",{className:de(r)}):null,m("span",{children:n})]}))),de=e=>`${ie[e]} ${se[e]} ${{primary:"w-2 h-2 min-w-2 min-h-2",secondary:"w-2 h-2 min-w-2 min-h-2",gray:"w-1.5 h-1.5 min-w-1.5 min-h-1.5",tile:"w-[7px] h-[7px] min-w-[7px] min-h-[7px]","tile-white":"w-[7px] h-[7px] min-w-[7px] min-h-[7px]"}[e]}`,me={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text",tile:"text-primary-text","tile-white":"text-white"},he={M:"text-xl-light",L:"text-h5-light"},ue=u((e=>{const{className:t="",itemClassName:n,isDotted:r,items:l,listItemSize:a="M",version:o="primary"}=e;return m("section",{className:`${me[o]} ${he[a]} ${t}`,role:"list",children:l?.length?l.map(((e,t)=>m(ce,{className:n,isDotted:r,version:o,children:e},String(t)))):null})})),pe=u((({className:e="",title:t="",children:n,buttons:r,image:l})=>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:n}),r?m("div",{className:"mt-auto pt-8",children:r}):null]}),l]})]}))),xe={primary:"text-primary-text",secondary:"text-white"},ge={primary:"text-secondary-text",secondary:"text-white"},be=u((e=>{const{className:t="",icon:n,label:r,description:l,version:a="primary",benefitsVersion:o="normal"}=e,i="white"===o||"secondary"===a;return h("div",{className:`flex gap-5 ${l?"items-start":"items-center"} ${t}`,children:[n?m("div",{className:fe(a,o),children:m($,{className:"w-6 h-6",image:{...n,iconVersion:i?"white":"normal"},asSVG:!0})}):null,h("div",{className:"gap-0.5",children:[r?m("div",{className:`text-h6 ${xe[a]}`,children:r}):null,l?m("div",{className:`text-m-light ${ge[a]}`,children:l}):null]})]})}));function fe(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-[50px] h-[50px] min-w-[50px] rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const ye=(e="primary",t="normal")=>({icon:n,label:r,description:l},a)=>m(be,{icon:n,label:r,description:l,version:e,benefitsVersion:t},String(a)),Ne=u((({className:e="",context:t,title:n,headlineVersion:r="L",description:l,benefits:a,benefitsVersion:o="normal",buttons:i,image:s,items:c,version:d="primary",isDotted:u=!0,label:p})=>h("div",{className:`w-full ${e}`,children:[h("div",{children:[p?we(p,d):null,m(R,{context:t,className:"!p-0 max-w-[600px]",title:n,description:l,bgColorHeadline:d,headlineVersion:r}),h(pe,{context:t,buttons:i?.length?m(oe,{context:t,buttons:i,className:"flex flex-col mt-5 gap-2.5"}):null,children:[a?.filter((e=>e.label))?.length?m("div",{className:"mt-3",children:a.map(ye(d,o))}):null,c?.length?m(ue,{className:"mt-3 text-m",items:c,version:d,isDotted:u}):null]})]}),Ie(s)]})));function Ie(e){return e?.src?m($,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const ve={primary:"text-primary-main border-secondary-hover",secondary:"text-white/80"},we=(e,t)=>m("div",{className:`px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${ve[t]}`,children:e}),ke={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},Ce=u((e=>{const{className:t="",version:n="primary"}=e;return m("section",{className:`font-sans bg-white px-4 py-6 ${ke[n]} ${t}`,children:m(Ne,{...e})})})),Se={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"}},$e=u((({title:e,description:t,blockVersion:n="primary",iconVersion:r,image:l,className:a="",items:o,isDotted:i=!0})=>{const s=Se[n],c="secondary"===n?"secondary":"gray";return h("section",{className:`font-sans px-4 py-[18px] flex flex-col ${s.background} ${a}`,children:["small"===r?De(s.icon):null,"big"===r?Te(l):null,h("div",{className:"py-0.5",children:[e?m("div",{className:`text-l font-medium mb-1 ${s.title}`,children:e}):null,t?m("div",{className:`text-s ${s.description}`,children:t}):null,o?.length?m(ue,{className:"mt-1 text-m",items:o,isDotted:i,version:c}):null]})]})}));function De(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 Te(e){return e?.src?m($,{className:"pb-3 mr-auto",image:e}):null}const _e=u((({context:e,title:t,description:n,cards:r=[],className:l,orientation:a="horizontal"})=>h("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${l}`,children:[h("div",{className:"flex flex-col items-center mb-5",children:[t?m(g,{headingType:"h3",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?m("div",{className:"text-m max-w-[600px] text-center mb-5",children:n}):null]}),Re(a,r,e)]})));function Re(e,t,n){return"horizontal"===e?m(V,{context:n,children:t?.map(Be)}):m("div",{className:"grid gap-[14px]",children:t?.map(Be)})}function Be(e,t){return h("div",{className:`h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col\n ${ke[e.version??"primary"]}`,children:[h("div",{children:[e.image?.src?m("div",{className:"flex justify-center",children:m($,{className:"mb-3.5",image:e.image})}):null,e.title?m("h3",{className:"text-m-title-xs font-medium m-0",children:e.title}):null,e.description?Me(e):null,e.items?.length?Ae(e.items,e.isDotted,e.version):null]}),e?.button?.text?(n=e.button,m(ae,{className:"mt-3",appendLeft:n?.icon&&m($,{image:n?.icon,width:"24px",height:"24px",asSVG:!0}),...n})):null]},t);var n}function Me(e){return m("div",{className:"text-secondary-text mt-1 text-s "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}function Ae(e,t,n="primary"){return m("section",{className:"mt-3",children:e.map(((e,r)=>h("div",{children:[t?m("div",{className:de(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(r))))})}class Pe{static inst=new Pe;subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]||=[],this.subscribers[e]?.push(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){this.subjectsStateMap[e]=t,this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const Le=e=>{if(!e.length)return;const[t]=e;t.isIntersecting},Ve=u((({anchor:e,className:t,context:n,children:a,tag:o="section",labels:i})=>{const s=o,{IntersectionObserverTag:c}=n,[d,h]=r(!0);return l((()=>Pe.inst.subscribe("tab",(e=>{var t;"group"===e.type?h(!i?.length||!e.label||i.includes(e.label)):(h(!0),t=e.label,setTimeout((()=>globalThis.document.getElementById(`#${t}`)?.scrollIntoView({behavior:"smooth"}))))}))),[i]),d?e?m(c,{tag:o,className:t,observerCallback:Le,observerOptions:{threshold:1},anchor:e,children:a}):m(s,{className:t,children:a}):null}));const je=u((({className:e="",documents:t,...n})=>m(Ve,{className:`font-sans bg-white mt-[10px] ${e}`,...n,children:m("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?Ge(t):null})}))),Ge=e=>e.map(((e,t)=>{const{text:n,...r}=e;return m("li",{className:"mb-4 list-none",children:m("a",{className:"hover:text-primary-main",role:"link",...r,children:n||null})},`list_item_${String(t)}`)})),Ee={Headline:R,LinkDocs:F,TextBlock:$e,ProductBlock:Ce,Gallery:_e,LinkList:je},Ue=({blocks:e,context:t,className:n=""})=>e?.length?e.map(Oe({context:t,className:n})):null,Oe=({context:e,className:t})=>(n,r)=>{if(!n)return null;const{style:l,blockListType:a,...o}=n;if(!a||!(a in Ee))return null;const i=D(l);return m(Ee[a],{className:`${t} ${i}`,context:e,...o},`block_${r}`)},We=u((({blocks:e,context:t})=>m("div",{className:"flex flex-wrap transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0",children:Ue({context:t,blocks:e,className:"!px-0"})}))),Fe=u((({label:e,labelIcon:t,blocks:n,bordered:l,context:a})=>{const{hasContent:o,icon:i,handleToggle:s}=(({blocks:e,initialState:t=!1})=>{const[n,l]=r(t),a=e?.length;return{isActive:n,hasContent:a,icon:n?"MinusIcon":"PlusIcon",handleToggle:e=>{const t=e.currentTarget;if(!t)return;l(!n);const r=t.nextSibling;r.style.maxHeight=r.style.maxHeight?"":`${r.scrollHeight}px`}}})({blocks:n});return h("li",{className:`${ze(l)} border-solid border-main-divider`,children:[h("button",{className:`border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text\n ${l?"":"py-[14px] px-0"}\n ${o?"group cursor-pointer":""}`,onClick:s,children:[h("span",{className:"text-m-title-xs font-medium pr-2.5 flex "+(o?"group-hover:text-primary-main":""),children:[t?m($,{image:t,className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,e]}),o?m($,{className:"flex-shrink-0",image:i,width:"24",height:"24",asSVG:!0}):null]}),o?m(We,{blocks:n,context:a}):null]})}));function ze(e){return e?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"}const He=u((({title:e,description:t,accordionItems:n,context:r,className:l="",bordered:a})=>h("section",{className:`py-6 px-4 font-sans bg-white text-primary-text ${l}`,children:[e?m(g,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?m("div",{className:"mb-5 text-m-light text-center",children:t}):null,n?.length?m("ul",{className:"list-none m-0 p-0",children:n.map(((e,t)=>m(Fe,{...e,context:r,bordered:a},`AccordionItem_${t}`)))}):null]}))),Je=(e=!1)=>e?"text-white":"",qe=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Ke=u((({icon:e,image:t,title:n,subtitle:r,isFillGradient:l})=>h("div",{role:"columnheader",children:[e?m($,{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($,{image:t})}),n?m(g,{headingType:"h4",className:Je(l),title:n}):null,r?m("div",{className:qe(l),children:r}):null]}))),Ye=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(Xe(n,t))})}))),Xe=(e,t)=>({label:n,description:r},l)=>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,r?m("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:r}):null]})]},String(l)),Qe=u((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:r,showRow:l,onToggleColumn:a})=>{const o=t?.slice(0,l?t.length:n),i=r?"secondary":"primary";return h("div",{className:`border border-main-stroke rounded-md p-4 mb-3.5 ${r?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[m(Ke,{...e,isFillGradient:r}),o?.length?o.map((({rowHeader:e,cell:t},n)=>m(Ye,{cell:t,rowHeader:e,isFillGradient:r},String(n)))):null,l&&Ze({header:e,buttonVersion:i}),et({onToggleColumn:a,isFillGradient:r,showRow:l})]})})),Ze=({header:e,buttonVersion:t})=>m(ae,{href:e.link.href,target:e.link.target,version:t,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}),et=({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?"Скрыть":"Показать описание"})}),tt=u((({className:e,context:t,title:n,rowHeaders:l,columns:a,visibleRowLength:o=0,isColoredFirstColumn:i=!1,orientation:s="vertical"})=>{const c=a?.map((({data:e,header:t})=>({header:t,column:e?.map(((e,t)=>({cell:e,rowHeader:l?.[t]?.title})))})))||[],[d,u]=r(new Array(a?.length||0).fill(!o));return h("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${e||""}`,children:[n?m(g,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,nt({tableData:c,context:t,visibleRowLength:o,isColoredFirstColumn:i,columnsViewState:d,handleToggleColumn:e=>{d[e]=!d[e],u([...d])},orientation:s,setColumnsViewState:u})]})})),nt=({context:e,tableData:t,visibleRowLength:n,isColoredFirstColumn:r,columnsViewState:l,handleToggleColumn:a,orientation:o="horizontal",setColumnsViewState:i})=>m("div",{role:"table",children:t?.length?rt({orientation:o,context:e,columnsViewState:l,setColumnsViewState:i,tableData:t,visibleRowLength:n,isColoredFirstColumn:r,handleToggleColumn:a}):null}),rt=({orientation:e,context:t,columnsViewState:n,setColumnsViewState:r,tableData:l,visibleRowLength:a,isColoredFirstColumn:o,handleToggleColumn:i})=>"horizontal"===e?m(V,{context:t,onSlideChange:at(n,r),children:l.map(lt({context:t,visibleRowLength:a,isColoredFirstColumn:o,columnsViewState:n,handleToggleColumn:i}))}):l.map(lt({context:t,visibleRowLength:a,isColoredFirstColumn:o,columnsViewState:n,handleToggleColumn:i})),lt=({context:e,visibleRowLength:t,isColoredFirstColumn:n,columnsViewState:r,handleToggleColumn:l})=>(a,o)=>m(Qe,{context:e,visibleRowLength:t,showRow:r[o],header:a.header,columnData:a.column,isFillGradient:0===o&&n,onToggleColumn:()=>l(o)},String(o)),at=(e,t)=>()=>{t(new Array(e.length).fill(!1))},ot=new Map;function it(e){return e?Array.isArray(e)?e:e instanceof Function?it(e()):[e]:[e]}let st=function(e,t,{fallback:n}={}){const a=o((()=>it(e)),[e]),[i,s]=r(),[c,d]=r(),m=e=>{s(e),d(void 0)},h=e=>{s(void 0),d(e)};l((()=>{if(!a.every((e=>null===e)))try{const e=t(...a);"then"in e?(e=>{e.then((e=>ot.get(a)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...a]);const u=a[0],p=n&&"string"==typeof u&&n[u];return{data:i||c||!p?i:p,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}};const ct=(...e)=>st(...e);async function dt(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}const mt=(e,t=2)=>{const n=10**t;return Math.round(parseFloat(String(e))*n)/n};function ht(){return async function(e,t){try{return await dt(e,t)}catch(e){console.error(e)}return null}(ut,{method:"POST",body:JSON.stringify(pt)})}const ut="https://coins.rshb.ru/api/catalog/vue_storefront_magento_1_currency_rates_average/currency_rates_average/_search?size=10000",pt={query:{bool:{must:[{term:{russian_region_code:"77"}},{term:{from_volume:"0"}},{terms:{currency_pair:["USD/RUB","EUR/RUB"]}}]}}},xt=e=>e.reduce(((e,t)=>{const n=t.currency_first?.code;return e.some((e=>e.code===n))||e.push({code:n,buy:mt(Number(t.rate_buy),3),sell:mt(Number(t.rate_sell),3)}),e}),[]);var gt;!function(e){e.RUB="RUB",e.EUR="EUR",e.USD="USD"}(gt||(gt={}));const bt=new Intl.NumberFormat("ru",{style:"currency",currency:gt.RUB}),ft=e=>e?bt.format(e):"",yt="text-left text-m-light text-secondary-text",Nt={USD:"DollarIcon",EUR:"EuroIcon"},It=u((({className:e,exchangeCurrencyItems:t})=>h("table",{className:`h-fit w-fit ${e}`,children:[m("thead",{children:h("tr",{children:[m("th",{className:yt,children:"Валюта"}),m("th",{className:`${yt} pl-11`,children:"Купить"}),m("th",{className:`${yt} pl-11`,children:"Продать"})]})}),m("tbody",{children:t.map((e=>vt(e)))})]}))),vt=e=>{const t=e?.code;return h("tr",{className:"pb-1 text-h6",children:[m("td",{className:"pt-4",children:h("div",{className:"flex items-center",children:[t?m($,{image:{icon:Nt[t]},width:"24",height:"24"}):null,m("span",{className:"ml-2",children:t})]})}),m("td",{className:"pt-4 pl-11",children:ft(e?.sell)}),m("td",{className:"pt-4 pl-11",children:ft(e?.buy)})]},t)},wt=u((({className:e="",address:t,distance:n})=>h("div",{className:`flex ${e}`,children:[m($,{image:{icon:"GpsIcon"},width:"24",height:"24",asSVG:!0}),h("div",{className:"ml-3",children:[t?m("p",{className:"text-primary-main m-0 mb-1 text-l",children:t}):null,n?h("p",{className:"text-secondary-text m-0 text-m",children:["Курс указан для ближайшего офиса - ",n]}):null]})]}))),kt=(e,t,n)=>{const r=Number(Ct(e))*Math.pow(t,n?-1:1);return Number.isInteger(r)?r:mt(r)},Ct=e=>e.replace(/[^\d.,]/g,"").replace(",","."),St=e=>{return(t=[[e=>e.value!==gt.RUB&&e.oppositeValue!==gt.RUB,()=>e.handleConvert(e.value,gt.RUB)],[e=>e.value===gt.RUB&&e.oppositeValue===gt.RUB,()=>e.handleConvert(e.value,gt.USD)],[()=>!0,()=>e.handleConvert(e.value)]],e=>{const[,n]=t.find((([t])=>t(e)))||[];return n})(e)?.();var t},$t=u((({className:e="",id:t,name:n,type:r="text",placeholder:l,pattern:a,value:o,onChange:i})=>m("input",{className:`border rounded-md border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text text-primary-text outline-none ${e}`,id:t,name:n||t,type:r,pattern:a,placeholder:l,value:o,onChange:e=>{const t=e.target.validity.valid?e.target.value:o;i(t)}}))),Dt=u((({className:e="",isBorder:t=!0,label:n,options:a=[],value:o,onChange:i})=>{const[s,c]=r(a[0]||{key:"",text:""}),[d,u]=r(!1);return l((()=>{c(o||{key:"",text:""})}),[o]),h("div",{className:`${d?"z-10":""} ${e}`,children:[n?m("span",{className:"mb-2",children:n}):null,h("div",{className:"relative w-fit",children:[h("div",{className:`text-m-light flex justify-between items-center min-h-[56px] mb-0.5 p-4 pr-8 text-primary-text cursor-pointer\n ${_t(t)}`,onClick:()=>u(!d),children:[s.text,m(N,{name:"ArrowUpIcon",width:"16",height:"16",className:"absolute right-3 "+(d?"":"rotate-180")})]}),a.length>0?m("div",{className:"h-0 "+(d?"":"overflow-hidden"),children:m("div",{className:"bg-white text-l rounded-md",children:a.map(Tt((e=>{c(e),u(!1),i(e)}),d,(e=>Boolean(e.key===s.key))))})}):null]})]})})),Tt=(e,t,n)=>(r,l)=>h("div",{onClick:()=>{e(r)},className:"flex px-4 py-3 cursor-pointer hover:bg-main-divider pr-11",children:[m("span",{children:r.text}),m(N,{name:"DoneSimpleIcon",width:"16",height:"16",className:["absolute right-4 pt-0.5",n(r)&&t?"":"hidden"].join(" ")})]},String(l));function _t(e){return e?"border border-main-stroke rounded-md hover:border-primary-hover":""}function Rt(e){const{placeholder:t,rates:n,selected:r,value:l,setValue:a,setSelected:o}=e,i=n.map((e=>({key:e.code??"",text:e.code??""}))),s={key:r,text:r};return h("div",{className:"relative flex",children:[m($t,{className:"shrink-0 h-14 pl-4 pt-4 pb-4 text-l w-full appearance-none mr-[-90px]",placeholder:t,type:"text",value:l,onChange:a}),i.length?m(Dt,{isBorder:!1,onChange:e=>o(e.key),options:i,value:s}):null]})}const Bt=u((({context:e,className:t="",currencyRatesBuy:n,currencyRatesSell:l,button:a})=>{const{useRouter:o,handlerDecorator:i}=e,s=o(),[c,d]=r({inputSell:"",inputBuy:"",selectSell:n?.[0]?.code||gt.RUB,selectBuy:l?.[0]?.code||gt.USD}),u=e=>{d((t=>({...t,...e})))};return h("div",{className:`grid gap-[18px] pt-2 ${t}`,children:[Rt({placeholder:"Хочу продать",rates:l,selected:c.selectSell,setSelected:Mt(c,u,l),value:c.inputSell,setValue:e=>Pt(u,l)(e,c.selectSell,c.selectBuy)}),Rt({placeholder:"Получу",rates:n,selected:c.selectBuy,setSelected:At(c,u,n),value:c.inputBuy,setValue:e=>Lt(u,n)(e,c.selectBuy,c.selectSell)}),a?.text?m(ae,{className:"py-4 mr-1",version:a?.version,...Q({router:s,handlerDecorator:i},a),children:a.text}):null]})})),Mt=(e,t,n)=>r=>{t({selectSell:r}),St({value:r,oppositeValue:e.selectBuy,handleConvert:(r=e.selectSell,l=e.selectBuy)=>{Pt(t,n)(e.inputSell,r,l)}})},At=(e,t,n)=>r=>{t({selectBuy:r}),St({value:r,oppositeValue:e.selectSell,handleConvert:(r=e.selectBuy,l=e.selectSell)=>Lt(t,n)(e.inputBuy,r,l)})},Pt=(e,t)=>(n,r,l)=>{e({inputSell:Ct(n),selectBuy:l});const a=t.find((e=>e.code===l))?.buy||t.find((e=>e.code===r))?.sell;a&&e({inputBuy:String(kt(n,a,r===gt.RUB)||"")})},Lt=(e,t)=>(n,r,l)=>{e({inputBuy:Ct(n),selectSell:l});const a=t.find((e=>e.code===l))?.sell||t.find((e=>e.code===r))?.buy;a&&e({inputSell:String(kt(n,a,r===gt.RUB)||"")})},Vt={address:"Москва, ул.Ленина д.28",distance:"6км"},jt=u((({className:e="",context:t,title:n="Курсы обмена валют",button:r,...l})=>{const a=function(){const{data:e}=ct(ut,ht),t=e?.hits?.hits?.map((e=>e._source))||[];return t.length?xt(t):t}(),o=a.filter((e=>e.buy));o.unshift({code:gt.RUB});const i=a.filter((e=>e.sell));return i.push({code:gt.RUB}),m(Ve,{context:t,className:`bg-white text-primary-text font-sans p-9 box-border ${e}`,...l,children:m(pe,{context:t,title:m(g,{headingType:"h4",title:n,className:"whitespace-pre-wrap text-h4"}),children:h("div",{className:"flex",children:[h("div",{className:"mr-14 pt-4",children:[a?m(It,{className:"mb-[30px]",exchangeCurrencyItems:a}):null,m(wt,{...Vt})]}),a.length&&o.length&&i.length?m(Bt,{className:"grow",context:t,currencyRatesBuy:o,currencyRatesSell:i,button:r}):null]})})})})),Gt={"bg-white":"text-primary-main",transparent:"text-white"},Et={"bg-white":"text-black",transparent:"text-white"},Ut=u((({className:e="",href:t,children:n,targetBlank:r,bgColor:l="bg-white",hideTitle:a})=>h("a",{className:`inline-flex items-center font-sans no-underline ${e}`,href:t||"https://rshb.ru/",target:r?"_blank":"_self","aria-label":"Россельхозбанк",children:[m($,{image:{icon:"LogoIcon"},className:`${Gt[l]} w-10 h-[38px]`,asSVG:!0}),a?null:m("span",{className:`${Et[l]} text-s font-medium ml-2.5`,children:n||"Россельхозбанк"})]}))),Ot=u((({className:e="",title:t="Мобильное приложение",description:n,href:r="#"})=>m("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:r?h("div",{className:"flex",children:[m("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]",children:m(Ut,{className:"w-[33px]",bgColor:"transparent",hideTitle:!0})}),h("a",{href:r,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}))),Wt=u((({className:e="",items:t,hasButton:n,context:r})=>{const l=r.useRouter(),{handlerDecorator:a}=r;return h("div",{className:e,children:[t?.length?t.map(Ft):null,n?m(ae,{version:"primary",className:"mb-6 w-full",...Q({router:l,handlerDecorator:a},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),Ft=(e,t)=>{const{type:n,text:r,description:l}=e;return h("div",{className:"mb-4",children:[m("div",{children:zt(n,r)}),m("div",{className:"mt-1 text-s-light text-secondary-text",children:l})]},String(t))},zt=(e,t="")=>{switch(e){case"tel":return m("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${Ht(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})}},Ht=e=>e.replaceAll(/\D/g,""),Jt=u((({className:e="",index:t,text:n,href:r,target:l,onClick:a})=>m("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:r,target:l,onClick:a,children:n||`Документ ${t}`}))),qt=u((({title:e,links:t,className:n="",context:r})=>{const l=r.useRouter(),{handlerDecorator:a}=r;return 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(Jt,{index:t,className:"text-s",...Q({router:l,handlerDecorator:a},e)},String(t))))}):null]})})),Kt=[{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"}],Yt=u((({href:e,version:t="primary"})=>{const{icon:n,label:r}=Kt.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};if(!n)return null;return m("a",{className:`flex items-center justify-center rounded-md w-14 h-14 group box-border ${"secondary"===t?"bg-secondary-light hover:bg-secondary-hover":"border-solid border-[1px] border-main-divider hover:border-transparent hover:bg-primary-main"} ${"primary"===t?"hover:text-black":""}`,href:e,"aria-label":r,target:"_blank",rel:"noopener noreferrer",children:n?m($,{image:n,imageClassName:"group-hover:text-white",width:"24",height:"24",asSVG:!0}):null})})),Xt=u((({className:e,media:t,version:n,context:r})=>{const l=r.useRouter(),{handlerDecorator:a}=r;return m("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e||""}`,children:t?.map(((e,t)=>m(Yt,{version:n,...Q({router:l,handlerDecorator:a},e)},String(t))))})})),Qt=u((({className:e="",index:t,text:n,href:r,target:l,onClick:a})=>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:n||`Документ ${t}`}))),Zt=u((({className:e,links:t,context:n})=>{const r=n.useRouter(),{handlerDecorator:l}=n;return 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(Qt,{index:t,className:"",...Q({router:r,handlerDecorator:l},e)},String(t))))}):null]})}));function en(e={}){const{data:t}=ct(`/wcms-resources/${s.SITEMAP||"sitemap"}.json`,dt,{fallback:e});return t||{}}const tn=u((({className:e,isMobile:t=!1})=>{const{term:n,setTerm:l}=(()=>{const[e,t]=r("");return{term:e,setTerm:e=>t(e)}})(),a=t?"text-s":"text-l-light",o=t?" placeholder-transparent":"h-full",i=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($,{image:"LoupeIcon",width:"24",height:"24"})}),n?null:m("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${a}`,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 ${o}`,value:n,onChange:e=>l(e.target.value),type:"text",name:"search-bar-input",placeholder:i}),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(),l("")},children:m($,{image:"CloseIcon",width:"24",height:"24"})}):m(ae,{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:"Найти"})})]})})),nn=u((({className:e=""})=>m(tn,{className:e,isMobile:!0}))),rn=e=>e?.map((e=>({label:e.text||"",blocks:[{accordionBlockType:"LinkList",documents:e.items||[]}]}))),ln=u((({className:e="",documents:t,relatedEnterprises:n,contacts:r,socialMedia:l,context:a,horizontalNavigationTitle:o,page:i})=>{const s=i?.fallback,c=en(s),d=c?.dispositions;return h("footer",{className:`font-sans px-4 py-[26px] bg-white ${e}`,children:[m(Wt,{className:"overflow-hidden",items:r,context:a,hasButton:!0}),m(He,{context:a,className:"!p-0 mb-4",accordionItems:rn(c.topItems)}),m("div",{children:d?.map(an)}),m(Ot,{context:a,title:"Мобильное приложение",description:"Загрузить для IOS и Android"}),m(nn,{context:a,className:"grow"}),m(Xt,{className:"pb-4",media:l,context:a}),m(qt,{title:o,links:n,context:a}),m(Zt,{links:t,context:a})]})})),an=(e,t)=>{const{icon:n,href:r,text:l}=e;return h(ae,{version:"link",href:r,className:"flex text-s mb-4 w-6",children:[n?m($,{className:"pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,m("span",{className:"pl-2.5 font-medium text-primary-text",children:l})]},`footer-${t}`)},on=(e,t,n=((e,t)=>t.startsWith(e)))=>n(H(e),(e=>(e||"").replace(K,""))(H(z(e)?t.href:t.pathname))),sn=e=>t=>on(t.href,e),cn=e=>t=>t.items?.some(sn(e))||on(t.href,e)||((e,t)=>J(e)===J(t.href))(t.href,e),dn=e=>t=>e?.href===t?.href,mn=(e,t)=>{return(r=e,l=t,(r||[]).map((e=>l?.find(dn(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(dn(e))))));var n,r,l},hn="absolute left-0 -bottom-3 w-full h-[2px]",un=u((({className:e="",text:t,href:n,target:r,active:l,onClick:a,children:o,bgColor:i="bg-white"})=>h("a",{className:`relative inline-block bg-transparent text-center no-underline ${e}`,href:n,target:r,onClick:a,children:[m("span",{className:pn(i,l),children:t||o}),l?m("div",{className:xn(i,l)}):null]}))),pn=(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`},xn=(e,t=!1)=>t?`${"bg-white"===e?"bg-primary-main":e} ${hn}`:hn,gn=i("https://10.80.4.9");const bn=u((({context:e,burgerSubMenu:t,onClick:n,defaultLocation:o="",children:i})=>{const[s,c]=function(e){const[t,n]=r(e);return l((()=>{n(globalThis?.localStorage.getItem("location")||e)}),[e]),[t,a((()=>{gn.getFetcherAddress().then((t=>{const r=t||e;globalThis?.localStorage.setItem("location",r),n(r)}))}),[e])]}(o);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:n,children:m($,{image:"CloseIcon",width:"24",height:"24",asSVG:!0})}),h("button",{onClick:c,className:"flex items-center text-s text-secondary-text p-0 mb-4 bg-transparent cursor-pointer",children:[m($,{image:"GeolocationIcon",width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),s]}),i,m("div",{className:"mb-7",children:t?.map(fn)}),m(nn,{context:e,className:"grow"})]})})),fn=(e,t)=>{const{icon:n,href:r,text:l}=e;return h("a",{href:r,className:"flex text-s mb-4 hover:text-primary-main",children:[n?m($,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,m("span",{className:"font-medium pl-0.5",children:l})]},`headerSubMenu-${t}`)},yn=u((({onClick:e,bgColor:t})=>h("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-[50px]",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($,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),m(Ut,{className:"mr-8",bgColor:t})]}),m("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-s border-0 bg-transparent cursor-pointer",children:"Войти"})]}))),Nn=u((({className:e="",defaultLocation:t,bgColor:n="bg-white",context:l,topItems:a,page:o})=>{const i=l.useRouter(),s=o?.fallback,c=en(s),d=c?.dispositions,{handlerDecorator:u}=l,p=mn(c.topItems,a).find(cn(i))?.items,x=(e=>(t=[])=>{const n=t?.filter(sn(e));return n?.length?(r=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>r(e)>r(t)?e:t)))(n):void 0;var r})(i)(p),[g,b]=r(!1),f=()=>b(!g);return h("header",{className:`${n} ${e}`,children:[h("div",{className:"container px-4 py-0 box-border",children:[m(yn,{onClick:f,bgColor:n}),m("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-[50px]",children:m("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:p?.map(((e,t)=>In({...Q({router:i,handlerDecorator:u},e),active:e===x,bgColor:n},t)))})})]}),g?m(bn,{context:l,onClick:f,burgerSubMenu:d,defaultLocation:t,children:m(He,{context:l,accordionItems:rn(c.topItems),className:"!p-0 mb-4"})}):null]})})),In=(e,t)=>m(un,{className:"mr-8 whitespace-nowrap text-s",...e},String(t)),vn=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function wn(e=""){const t=vn(e);return t<=4?"S":t<=8?"M":"L"}function kn(e=""){const t=vn(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function Cn(e=""){const t=vn(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Sn=u((({className:e,context:t,title:n,description:r="Блок в разработке...",...l})=>h(Ve,{context:t,className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${Cn(e)} ${kn(e)} `,...l,children:[m(R,{context:t,className:"!p-0 max-w-[600px]",title:n,description:r,headlineVersion:wn(e)}),m("figure",{className:"m-0 min-w-[80%]",children:$n()})]}))),$n=(e=3)=>Tn(100,e).map((e=>Math.floor(e))).map(Dn),Dn=(e,t)=>m("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Tn=(e,t)=>[e].concat(t>0?Tn(e/1.618,t-1):[]),_n=u((({block:e,context:t,className:n=""})=>m("section",{className:`flex grow-0 shrink-0 basis-full px-4 pt-6 ${ke[e?.version??"primary"]} ${n}`,role:"listitem",children:m("div",{className:"flex grow",children:m(Ne,{context:t,...e})})}))),Rn=u((({className:e,context:t,slides:n=[]})=>{const r=n.map((e=>e.productBlock));return m("section",{className:`font-sans bg-white overflow-hidden w-100 pb-6 ${e||""}`,children:m(V,{context:t,children:r.map(((e,n)=>m(_n,{block:e,context:t},String(n))))})})})),Bn={primary:{background:"bg-white",title:"text-primary-text",description:"text-secondary-text",iconText:"text-secondary-text",iconBackground:"bg-main-divider",iconConnector:"bg-secondary-light"},secondary:{background:"bg-primary-main",title:"text-white",description:"text-white/80",iconText:"text-white",iconBackground:"bg-white/30",iconConnector:"bg-white"}},Mn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-[50px] w-[50px] min-w-[50px] min-h-[50px]"},An={normal:"min-h-[70px]",small:"min-h-[50px]"},Pn=u((({className:e,title:t,description:n,showLines:r=!0,steps:l,size:a="normal",version:o="primary"})=>{const i=Bn[o];return h("section",{className:`box-border font-sans bg-white px-4 py-6 flex flex-col\n ${i.background} ${i.title} ${e||""}`,children:[t?m(g,{headingType:"h3",className:`text-center ${i.title}`,title:t}):null,n?m("p",{className:`text-m-light text-center ${i.description} ${t?"mt-2":""}`,children:n}):null,l?.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:l.map(Ln(a,o,r))})}):null]})})),Ln=(e,t,n)=>(r,l,a)=>{const o=a.length-1===l,i="normal"===e?"ml-[34px]":"ml-6",s=Bn[t];return m("div",{children:h("div",{className:"flex flex-row text-center relative",children:[h("div",{className:"overflow-hidden flex-shrink-0",children:[Vn(e,t)(r,l),o?null:m("div",{className:`min-h-8 h-full w-[2px] ${n?s.iconConnector:""} ${i}`})]}),h("div",{className:`flex flex-col justify-center h-fit ${An[e]}`,children:[r.label?m("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:r.label}):null,r.description?m("div",{className:`text-s ${s.description} text-left`,children:r.description}):null]})]})},String(l))},Vn=(e,t)=>(n,r)=>{const l=Bn[t],a="normal"===e?"38":"27",o="normal"===e?"text-m-title":"text-m-title-xs";return m("div",{className:`${Mn[e]} ${l.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:m("span",{className:`font-medium flex self-center ${l.title} ${o}`,children:(i=n?.icon,Boolean(i?.icon||i?.src)?m($,{image:n.icon,width:a,height:a,asSVG:!0}):m("span",{children:r+1}))})});var i},jn=e=>e?.alt||e?.title||f[e?.icon?e.icon:""],Gn={Buttons:({buttons:e})=>e&&e?.length?m("div",{children:e.map((({icon:e,rounded:t,...n},r)=>m(ae,{className:`mt-3 ${r>0&&t?"ml-2.5":""} ${e?"w-12 h-12":""}`,ariaLabel:jn(e),rounded:t,appendLeft:e?.src||e?.icon?m($,{image:e,width:"24px",height:"24px",asSVG:!0}):null,...n,"aria-label":e},String(r))))}):null,Img:({image:e})=>e?.src?m($,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>m(ue,{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]})},En=u((({title:e,icon:t})=>h("div",{className:"flex gap-2.5 mb-2",children:[e?m(g,{headingType:"h3",className:"font-medium",title:e}):null,t?m($,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),Un=u((({context:e,header:t,data:n})=>h("div",{className:"rounded-md border-main-stroke h-full box-border border p-4",children:[m(En,{...t}),n?.length?n.map(On(e)):null]}))),On=e=>(t,n)=>h("div",{children:[n>0?m("div",{className:"h-5"}):null,Wn(t,e)]},String(n)),Wn=(e,t)=>{if(!e)return null;const{tableCellType:n,...r}=e;if(!n||!(n in Gn))return null;return m(Gn[n],{context:t,...r})},Fn=u((({tiles:e,context:t})=>m(V,{context:t,children:e.map(((e,t)=>m(Un,{...e},String(t))))}))),zn=u((({tiles:e})=>m("div",{className:"flex flex-col gap-3.5",children:e.map(((e,t)=>m(Un,{...e},String(t))))}))),Hn=u((({className:e,context:t,title:n,description:r,tariffsColumns:l,rowHeaders:a,orientation:o="vertical"})=>{const i=qn(l),s=Kn(a,i);return h("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[n?m(g,{headingType:"h2",className:`text-center ${r?"mb-2":"mb-5"}`,title:n}):null,r?m("div",{className:"mb-5 text-center text-m",children:r}):null,s?.length?Jn(o,s,t):null]})}));function Jn(e,t,n){return m("vertical"===e?zn:Fn,{context:n,tiles:t})}const qn=e=>e?.[0].data?e[0].data:[],Kn=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),Yn={Accordion:He,ComparisonTable:tt,ExchangeRateTile:jt,Footer:ln,Gallery:_e,Header:Nn,Headline:R,LinkDocs:F,LinkList:je,MobileAppTile:Ot,ProductBlock:Ce,ProductGallery:Rn,StepsBlock:Pn,TariffsTable:Hn,TextBlock:$e,Placeholder:Sn},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: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"})]})},er=u((({className:e,context:t,...n})=>{const{useRouter:o,handlerDecorator:i=X}=t,s=function(e){const[t,n]=r(0);return l((()=>{(async()=>{const[t]=await Xn.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:a((async()=>{n(await Xn.like(e))}),[e]),dislike:a((async()=>{n(await Xn.dislike(e))}),[e])}}(o().pathname);return h(Ve,{tag:"div",context:t,className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e||""}`,...n,children:[m(Qn,{onClick:i(s.like),ariaLabel:"Поставить отметку «лайк»"}),m(Qn,{onClick:i(s.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),m("span",{className:"select-none",children:s.likeCount})]})})),tr=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),nr=u((({className:e="",context:t,blocksRegistry:n,data:r={},blockDecorator:l=tr})=>{const{style:a,blocks:o,slots:i={},likeControl:s,colorPalette:c="pc"}=r,{header:d}=i;return h("section",{className:`relative ${D(a)} ${e}`,"data-theme":c,children:[d?.blocks?.length?m("div",{className:`${D(d?.style)}`,children:d.blocks.map(((e,a)=>rr({block:e,page:r,blockDecorator:l,blocksRegistry:n,context:t},a)))}):null,o?.length?m("div",{className:"container grid grid-cols-12 gap-1",children:o.map(((e,a)=>rr({block:e,blockDecorator:l,blocksRegistry:n,context:t,page:r},a)))}):null,s?m("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:m(er,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t},"LikeControl")}):null]})}));function rr({block:e,blockDecorator:t,blocksRegistry:n,context:r,page:l},a){const{type:o}=e;o&&o in n||console.warn(`No block with "${o}" is registered`);const i=n[o||"Placeholder"]||Sn;return t({blockClassName:`scroll-mt-12 ${D(e.style)}`,block:e,render:e=>{const{version:t,content:n,anchor:s,labels:c}=e.block;return m(i,{className:e.blockClassName,version:t,context:r,page:l,anchor:s,labels:c,...n},`${o}-${a}`)}},`block-${a}`)}e.Blocks=Yn,e.ContentPage=nr,e.DaDataAPI=i,e.LikeAPI=d,e.joinList=function(e){return t=>t.reduce(((t,n,r)=>t.length?t.concat({...e,key:r},n):[n]),[])},e.projectSettings=s,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=q,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),r=n("useState"),o=n("useEffect"),l=n("useCallback"),a=n("useMemo"),i=n("useRef");function c(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}}}}const s=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 CDN(){return this._.CDN}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},d="likesToken";function m(){async function e(){try{const e=JSON.parse(globalThis.localStorage.getItem(d)||"");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(d,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/${s.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:r}=await e.json();return r||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:r}=await e();try{const e=await fetch(`/assist/v1/public/projects/${s.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:o}=await e.json();return o||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:r}=await e();try{const e=await fetch(`/assist/v1/public/projects/${s.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:o}=await e.json();return o||0}catch(e){return console.error(e),0}}}}const h=(...e)=>globalThis._uni._jsx(...e),u=(...e)=>globalThis._uni._jsxs(...e),p=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:x(e)),t._tmpl},x=e=>{function t(t,n){const{children:r,...o}=t||{},l=n?.slots?.default,a=r||l&&l();return e(Object.assign(o,a&&{children:a}),n)}return t.inheritAttrs=!1,t},g={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"},b=p((e=>{const{className:t,headingType:n="h3",title:r,as:o="h3"}=e;return h(o,{className:`font-sans font-medium m-0 ${g[n]} ${t||""}`,children:r})})),f={ActualBalanceIcon:!1,AirPlaneIcon:!1,AppleIcon:!0,ArrowDownIcon:!0,ArrowLeftIcon:!0,ArrowUpIcon:!0,AtmIcon:!0,BankIcon:!0,BuildingIcon:!0,BurgerIcon:!0,Calendar2Icon:!0,CalendarCircleIcon:!0,CalendarIcon:!0,CalendarTickIcon:!0,Car2Icon:!0,CardIcon:!0,CardPosIcon:!0,CardTickIcon:!0,CardWithGemIcon:!1,CarIcon:!1,ChartSquareIcon:!0,CinemaIcon:!1,ClockIcon:!1,CloseIcon:!0,ComfortableCompIcon:!1,CreditCardsIcon:!1,DiscountShapeIcon:!0,DocDownloadIcon:!0,DocIcon:!0,DocIconMonoColor:!0,DocsIcon:!1,DocumentTextIcon:!0,DollarIcon:!1,DoneIcon:!1,DoneSimpleIcon:!0,EarthIcon:!1,EmptyWalletChangeIcon:!0,EmptyWalletIcon:!0,EuroIcon:!1,GeolocationIcon:!0,GlassIcon:!1,GlobalIcon:!0,GpsIcon:!0,GridIcon:!0,InterestGrowthIcon:!1,InterestIcon:!0,JCBIcon:!1,LogoIcon:!0,LoupeIcon:!0,MapMarkerClusterIcon:!1,MapMarkerSingleIcon:!1,MasterCardIcon:!1,MinusIcon:!0,MirIcon:!1,MoneyIcon:!0,MoneyInsuranceIcon:!1,MoneysIcon:!0,MonitorMobileIcon:!0,NewDocIcon:!1,OfficeIcon:!1,OkIcon:!0,PackA4Icon:!1,PassSendIcon:!1,PercentageRoundIcon:!0,PercentageSquareIcon:!0,PersonalCardIcon:!0,PlayMarketIcon:!0,PlusIcon:!0,PowerIcon:!1,Profile2UserIcon:!0,ProfileIcon:!0,PumpkinIcon:!1,RoundRubleIcon:!0,SafeIcon:!0,ShieldTickIcon:!0,SignDocsIcon:!1,SmallClockIcon:!0,SoundIcon:!1,StrongBoxIcon:!0,TelegramIcon:!0,UnionPayIcon:!1,UserSquareIcon:!0,UserTickIcon:!0,VisaIcon:!1,VKIcon:!0,WalletAdd2Icon:!0,WalletAddIcon:!0,WalletIcon:!0,WalletWithMoneyIcon:!0,WateringCanIcon:!1};var I,y;!function(e){e.ActualBalanceIcon="ActualBalanceIcon",e.AirPlaneIcon="AirPlaneIcon",e.AppleIcon="AppleIcon",e.ArrowDownIcon="ArrowDownIcon",e.ArrowLeftIcon="ArrowLeftIcon",e.ArrowUpIcon="ArrowUpIcon",e.AtmIcon="AtmIcon",e.BankIcon="BankIcon",e.BuildingIcon="BuildingIcon",e.BurgerIcon="BurgerIcon",e.Calendar2Icon="Calendar2Icon",e.CalendarCircleIcon="CalendarCircleIcon",e.CalendarIcon="CalendarIcon",e.CalendarTickIcon="CalendarTickIcon",e.Car2Icon="Car2Icon",e.CardIcon="CardIcon",e.CardPosIcon="CardPosIcon",e.CardTickIcon="CardTickIcon",e.CardWithGemIcon="CardWithGemIcon",e.CarIcon="CarIcon",e.ChartSquareIcon="ChartSquareIcon",e.CinemaIcon="CinemaIcon",e.ClockIcon="ClockIcon",e.CloseIcon="CloseIcon",e.ComfortableCompIcon="ComfortableCompIcon",e.CreditCardsIcon="CreditCardsIcon",e.DiscountShapeIcon="DiscountShapeIcon",e.DocDownloadIcon="DocDownloadIcon",e.DocIcon="DocIcon",e.DocIconMonoColor="DocIconMonoColor",e.DocsIcon="DocsIcon",e.DocumentTextIcon="DocumentTextIcon",e.DollarIcon="DollarIcon",e.DoneIcon="DoneIcon",e.DoneSimpleIcon="DoneSimpleIcon",e.EarthIcon="EarthIcon",e.EmptyWalletChangeIcon="EmptyWalletChangeIcon",e.EmptyWalletIcon="EmptyWalletIcon",e.EuroIcon="EuroIcon",e.GeolocationIcon="GeolocationIcon",e.GlassIcon="GlassIcon",e.GlobalIcon="GlobalIcon",e.GpsIcon="GpsIcon",e.GridIcon="GridIcon",e.InterestGrowthIcon="InterestGrowthIcon",e.InterestIcon="InterestIcon",e.JCBIcon="JCBIcon",e.LogoIcon="LogoIcon",e.LoupeIcon="LoupeIcon",e.MapMarkerClusterIcon="MapMarkerClusterIcon",e.MapMarkerSingleIcon="MapMarkerSingleIcon",e.MasterCardIcon="MasterCardIcon",e.MinusIcon="MinusIcon",e.MirIcon="MirIcon",e.MoneyIcon="MoneyIcon",e.MoneyInsuranceIcon="MoneyInsuranceIcon",e.MoneysIcon="MoneysIcon",e.MonitorMobileIcon="MonitorMobileIcon",e.NewDocIcon="NewDocIcon",e.OfficeIcon="OfficeIcon",e.OkIcon="OkIcon",e.PackA4Icon="PackA4Icon",e.PassSendIcon="PassSendIcon",e.PercentageRoundIcon="PercentageRoundIcon",e.PercentageSquareIcon="PercentageSquareIcon",e.PersonalCardIcon="PersonalCardIcon",e.PlayMarketIcon="PlayMarketIcon",e.PlusIcon="PlusIcon",e.PowerIcon="PowerIcon",e.Profile2UserIcon="Profile2UserIcon",e.ProfileIcon="ProfileIcon",e.PumpkinIcon="PumpkinIcon",e.RoundRubleIcon="RoundRubleIcon",e.SafeIcon="SafeIcon",e.ShieldTickIcon="ShieldTickIcon",e.SignDocsIcon="SignDocsIcon",e.SmallClockIcon="SmallClockIcon",e.SoundIcon="SoundIcon",e.StrongBoxIcon="StrongBoxIcon",e.TelegramIcon="TelegramIcon",e.UnionPayIcon="UnionPayIcon",e.UserSquareIcon="UserSquareIcon",e.UserTickIcon="UserTickIcon",e.VisaIcon="VisaIcon",e.VKIcon="VKIcon",e.WalletAdd2Icon="WalletAdd2Icon",e.WalletAddIcon="WalletAddIcon",e.WalletIcon="WalletIcon",e.WalletWithMoneyIcon="WalletWithMoneyIcon",e.WateringCanIcon="WateringCanIcon"}(I||(I={})),function(e){e.ActualBalanceIcon="Деньги",e.AirPlaneIcon="Самолёт",e.AppleIcon="Лого «Apple»",e.ArrowDownIcon="Стрелка 'Вниз'",e.ArrowLeftIcon="Стрелка",e.ArrowUpIcon="Стрелка вверх",e.AtmIcon="Банкомат",e.BankIcon="Банк",e.BuildingIcon="Здание с деревом",e.BurgerIcon="Бургер",e.Calendar2Icon="Календарь 2",e.CalendarCircleIcon="Скруглённый календарь",e.CalendarIcon="Календарь",e.CalendarTickIcon="Календарь с галочкой",e.Car2Icon="Машина2",e.CardIcon="Кред. карта",e.CardPosIcon="Кред. карта под наклоном",e.CardTickIcon="Кред. карта с галочкой",e.CardWithGemIcon="Карта с драгоценностями",e.CarIcon="Машина",e.ChartSquareIcon="Деньги внутри кошелька",e.CinemaIcon="Кинотеатр",e.ClockIcon="Часы",e.CloseIcon="Крестик",e.ComfortableCompIcon="Кресло",e.CreditCardsIcon="Кредитные карты",e.DiscountShapeIcon="Скидка",e.DocDownloadIcon="Скачать документ",e.DocIcon="Документ",e.DocIconMonoColor="Документ (одноцветный)",e.DocsIcon="Документы",e.DocumentTextIcon="Документ с текстом",e.DollarIcon="Доллар",e.DoneIcon="Зелёная 'галочка' в круге",e.DoneSimpleIcon="Зелёная 'галочка'",e.EarthIcon="Земля",e.EmptyWalletChangeIcon="Пустой кошелёк с возвратом",e.EmptyWalletIcon="Пустой кошелёк",e.EuroIcon="Евро",e.GeolocationIcon="Геолокация",e.GlassIcon="Зеркало",e.GlobalIcon="Глобус",e.GpsIcon="Gps",e.GridIcon="Сетка (белая)",e.InterestGrowthIcon="Диаграмма роста",e.InterestIcon="Скидка",e.JCBIcon="JCB",e.LogoIcon="Logo",e.LoupeIcon="Лупа",e.MapMarkerClusterIcon="Маркер карты",e.MapMarkerSingleIcon="Маркер карты РСХБ",e.MasterCardIcon="MasterCard",e.MinusIcon="Минус",e.MirIcon="МИР",e.MoneyIcon="Деньги",e.MoneyInsuranceIcon="Денежное страхование",e.MoneysIcon="Купюры",e.MonitorMobileIcon="Монитор и мобильный",e.NewDocIcon="Новый документ",e.OfficeIcon="Офис",e.OkIcon="Лого «Одноклассники»",e.PackA4Icon="Пачка бумаги А4",e.PassSendIcon="Бизнес",e.PercentageRoundIcon="Проценты (круг.)",e.PercentageSquareIcon="Проценты",e.PersonalCardIcon="Персональная карта",e.PlayMarketIcon="Лого «PlayMarket»",e.PlusIcon="Плюс",e.PowerIcon="Щит",e.Profile2UserIcon="Профиль, 2 персоны",e.ProfileIcon="Профиль",e.PumpkinIcon="Тыква",e.RoundRubleIcon="Рубль (круг.)",e.SafeIcon="Сейф",e.ShieldTickIcon="Безопасность",e.SignDocsIcon="Подписанные документы",e.SmallClockIcon="Маленькие часы",e.SoundIcon="Звук",e.StrongBoxIcon="Ящик с замочной скважиной",e.TelegramIcon="Лого «Telegram»",e.UnionPayIcon="UnionPay",e.UserSquareIcon="Пользователь в рамке",e.UserTickIcon="Пользователь",e.VisaIcon="Visa",e.VKIcon="Лого «VK»",e.WalletAdd2Icon="Пополнение карты",e.WalletAddIcon="Кошелёк с плюсом",e.WalletIcon="Кошелёк",e.WalletWithMoneyIcon="Кошелёк с деньгами",e.WateringCanIcon="Добавить продукт"}(y||(y={}));const N={normal:"text-primary-main",black:"text-black",white:"text-black"},v=p((({className:e="",imageClassName:t="",name:n="",alt:r=`Иконка ${y[n]||n}`,title:o=r,iconVersion:l="normal",asSVG:a,...i})=>{const c=`${s.CDN||""}icons/${n}.svg`;return a&&f[n]?h(k,{className:e,children:u("svg",{className:[C(e,i.width),N[l],t,w(n,l)].join(" "),...i,"aria-hidden":"true",children:[o?h("title",{children:o}):null,r?h("desc",{children:r}):null,h("use",{href:`${c}#icon`,xlinkHref:`${c}#icon`})]})}):h("img",{className:e,src:c,alt:r,title:o,...i,"aria-hidden":"true"})})),w=(e,t)=>"white"===t&&f[e]?"invert":"",C=(e,t)=>t?`width: ${t}px `:"w-full h-full",k=p((({className:e,children:t})=>e?h("div",{className:e,children:t}):t));function S(e){return"string"==typeof e?"normal":e.iconVersion||"normal"}const $=(e,t)=>e.media&&t.media?e.media-t.media:0,D=p((({className:e="",image:t,imageClassName:n="",isMobile:r=!1})=>{if(!t||!t?.sources&&!t?.src)return null;return u("picture",{className:`${r?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.sort($).map((({src:e,format:n,media:r},o)=>h("source",{srcSet:e,type:M(n),media:r?`(max-width: ${r}px)`:"",...t.size},`${o}_${e}`))):null,T(t,n,r)]})})),T=(e,t="",n=!1)=>{const r={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},o=e.title||"",l=e.alt||e.title,a=n?"m-auto":"m-0";return h("img",{src:e.src,className:`${a} ${t}`,alt:l,title:o,style:r,...e.size})};function M(e){return e?`image/${String(e)}`:void 0}const _=p((({className:e="",image:t,imageClassName:n="",isMobile:r,...o})=>{if(!t)return null;const l="string"==typeof t?t:t.icon;return l||""===l?l.length?h(v,{className:e,imageClassName:n,iconVersion:S(t),name:l,...o}):null:h(D,{className:e,imageClassName:n,image:t,isMobile:r})})),R=p((({className:e="",image:t,imageClassName:n,...r})=>h(_,{className:e,image:t,imageClassName:n,...r,isMobile:!0})));function P(e){return e?e.filter(Boolean).join(" "):""}const A={left:"text-left",center:"text-center",right:"text-right"},B={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"}},L=p((({bgColorHeadline:e="transparent",className:t="",title:n,description:r,image:o,align:l="left"})=>{const a=B[e];return u("section",{className:`px-4 py-6 flex flex-col gap-2.5 ${a.background} ${t}`,children:[n?h(b,{headingType:"h2",className:`${a.text} ${A[l]}`,title:n}):null,r?h("p",{className:`text-m ${a.description} ${A[l]}`,children:r}):null,o?.src&&h("div",{className:"mt-2.5 mx-auto flex justify-center",children:h(R,{image:o})})]})})),V=p((({children:e,activeIndex:t,indexFraction:n,showDots:r})=>{const o=e=>n=>{if(e===t)return;const r=n.currentTarget.parentElement?.previousElementSibling;r?.children[e]?.scrollIntoView({behavior:"smooth",block:"nearest"})};return r&&e?.length?h("div",{className:"flex gap-2 mx-auto mt-5 w-fit",children:e?.map(((e,r)=>h("div",{onClick:o(r),className:"bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full",style:G(r,t,n),"aria-hidden":!0},String(r))))}):null})),G=(e,t,n)=>{if(e<t||e>t+1)return;const r=1-n;return e===t?{opacity:""+(.3+.7*r),width:6+16*r+"px"}:{opacity:""+(.3+.7*n),width:6+16*n+"px"}},j=p((({className:e="",children:t,...n})=>h("div",{className:`snap-center snap-always min-w-full box-border ${e}`,role:"listitem",...n,children:t}))),W=e=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e}px`}),E=p((({className:e="",children:t,activeIndex:n,onScroll:r,gap:o=14,padding:l=16})=>h("div",{className:`overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...W(l),gap:`${o}px`},role:"list",onScroll:r,children:t?.length?t?.map(((e,t)=>h(j,{style:W(l/4),"aria-current":Boolean(n===t),children:e},String(t)))):h(j,{children:t})}))),U=p((({className:e,children:t,gap:n=14,padding:o=16,showDots:l=!0,onSlideChange:a})=>{const[i,c]=r(0),[s,d]=r(0),m={activeIndex:i,indexFraction:s,showDots:l,children:t};return u("div",{className:e,children:[h(E,{gap:n,padding:o,activeIndex:i,onScroll:e=>{const{scrollLeft:t,clientWidth:r,childElementCount:l,scrollWidth:s,children:m}=e?.currentTarget,h=m[0].offsetWidth-o/2,u=(({gap:e,padding:t,clientWidth:n,scrollWidth:r,childElementCount:o,itemWidth:l})=>{const a=r-n;if(2===o)return[[0,a],[a,r]];const i=l+e,c=n-e-t,s=o-2,d=new Array(o).fill(0).map(((e,t)=>0===t||t===s?[t>0?a-c:0,t>0?a:c]:[(t-1)*i+c,t*i+c]));return d[o-1]=[a,r],d})({gap:n,padding:o,clientWidth:r,scrollWidth:s,childElementCount:l,itemWidth:h}),{index:p,fraction:x}=((e,t)=>{const n=t.findIndex((([t,n])=>t<=e&&e<n));if(n<0)return{index:n,fraction:0};const[r,o]=t[n];return{index:n,fraction:(e-r)/(o-r)}})(t,u);p!==i&&a&&a(),c(p),d(x)},children:t}),h(V,{...m})]})})),O=p((({className:e,iconClassName:t,textClassName:n,suffixClassName:r,doc:o,icon:l})=>{const{text:a,fileSize:i,...c}=o;return u("a",{className:e,role:"link",...c,children:[l?h(R,{className:t,image:l,width:"24px",height:"24px",asSVG:!0}):null,a?u("span",{className:n,children:[a,h("span",{className:r,children:c?.href&&F(z(c.href),i)})]}):null]})})),F=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),z=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},H=p((({className:e="",doc:t,icon:n})=>h(O,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:n}))),J=p((({context:e,hasBorder:t=!0,documents:n,icon:r})=>h(U,{context:e,className:"text-s text-primary-main mt-5",children:n?.length?n.map(((e,n)=>h(H,{className:t?"rounded-md border-main-stroke border border-solid p-4":"",doc:e,icon:r},String(n)))):null}))),q=p((({hasBorder:e=!0,documents:t,icon:n})=>h("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,r)=>h("div",{role:"listitem",children:h(H,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:n})},String(r)))):null}))),K=p((({className:e="",context:t,title:n,description:r,icon:o={icon:"DocIconMonoColor"},documents:l,orientation:a="vertical",hasBorder:i=!0})=>u("section",{className:`font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${e}`,children:[h(L,{className:"!p-0 "+(r?"gap-2":"gap-5"),title:n,description:r,context:t,align:"center"}),"vertical"===a?h(q,{hasBorder:i,documents:l,icon:o}):h(J,{context:t,hasBorder:i,documents:l,icon:o})]}))),Y={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},X=e=>e?.includes("//"),Q=e=>(e||"").replace(/\/?\?.*/,""),Z=e=>{if(!e||!X(e))return;const t=e,n=t.indexOf("//"),r=t.indexOf("/",n+"//".length);return-1!==r?t.substring(0,r):t};var ee=Object.freeze({__proto__:null,isURL:X,withoutQuery:Q,getOrigin:Z,getHash:e=>{if(!e||!X(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0},isHash:e=>e?.startsWith("#")});const te="/mobile",ne=(e,t)=>{if(!e)return e;const n=Z(t?.href);return n?e.replace(n,"")||"/":e},re=e=>e;function oe({router:e,handlerDecorator:t=re},n){const r=((e,t)=>{if(!e)return e;const n=ne(e,t)||"",r=t?.pathname.startsWith(te);return r&&!X(n)?`/mobile${n}`:n})(n.href,e);return{...n,href:r,"aria-label":n.text,onClick:t((t=>{const o=r&&!X(r),l=!n.target||"_self"===n.target;o&&l&&(t?.preventDefault(),e.push(r))}),n)}}const le=p((e=>{const{text:t,aboveText:n,appendLeft:r,appendRight:o}=e;return u("div",{className:ae(e),children:[r||null,ie(e)?u("div",{children:[h("div",{className:"text-xs-light text-left",children:n}),h("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,o||null]})})),ae=e=>{const{className:t="",version:n,aboveText:r,rounded:o}=e;if("link"===n)return"";const l="gap-2 "+(r?"py-2.5 px-7":"py-4 px-9");return["group flex items-center justify-center",ie(e)?l:"h-12 w-12",o?"rounded-full":"",t].join(" ")},ie=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),ce={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",link:"text-primary-main"},se={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text",white:"bg-white text-primary-text",link:""},de="w-full text-center font-sans select-none",me=p((({className:e,text:t,aboveText:n,appendLeft:r,href:o,target:l,onClick:a,children:i,disabled:c,rounded:s,version:d="primary",ariaLabel:m,...u})=>{const{asSVG:p,iconRight:x,appendRight:g,icon:b,...f}=u,I=i??h(le,{text:t,aboveText:n,appendLeft:r,rounded:s,version:d});return c?h("div",{role:"button","aria-disabled":"true","aria-label":m,tabIndex:-1,className:`inline-block ${de} ${se[d]||""} ${s?"rounded-full":"rounded-md"} ${e||""}`,children:I}):h("a",{className:`${de} inline-block cursor-pointer no-underline focus:border focus:border-primary-focus ${ce[d]||""} ${s?"rounded-full":"rounded-md"} ${e||""}`,href:o,target:l,onClick:a,"aria-label":m,role:o?"link":"button",...f,children:I})})),he=p((({context:e,className:t="",buttons:n})=>{const{handlerDecorator:r}=e,o=e.useRouter();return n&&n?.length?h("div",{className:t,children:n.map(((e,t)=>function({icon:e,iconRight:t,version:n="primary",...r},o){if(!r?.text)return null;const l="primary"===n?"group-hover:text-black":"group-hover:text-white",a="secondary"===n?"normal":"white";return h(me,e?{appendLeft:h(R,{imageClassName:l,image:{...e,iconVersion:a},width:"24",height:"24",asSVG:!0}),appendRight:h(R,{imageClassName:l,image:{...t,iconVersion:a},width:"24",height:"24",asSVG:!0}),version:n,...r}:{version:n,...r},String(o))}(oe({router:o,handlerDecorator:r},e),t)))}):null}));const ue={primary:"rounded-full inline-block mr-3 mt-2",secondary:"rounded-full inline-block mr-3 mt-2",gray:"rounded-full inline-block mr-3 mt-2",tile:"rounded-full inline-block mr-4 mt-3","tile-white":"rounded-full inline-block mr-4 mt-3"},pe={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text",tile:"bg-black","tile-white":"bg-white"},xe=p((({className:e="",isDotted:t=!0,children:n,version:r="primary"})=>u("div",{className:`font-sans flex items-start ${e}`,role:"listitem",children:[t?h("div",{className:ge(r)}):null,h("span",{children:n})]}))),ge=e=>`${ue[e]} ${pe[e]} ${{primary:"w-2 h-2 min-w-2 min-h-2",secondary:"w-2 h-2 min-w-2 min-h-2",gray:"w-1.5 h-1.5 min-w-1.5 min-h-1.5",tile:"w-[7px] h-[7px] min-w-[7px] min-h-[7px]","tile-white":"w-[7px] h-[7px] min-w-[7px] min-h-[7px]"}[e]}`,be={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text",tile:"text-primary-text","tile-white":"text-white"},fe={M:"text-xl-light",L:"text-h5-light"},Ie=p((e=>{const{className:t="",itemClassName:n,isDotted:r,items:o,listItemSize:l="M",version:a="primary"}=e;return h("section",{className:`${be[a]} ${fe[l]} ${t}`,role:"list",children:o?.length?o.map(((e,t)=>h(xe,{className:n,isDotted:r,version:a,children:e},String(t)))):null})})),ye=p((({className:e="",title:t="",children:n,buttons:r,image:o})=>u("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,u("div",{className:"flex grow w-full justify-between",children:[u("div",{className:"flex flex-col justify-between w-full",children:[h("div",{className:"h-full",children:n}),r?h("div",{className:"mt-auto pt-8",children:r}):null]}),o]})]}))),Ne={primary:"text-primary-text",secondary:"text-white"},ve={primary:"text-secondary-text",secondary:"text-white"},we=p((e=>{const{className:t="",icon:n,label:r,description:o,version:l="primary",benefitsVersion:a="normal"}=e,i="white"===a||"secondary"===l;return u("div",{className:`flex gap-5 ${o?"items-start":"items-center"} ${t}`,children:[n?h("div",{className:Ce(l,a),children:h(R,{className:"w-6 h-6",image:{...n,iconVersion:i?"white":"normal"},asSVG:!0})}):null,u("div",{className:"gap-0.5",children:[r?h("div",{className:`text-h6 ${Ne[l]}`,children:r}):null,o?h("div",{className:`text-m-light ${ve[l]}`,children:o}):null]})]})}));function Ce(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-[50px] h-[50px] min-w-[50px] rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const ke=(e="primary",t="normal")=>({icon:n,label:r,description:o},l)=>h(we,{icon:n,label:r,description:o,version:e,benefitsVersion:t},String(l)),Se=p((({className:e="",context:t,title:n,headlineVersion:r="L",description:o,benefits:l,benefitsVersion:a="normal",buttons:i,image:c,items:s,version:d="primary",isDotted:m=!0,label:p})=>u("div",{className:`w-full ${e}`,children:[u("div",{children:[p?Te(p,d):null,h(L,{context:t,className:"!p-0 max-w-[600px]",title:n,description:o,bgColorHeadline:d,headlineVersion:r}),u(ye,{context:t,buttons:i?.length?h(he,{context:t,buttons:i,className:"flex flex-col mt-5 gap-2.5"}):null,children:[l?.filter((e=>e.label))?.length?h("div",{className:"mt-3",children:l.map(ke(d,a))}):null,s?.length?h(Ie,{className:"mt-3 text-m",items:s,version:d,isDotted:m}):null]})]}),$e(c)]})));function $e(e){return e?.src?h(R,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const De={primary:"text-primary-main border-secondary-hover",secondary:"text-white/80"},Te=(e,t)=>h("div",{className:`px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${De[t]}`,children:e}),Me=p((e=>{const{className:t="",version:n="primary"}=e;return h("section",{className:`font-sans bg-white px-4 py-6 ${Y[n]} ${t}`,children:h(Se,{...e})})})),_e={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"}},Re=p((({title:e,description:t,blockVersion:n="primary",iconVersion:r,image:o,className:l="",items:a,isDotted:i=!0})=>{const c=_e[n],s="secondary"===n?"secondary":"gray";return u("section",{className:`font-sans px-4 py-[18px] flex flex-col ${c.background} ${l}`,children:["small"===r?Pe(c.icon):null,"big"===r?Ae(o):null,u("div",{className:"py-0.5",children:[e?h("div",{className:`text-l font-medium mb-1 ${c.title}`,children:e}):null,t?h("div",{className:`text-s ${c.description}`,children:t}):null,a?.length?h(Ie,{className:"mt-1 text-m",items:a,isDotted:i,version:s}):null]})]})}));function Pe(e){return h("div",{className:"mb-3",children:h("div",{className:`rounded-full h-4 w-4 text-center text-xs-light ${e}`,children:"i"})})}function Ae(e){return e?.src?h(R,{className:"pb-3 mr-auto",image:e}):null}const Be=p((({context:e,title:t,description:n,cards:r=[],className:o,orientation:l="horizontal"})=>u("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${o}`,children:[u("div",{className:"flex flex-col items-center mb-5",children:[t?h(b,{headingType:"h3",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?h("div",{className:"text-m max-w-[600px] text-center mb-5",children:n}):null]}),Le(l,r,e)]})));function Le(e,t,n){return"horizontal"===e?h(U,{context:n,children:t?.map(Ve)}):h("div",{className:"grid gap-[14px]",children:t?.map(Ve)})}function Ve(e,t){return u("div",{className:`h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col\n ${Y[e.version??"primary"]}`,children:[u("div",{children:[e.image?.src?h("div",{className:"flex justify-center",children:h(R,{className:"mb-3.5",image:e.image})}):null,e.title?h("h3",{className:"text-m-title-xs font-medium m-0",children:e.title}):null,e.description?Ge(e):null,e.items?.length?je(e.items,e.isDotted,e.version):null]}),e?.button?.text?(n=e.button,h(me,{className:"mt-3",appendLeft:n?.icon&&h(R,{image:n?.icon,width:"24px",height:"24px",asSVG:!0}),...n})):null]},t);var n}function Ge(e){return h("div",{className:"text-secondary-text mt-1 text-s "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}function je(e,t,n="primary"){return h("section",{className:"mt-3",children:e.map(((e,r)=>u("div",{children:[t?h("div",{className:ge(n)}):null,h("span",{className:"text-m font-medium",children:e.title}),h("span",{className:"text-s pl-2 "+("primary"===n?"text-secondary-text":""),children:e.text})]},String(r))))})}class We{static inst=new We;subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]||=[],this.subscribers[e]?.push(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){this.subjectsStateMap[e]=t,this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const Ee=100,Ue=p((({anchor:e,className:t,context:n,children:l,tag:c="section",labels:s})=>{const d=c,{IntersectionObserverTag:m}=n,[u,p]=r(!0),x=i({}),g=a((()=>(({anchor:e,anchorClickRef:t})=>n=>{if(!n?.length)return;const[r]=n;!r.isIntersecting||r.boundingClientRect.top>150||(t?.current?.isScrolling&&t.current.label===`#${e}`?(We.inst.fire("anchorClick",{isScrolling:!1,label:void 0}),We.inst.fire("tab",{type:"link",label:e})):t?.current?.isScrolling||We.inst.fire("tab",{type:"link",label:e}))})({anchor:e,anchorClickRef:x})),[e,x]);return o((()=>{const e=We.inst.subscribe("anchorClick",(e=>{x.current=e})),t=We.inst.subscribe("tab",(e=>{var t;"group"===e.type?p(!s?.length||!e.label||s.includes(e.label)):((t=e.label)&&(globalThis.document.location.hash=t),p(!0))}));return()=>{e(),t()}}),[x]),u?e?h(m,{tag:c,className:t,observerCallback:g,observerOptions:{threshold:new Array(18).fill(0).map(Oe)},anchor:e,children:l}):h(d,{className:t,children:l}):null}));function Oe(e,t){const n=(t+1)/Ee+.82;return Math.round(n*Ee)/Ee}const Fe=p((({className:e="",documents:t,...n})=>h(Ue,{className:`font-sans bg-white mt-[10px] ${e}`,...n,children:h("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?ze(t):null})}))),ze=e=>e.map(((e,t)=>{const{text:n,...r}=e;return h("li",{className:"mb-4 list-none",children:h("a",{className:"hover:text-primary-main",role:"link",...r,children:n||null})},`list_item_${String(t)}`)})),He={Headline:L,LinkDocs:K,TextBlock:Re,ProductBlock:Me,Gallery:Be,LinkList:Fe},Je=({blocks:e,context:t,className:n=""})=>e?.length?e.map(qe({context:t,className:n})):null,qe=({context:e,className:t})=>(n,r)=>{if(!n)return null;const{style:o,blockListType:l,...a}=n;if(!l||!(l in He))return null;const i=P(o);return h(He[l],{className:`${t} ${i}`,context:e,...a},`block_${r}`)},Ke=p((({blocks:e,context:t})=>h("div",{className:"flex flex-wrap transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0",children:Je({context:t,blocks:e,className:"!px-0"})}))),Ye=p((({label:e,labelIcon:t,blocks:n,bordered:o,context:l})=>{const{hasContent:a,icon:i,handleToggle:c}=(({blocks:e,initialState:t=!1})=>{const[n,o]=r(t),l=e?.length;return{isActive:n,hasContent:l,icon:n?"MinusIcon":"PlusIcon",handleToggle:e=>{const t=e.currentTarget;if(!t)return;o(!n);const r=t.nextSibling;r.style.maxHeight=r.style.maxHeight?"":`${r.scrollHeight}px`}}})({blocks:n});return u("li",{className:`${Xe(o)} border-solid border-main-divider`,children:[u("button",{className:`border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text\n ${o?"":"py-[14px] px-0"}\n ${a?"group cursor-pointer":""}`,onClick:c,children:[u("span",{className:"text-m-title-xs font-medium pr-2.5 flex "+(a?"group-hover:text-primary-main":""),children:[t?h(R,{image:t,className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,e]}),a?h(R,{className:"flex-shrink-0",image:i,width:"24",height:"24",asSVG:!0}):null]}),a?h(Ke,{blocks:n,context:l}):null]})}));function Xe(e){return e?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"}const Qe=p((({title:e,description:t,accordionItems:n,context:r,className:o="",bordered:l})=>u("section",{className:`py-6 px-4 font-sans bg-white text-primary-text ${o}`,children:[e?h(b,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?h("div",{className:"mb-5 text-m-light text-center",children:t}):null,n?.length?h("ul",{className:"list-none m-0 p-0",children:n.map(((e,t)=>h(Ye,{...e,context:r,bordered:l},`AccordionItem_${t}`)))}):null]}))),Ze=(e=!1)=>e?"text-white":"",et=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),tt=p((({icon:e,image:t,title:n,subtitle:r,isFillGradient:o})=>u("div",{role:"columnheader",children:[e?h(R,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&h("div",{className:"mb-3.5",children:h(R,{image:t})}),n?h(b,{headingType:"h4",className:Ze(o),title:n}):null,r?h("div",{className:et(o),children:r}):null]}))),nt=p((({cell:e,rowHeader:t,isFillGradient:n=!1})=>h("div",{className:"box-border flex flex-col",role:"cell",children:h("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(rt(n,t))})}))),rt=(e,t)=>({label:n,description:r},o)=>u("div",{className:"flex justify-between text-s py-3.5",children:[h("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),u("div",{className:"basis-1/2",children:[n?h("div",{className:"text-right "+(e?"text-white":""),children:n}):null,r?h("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:r}):null]})]},String(o)),ot=p((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:r,showRow:o,onToggleColumn:l})=>{const a=t?.slice(0,o?t.length:n),i=r?"secondary":"primary";return u("div",{className:`border border-main-stroke rounded-md p-4 mb-3.5 ${r?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[h(tt,{...e,isFillGradient:r}),a?.length?a.map((({rowHeader:e,cell:t},n)=>h(nt,{cell:t,rowHeader:e,isFillGradient:r},String(n)))):null,o?lt({header:e,buttonVersion:i}):null,at({onToggleColumn:l,isFillGradient:r,showRow:o})]})})),lt=({header:e,buttonVersion:t})=>e.link?h(me,{href:e.link.href,target:e.link.target,version:t,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,at=({onToggleColumn:e,isFillGradient:t,showRow:n})=>h("div",{className:"mt-5",role:"cell",children:h("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),it=p((({className:e,context:t,title:n,rowHeaders:o,columns:l,visibleRowLength:a=0,isColoredFirstColumn:i=!1,orientation:c="vertical"})=>{const s=l?.map((({data:e,header:t})=>({header:t,column:e?.map(((e,t)=>({cell:e,rowHeader:o?.[t]?.title})))})))||[],[d,m]=r(new Array(l?.length||0).fill(!a));return u("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${e||""}`,children:[n?h(b,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,ct({tableData:s,context:t,visibleRowLength:a,isColoredFirstColumn:i,columnsViewState:d,handleToggleColumn:e=>{d[e]=!d[e],m([...d])},orientation:c,setColumnsViewState:m})]})})),ct=({context:e,tableData:t,visibleRowLength:n,isColoredFirstColumn:r,columnsViewState:o,handleToggleColumn:l,orientation:a="horizontal",setColumnsViewState:i})=>h("div",{role:"table",children:t?.length?st({orientation:a,context:e,columnsViewState:o,setColumnsViewState:i,tableData:t,visibleRowLength:n,isColoredFirstColumn:r,handleToggleColumn:l}):null}),st=({orientation:e,context:t,columnsViewState:n,setColumnsViewState:r,tableData:o,visibleRowLength:l,isColoredFirstColumn:a,handleToggleColumn:i})=>"horizontal"===e?h(U,{context:t,onSlideChange:mt(n,r),children:o.map(dt({context:t,visibleRowLength:l,isColoredFirstColumn:a,columnsViewState:n,handleToggleColumn:i}))}):o.map(dt({context:t,visibleRowLength:l,isColoredFirstColumn:a,columnsViewState:n,handleToggleColumn:i})),dt=({context:e,visibleRowLength:t,isColoredFirstColumn:n,columnsViewState:r,handleToggleColumn:o})=>(l,a)=>h(ot,{context:e,visibleRowLength:t,showRow:r[a],header:l.header,columnData:l.column,isFillGradient:0===a&&n,onToggleColumn:()=>o(a)},String(a)),mt=(e,t)=>()=>{t(new Array(e.length).fill(!1))},ht=new Map;function ut(e){return e?Array.isArray(e)?e:e instanceof Function?ut(e()):[e]:[e]}let pt=function(e,t,{fallback:n}={}){const l=a((()=>ut(e)),[e]),[i,c]=r(),[s,d]=r(),m=e=>{c(e),d(void 0)},h=e=>{c(void 0),d(e)};o((()=>{if(!l.every((e=>null===e)))try{const e=t(...l);"then"in e?(e=>{e.then((e=>ht.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:i||s||!p?i:p,error:s,mutate:()=>Promise.resolve(void 0),isValidating:!1}};const xt=(...e)=>pt(...e);async function gt(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}const bt=(e,t=2)=>{const n=10**t;return Math.round(parseFloat(String(e))*n)/n};function ft(){return async function(e,t){try{return await gt(e,t)}catch(e){console.error(e)}return null}(It,{method:"POST",body:JSON.stringify(yt)})}const It="https://coins.rshb.ru/api/catalog/vue_storefront_magento_1_currency_rates_average/currency_rates_average/_search?size=10000",yt={query:{bool:{must:[{term:{russian_region_code:"77"}},{term:{from_volume:"0"}},{terms:{currency_pair:["USD/RUB","EUR/RUB"]}}]}}},Nt=e=>e.reduce(((e,t)=>{const n=t.currency_first?.code;return e.some((e=>e.code===n))||e.push({code:n,buy:bt(Number(t.rate_buy),3),sell:bt(Number(t.rate_sell),3)}),e}),[]);var vt;!function(e){e.RUB="RUB",e.EUR="EUR",e.USD="USD"}(vt||(vt={}));const wt=new Intl.NumberFormat("ru",{style:"currency",currency:vt.RUB}),Ct=e=>e?wt.format(e):"",kt="text-left text-m-light text-secondary-text",St={USD:"DollarIcon",EUR:"EuroIcon"},$t=p((({className:e,exchangeCurrencyItems:t})=>u("table",{className:`h-fit w-fit ${e}`,children:[h("thead",{children:u("tr",{children:[h("th",{className:kt,children:"Валюта"}),h("th",{className:`${kt} pl-11`,children:"Купить"}),h("th",{className:`${kt} pl-11`,children:"Продать"})]})}),h("tbody",{children:t.map((e=>Dt(e)))})]}))),Dt=e=>{const t=e?.code;return u("tr",{className:"pb-1 text-h6",children:[h("td",{className:"pt-4",children:u("div",{className:"flex items-center",children:[t?h(R,{image:{icon:St[t]},width:"24",height:"24"}):null,h("span",{className:"ml-2",children:t})]})}),h("td",{className:"pt-4 pl-11",children:Ct(e?.sell)}),h("td",{className:"pt-4 pl-11",children:Ct(e?.buy)})]},t)},Tt=p((({className:e="",address:t,distance:n})=>u("div",{className:`flex ${e}`,children:[h(R,{image:{icon:"GpsIcon"},width:"24",height:"24",asSVG:!0}),u("div",{className:"ml-3",children:[t?h("p",{className:"text-primary-main m-0 mb-1 text-l",children:t}):null,n?u("p",{className:"text-secondary-text m-0 text-m-light",children:["Курс указан для ближайшего офиса - ",n]}):null]})]}))),Mt=p((({className:e="",inputClassName:t="",id:n,name:r,type:o="text",label:a,value:i="",children:c,onChange:s,...d})=>{const m=l((e=>{const t=e.target.validity.valid?e.target.value:i;s(t)}),[s]),p=c?"pr-8":"";return u("div",{className:`relative ${e}`,children:[a?h("label",{className:"block text-m-light mb-2",children:a}):null,h("input",{className:`w-full border rounded-md border-main-stroke hover:border-primary-hover active:border-primary-text\n focus:border-primary-text text-primary-text outline-none p-4 ${p} ${t}`,id:n,name:r||n,type:o,value:i,onChange:m,...d}),c]})})),_t=p((({className:e="",isBorder:t=!0,label:n,options:l=[],value:a,onChange:i,placeholder:c=""})=>{const[s,d]=r(l[0]||{key:"",text:""}),[m,p]=r(!1);return o((()=>{d(a||{key:"",text:""})}),[a]),u("div",{className:`${e}`,children:[n?h("span",{className:"mb-2 flex",children:n}):null,u("div",{className:"relative "+(m?"z-20":"z-10"),children:[u("div",{className:`text-m-light flex justify-between items-center mb-0.5 text-primary-text cursor-pointer\n ${At(t)}`,onClick:()=>p(!m),children:[h("p",{className:"p-4 pr-8 h-[56px] overflow-hidden text-ellipsis whitespace-nowrap",children:s?.text||c}),h(v,{name:"ArrowUpIcon",width:"16",height:"16",className:"absolute right-3 "+(m?"":"rotate-180")})]}),l?.length?h("div",{className:`h-0 ${Rt(m)}`,children:h("div",{className:"bg-white text-l max-h-[256px] overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:l.map(Pt((e=>{d(e),p(!1),i(e)}),m,(e=>Boolean(e.key===s.key))))})}):null]})]})})),Rt=e=>e?"":"overflow-hidden",Pt=(e,t,n)=>(r,o)=>u("div",{onClick:()=>{e(r)},className:"flex px-4 py-3 cursor-pointer hover:bg-main-divider pr-11 relative",children:[h("span",{className:"min-h-6",children:r.text}),h(v,{name:"DoneSimpleIcon",width:"16",height:"16",className:["absolute right-4 pt-0.5",n(r)&&t?"":"hidden"].join(" ")})]},String(o)),At=e=>e?"border border-main-stroke rounded-md hover:border-primary-hover":"";function Bt(e){const{placeholder:t,rates:n,selected:r,value:o,setValue:l,setSelected:a}=e,i=n.map((e=>({key:e.code??"",text:e.code??""}))),c={key:r,text:r};return u("div",{className:"relative flex",children:[h(Mt,{className:"shrink-0 h-14 pl-4 pt-4 pb-4 text-l w-full appearance-none mr-[-90px]",placeholder:t,type:"text",value:o,onChange:l}),i.length?h(_t,{isBorder:!1,onChange:e=>a(e.key),options:i,value:c}):null]})}const Lt=(e,t,n)=>{const r=Number(Vt(e))*Math.pow(t,n?-1:1);return Number.isInteger(r)?r:bt(r)},Vt=e=>e.replace(/[^\d.,]/g,"").replace(",","."),Gt=e=>{return(t=[[e=>e.value!==vt.RUB&&e.oppositeValue!==vt.RUB,()=>e.handleConvert(e.value,vt.RUB)],[e=>e.value===vt.RUB&&e.oppositeValue===vt.RUB,()=>e.handleConvert(e.value,vt.USD)],[()=>!0,()=>e.handleConvert(e.value)]],e=>{const[,n]=t.find((([t])=>t(e)))||[];return n})(e)?.();var t},jt=p((({context:e,className:t="",currencyRatesBuy:n,currencyRatesSell:o,button:l})=>{const{useRouter:a,handlerDecorator:i}=e,c=a(),[s,d]=r({inputSell:"",inputBuy:"",selectSell:n?.[0]?.code||vt.RUB,selectBuy:o?.[0]?.code||vt.USD}),m=e=>{d((t=>({...t,...e})))};return u("div",{className:`grid gap-[18px] pt-2 ${t}`,children:[Bt({placeholder:"Хочу продать",rates:o,selected:s.selectSell,setSelected:Wt(s,m,o),value:s.inputSell,setValue:e=>Ut(m,o)(e,s.selectSell,s.selectBuy)}),Bt({placeholder:"Получу",rates:n,selected:s.selectBuy,setSelected:Et(s,m,n),value:s.inputBuy,setValue:e=>Ot(m,n)(e,s.selectBuy,s.selectSell)}),l?.text?h(me,{className:"py-4 mr-1",version:l?.version,...oe({router:c,handlerDecorator:i},l),children:l.text}):null]})})),Wt=(e,t,n)=>r=>{t({selectSell:r}),Gt({value:r,oppositeValue:e.selectBuy,handleConvert:(r=e.selectSell,o=e.selectBuy)=>{Ut(t,n)(e.inputSell,r,o)}})},Et=(e,t,n)=>r=>{t({selectBuy:r}),Gt({value:r,oppositeValue:e.selectSell,handleConvert:(r=e.selectBuy,o=e.selectSell)=>Ot(t,n)(e.inputBuy,r,o)})},Ut=(e,t)=>(n,r,o)=>{e({inputSell:Vt(n),selectBuy:o});const l=t.find((e=>e.code===o))?.buy||t.find((e=>e.code===r))?.sell;l&&e({inputBuy:String(Lt(n,l,r===vt.RUB)||"")})},Ot=(e,t)=>(n,r,o)=>{e({inputBuy:Vt(n),selectSell:o});const l=t.find((e=>e.code===o))?.sell||t.find((e=>e.code===r))?.buy;l&&e({inputSell:String(Lt(n,l,r===vt.RUB)||"")})},Ft={address:"Москва, ул.Ленина д.28",distance:"6км"},zt=p((({className:e="",context:t,title:n="Курсы обмена валют",button:r,...o})=>{const l=function(){const{data:e}=xt(It,ft),t=e?.hits?.hits?.map((e=>e._source))||[];return t.length?Nt(t):t}(),a=l.filter((e=>e.buy));a.unshift({code:vt.RUB});const i=l.filter((e=>e.sell));return i.push({code:vt.RUB}),h(Ue,{context:t,className:`bg-white text-primary-text font-sans p-9 box-border min-h-[320px] \n ${e}`,...o,children:h(ye,{context:t,title:h(b,{headingType:"h4",title:n,className:"whitespace-pre-wrap text-h4 mb-5"}),children:u("div",{className:"flex",children:[u("div",{className:"mr-14 pt-4",children:[l?h($t,{className:"mb-[30px]",exchangeCurrencyItems:l}):null,h(Tt,{...Ft})]}),l.length&&a.length&&i.length?h(jt,{className:"grow",context:t,currencyRatesBuy:a,currencyRatesSell:i,button:r}):null]})})})})),Ht={"bg-white":"text-primary-main",transparent:"text-white"},Jt={"bg-white":"text-black",transparent:"text-white"},qt=p((({className:e="",href:t,children:n,targetBlank:r,bgColor:o="bg-white",showTitle:l=!0})=>u("a",{className:`inline-flex items-center font-sans no-underline ${e}`,href:t||"https://rshb.ru/",target:r?"_blank":"_self","aria-label":"Россельхозбанк",children:[h(R,{image:{icon:"LogoIcon",iconVersion:Ht[o]},className:`${Ht[o]} w-10 h-[38px]`,asSVG:!0}),l?h("span",{className:`${Jt[o]} text-s font-medium ml-2.5`,children:n||"Россельхозбанк"}):null]}))),Kt=p((({className:e="",title:t="Мобильное приложение",description:n,href:r="#"})=>h("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:r?u("div",{className:"flex",children:[h("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]",children:h(qt,{className:"w-[33px]",bgColor:"transparent",showTitle:!0})}),u("a",{href:r,target:"_blank",className:"flex flex-col justify-center pl-3",children:[h("div",{className:"text-s font-medium mb-[3px]",children:t}),h("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),Yt=p((({className:e="",items:t,hasButton:n,context:r})=>{const o=r.useRouter(),{handlerDecorator:l}=r;return u("div",{className:e,children:[t?.length?t.map(Xt):null,n?h(me,{version:"primary",className:"mb-6 w-full",...oe({router:o,handlerDecorator:l},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),Xt=(e,t)=>{const{type:n,text:r,description:o}=e;return u("div",{className:"mb-4",children:[h("div",{children:Qt(n,r)}),h("div",{className:"mt-1 text-s-light text-secondary-text",children:o})]},String(t))},Qt=(e,t="")=>{switch(e){case"tel":return h("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${Zt(t)}`,children:t});case"email":return h("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return h("span",{children:t})}},Zt=e=>e.replaceAll(/\D/g,""),en=p((({className:e="",index:t,text:n,href:r,target:o,onClick:l})=>h("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:r,target:o,onClick:l,children:n||`Документ ${t}`}))),tn=p((({title:e,links:t,className:n="",context:r})=>{const o=r.useRouter(),{handlerDecorator:l}=r;return u("div",{className:n,children:[h("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?h("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>h(en,{index:t,className:"text-s",...oe({router:o,handlerDecorator:l},e)},String(t))))}):null]})})),nn=[{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"}],rn=p((({href:e,version:t="primary"})=>{const{icon:n,label:r}=nn.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};if(!n)return null;return h("a",{className:`flex items-center justify-center rounded-md w-14 h-14 group box-border ${"secondary"===t?"bg-white hover:bg-secondary-hover":"border-solid border-[1px] border-main-divider hover:border-transparent hover:bg-primary-main"} ${"primary"===t?"hover:text-black":""}`,href:e,"aria-label":r,target:"_blank",rel:"noopener noreferrer",children:n?h(R,{image:n,imageClassName:"group-hover:text-white",width:"24",height:"24",asSVG:!0}):null})})),on=p((({className:e,media:t,version:n,context:r})=>{const o=r.useRouter(),{handlerDecorator:l}=r;return h("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e||""}`,children:t?.map(((e,t)=>h(rn,{version:n,...oe({router:o,handlerDecorator:l},e)},String(t))))})})),ln=p((({className:e="",index:t,text:n,href:r,target:o,onClick:l})=>h("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:o,onClick:l,children:n||`Документ ${t}`}))),an=p((({className:e,links:t,context:n})=>{const r=n.useRouter(),{handlerDecorator:o}=n;return u("div",{className:`${e||""}`,children:[h("div",{className:"py-6",children:h("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?h("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>h(ln,{index:t,className:"",...oe({router:r,handlerDecorator:o},e)},String(t))))}):null]})}));function cn(e={}){const{data:t}=xt(`/wcms-resources/${s.SITEMAP||"sitemap"}.json`,gt,{fallback:e});return t||{}}const sn=p((({className:e,isMobile:t=!1})=>{const{term:n,setTerm:o}=(()=>{const[e,t]=r("");return{term:e,setTerm:e=>t(e)}})(),l=t?"text-s":"text-l-light",a=t?" placeholder-transparent":"h-full",i=t?"some search":void 0;return u("form",{className:`font-sans relative ${e}`,children:[u("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[h("div",{className:t?"w-5 h-5":"w-6 h-6",children:h(R,{image:"LoupeIcon",width:"24",height:"24"})}),n?null:h("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${l}`,children:"Поиск по сайту"})]}),h("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 ${a}`,value:n,onChange:e=>o(e.target.value),type:"text",name:"search-bar-input",placeholder:i}),t?h("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(),o("")},children:h(R,{image:"CloseIcon",width:"24",height:"24"})}):h(me,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-[3px] right-1",onClick:e=>{e?.preventDefault(),console.log("click")},children:h("div",{className:"text-s px-9 py-2.5",children:"Найти"})})]})})),dn=p((({className:e=""})=>h(sn,{className:e,isMobile:!0}))),mn=e=>e?.map((e=>({label:e.text||"",blocks:[{accordionBlockType:"LinkList",documents:e.items||[]}]}))),hn=p((({className:e="",documents:t,relatedEnterprises:n,contacts:r,socialMedia:o,context:l,horizontalNavigationTitle:a,page:i})=>{const c=i?.fallback,s=cn(c),d=s?.dispositions;return u("footer",{className:`font-sans px-4 py-[26px] bg-white ${e}`,children:[h(Yt,{className:"overflow-hidden",items:r,context:l,hasButton:!0}),h(Qe,{context:l,className:"!p-0 mb-4",accordionItems:mn(s.topItems)}),h("div",{children:d?.map(un)}),h(Kt,{context:l,title:"Мобильное приложение",description:"Загрузить для IOS и Android"}),h(dn,{context:l,className:"grow"}),h(on,{className:"pb-4",media:o,context:l}),h(tn,{title:a,links:n,context:l}),h(an,{links:t,context:l})]})})),un=(e,t)=>{const{icon:n,href:r,text:o}=e;return u(me,{version:"link",href:r,className:"flex text-s mb-4 w-6",children:[n?h(R,{className:"pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,h("span",{className:"pl-2.5 font-medium text-primary-text",children:o})]},`footer-${t}`)},pn=(e,t,n=((e,t)=>t.startsWith(e)))=>n(Q(e),(e=>(e||"").replace(te,""))(Q(X(e)?t.href:t.pathname))),xn=e=>t=>pn(t.href,e),gn=e=>t=>t.items?.some(xn(e))||pn(t.href,e)||((e,t)=>Z(e)===Z(t.href))(t.href,e),bn=e=>t=>e?.href===t?.href,fn=(e,t)=>{return(r=e,o=t,(r||[]).map((e=>o?.find(bn(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(bn(e))))));var n,r,o},In="absolute left-0 -bottom-3 w-full h-[2px]",yn=p((({className:e="",text:t,href:n,target:r,active:o,onClick:l,children:a,bgColor:i="bg-white"})=>u("a",{className:`relative inline-block bg-transparent text-center no-underline ${e}`,href:n,target:r,onClick:l,children:[h("span",{className:Nn(i,o),children:t||a}),o?h("div",{className:vn(i,o)}):null]}))),Nn=(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`},vn=(e,t=!1)=>t?`${"bg-white"===e?"bg-primary-main":e} ${In}`:In,wn=c("https://10.80.4.9");const Cn=p((({context:e,burgerSubMenu:t,onClick:n,defaultLocation:a="",children:i})=>{const[c,s]=function(e){const[t,n]=r(e);return o((()=>{n(globalThis?.localStorage.getItem("location")||e)}),[e]),[t,l((()=>{wn.getFetcherAddress().then((t=>{const r=t||e;globalThis?.localStorage.setItem("location",r),n(r)}))}),[e])]}(a);return u("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[h("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:n,children:h(R,{image:"CloseIcon",width:"24",height:"24",asSVG:!0})}),u("button",{onClick:s,className:"flex items-center text-s text-secondary-text p-0 mb-4 bg-transparent cursor-pointer",children:[h(R,{image:"GeolocationIcon",width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),c]}),i,h("div",{className:"mb-7",children:t?.map(kn)}),h(dn,{context:e,className:"grow"})]})})),kn=(e,t)=>{const{icon:n,href:r,text:o}=e;return u("a",{href:r,className:"flex text-s mb-4 hover:text-primary-main",children:[n?h(R,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,h("span",{className:"font-medium pl-0.5",children:o})]},`headerSubMenu-${t}`)},Sn=p((({onClick:e,bgColor:t})=>u("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-[50px]",children:[u("div",{className:"flex items-center",children:[h("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:h(R,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),h(qt,{className:"mr-8",bgColor:t})]}),h("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-s border-0 bg-transparent cursor-pointer",children:"Войти"})]}))),$n=p((({className:e="",defaultLocation:t,bgColor:n="bg-white",context:o,topItems:l,page:a})=>{const i=o.useRouter(),c=a?.fallback,s=cn(c),d=s?.dispositions,{handlerDecorator:m}=o,p=fn(s.topItems,l).find(gn(i))?.items,x=(e=>(t=[])=>{const n=t?.filter(xn(e));return n?.length?(r=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>r(e)>r(t)?e:t)))(n):void 0;var r})(i)(p),[g,b]=r(!1),f=()=>b(!g);return u("header",{className:`${n} ${e}`,children:[u("div",{className:"container px-4 py-0 box-border",children:[h(Sn,{onClick:f,bgColor:n}),h("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-[50px]",children:h("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:p?.map(((e,t)=>Dn({...oe({router:i,handlerDecorator:m},e),active:e===x,bgColor:n},t)))})})]}),g?h(Cn,{context:o,onClick:f,burgerSubMenu:d,defaultLocation:t,children:h(Qe,{context:o,accordionItems:mn(s.topItems),className:"!p-0 mb-4"})}):null]})})),Dn=(e,t)=>h(yn,{className:"mr-8 whitespace-nowrap text-s",...e},String(t)),Tn=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Mn(e=""){const t=Tn(e);return t<=4?"S":t<=8?"M":"L"}function _n(e=""){const t=Tn(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function Rn(e=""){const t=Tn(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Pn=p((({className:e,context:t,title:n,description:r="Блок в разработке...",...o})=>u(Ue,{context:t,className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${Rn(e)} ${_n(e)} `,...o,children:[h(L,{context:t,className:"!p-0 max-w-[600px]",title:n,description:r,headlineVersion:Mn(e)}),h("figure",{className:"m-0 min-w-[80%]",children:An()})]}))),An=(e=3)=>Ln(100,e).map((e=>Math.floor(e))).map(Bn),Bn=(e,t)=>h("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):[]),Vn=p((({block:e,context:t,className:n=""})=>h("section",{className:`flex grow-0 shrink-0 basis-full px-4 pt-6 ${Y[e?.version??"primary"]} ${n}`,role:"listitem",children:h("div",{className:"flex grow",children:h(Se,{context:t,...e})})}))),Gn=p((({className:e,context:t,slides:n=[]})=>{const r=n.map((e=>e.productBlock));return h("section",{className:`font-sans bg-white overflow-hidden w-100 pb-6 ${e||""}`,children:h(U,{context:t,children:r.map(((e,n)=>h(Vn,{block:e,context:t},String(n))))})})})),jn={primary:{background:"bg-white",title:"text-primary-text",description:"text-secondary-text",iconText:"text-secondary-text",iconBackground:"bg-main-divider",iconConnector:"bg-secondary-light"},secondary:{background:"bg-primary-main",title:"text-white",description:"text-white/80",iconText:"text-white",iconBackground:"bg-white/30",iconConnector:"bg-white"}},Wn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-[50px] w-[50px] min-w-[50px] min-h-[50px]"},En={normal:"min-h-[70px]",small:"min-h-[50px]"},Un={primary:"normal",secondary:"white"},On=p((({className:e,title:t,description:n,showLines:r=!0,steps:o,size:l="normal",version:a="primary"})=>{const i=jn[a];return u("section",{className:`box-border font-sans bg-white px-4 py-6 flex flex-col\n ${i.background} ${i.title} ${e||""}`,children:[t?h(b,{headingType:"h3",className:`text-center ${i.title}`,title:t}):null,n?h("p",{className:`text-m-light text-center ${i.description} ${t?"mt-2":""}`,children:n}):null,o?.length?h("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:h("div",{className:"flex flex-col justify-between gap-x-[101px]",children:o.map(Fn(l,a,r))})}):null]})})),Fn=(e,t,n)=>(r,o,l)=>{const a=l.length-1===o,i="normal"===e?"ml-[34px]":"ml-6",c=jn[t];return h("div",{children:u("div",{className:"flex flex-row text-center relative",children:[u("div",{className:"overflow-hidden flex-shrink-0",children:[zn(e,t)(r,o),a?null:h("div",{className:`min-h-8 h-full w-[2px] ${n?c.iconConnector:""} ${i}`})]}),u("div",{className:`flex flex-col justify-center h-fit ${En[e]}`,children:[r.label?h("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:r.label}):null,r.description?h("div",{className:`text-s ${c.description} text-left`,children:r.description}):null]})]})},String(o))},zn=(e,t)=>(n,r)=>{const o=jn[t],l="normal"===e?"38":"27",a="normal"===e?"text-m-title":"text-m-title-xs";return h("div",{className:`${Wn[e]} ${o.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:h("span",{className:`font-medium flex self-center ${o.title} ${a}`,children:(i=n?.icon,Boolean(i?.icon||i?.src)?h(R,{image:{...n.icon,iconVersion:Un[t]},width:l,height:l,asSVG:!0}):h("span",{children:r+1}))})});var i},Hn=e=>e?.alt||e?.title||y[e?.icon?e.icon:""],Jn={Buttons:({buttons:e})=>e&&e?.length?h("div",{children:e.map((({icon:e,rounded:t,...n},r)=>h(me,{className:`mt-3 ${r>0&&t?"ml-2.5":""} ${e?"w-12 h-12":""}`,ariaLabel:Hn(e),rounded:t,appendLeft:e?.src||e?.icon?h(R,{image:e,width:"24px",height:"24px",asSVG:!0}):null,...n,"aria-label":e},String(r))))}):null,Img:({image:e})=>e?.src?h(R,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>h(Ie,{className:"flex flex-col justify-between items-start text-m",version:"gray",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>u("div",{children:[e?h("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?h("div",{className:"text-s text-secondary-text",children:t}):null]})},qn=p((({title:e,icon:t})=>u("div",{className:"flex gap-2.5 mb-2",children:[e?h(b,{headingType:"h3",className:"font-medium",title:e}):null,t?h(R,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),Kn=p((({context:e,header:t,data:n})=>u("div",{className:"rounded-md border-main-stroke h-full box-border border p-4",children:[h(qn,{...t}),n?.length?n.map(Yn(e)):null]}))),Yn=e=>(t,n)=>u("div",{children:[n>0?h("div",{className:"h-5"}):null,Xn(t,e)]},String(n)),Xn=(e,t)=>{if(!e)return null;const{tableCellType:n,...r}=e;if(!n||!(n in Jn))return null;return h(Jn[n],{context:t,...r})},Qn=p((({tiles:e,context:t})=>h(U,{context:t,children:e.map(((e,t)=>h(Kn,{...e},String(t))))}))),Zn=p((({tiles:e})=>h("div",{className:"flex flex-col gap-3.5",children:e.map(((e,t)=>h(Kn,{...e},String(t))))}))),er=p((({className:e,context:t,title:n,description:r,tariffsColumns:o,rowHeaders:l,orientation:a="vertical"})=>{const i=nr(o),c=rr(l,i);return u("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[n?h(b,{headingType:"h2",className:`text-center ${r?"mb-2":"mb-5"}`,title:n}):null,r?h("div",{className:"mb-5 text-center text-m",children:r}):null,c?.length?tr(a,c,t):null]})}));function tr(e,t,n){return h("vertical"===e?Zn:Qn,{context:n,tiles:t})}const nr=e=>e?.[0].data?e[0].data:[],rr=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),or={Accordion:Qe,ComparisonTable:it,ExchangeRateTile:zt,Footer:hn,Gallery:Be,Header:$n,Headline:L,LinkDocs:K,LinkList:Fe,MobileAppTile:Kt,ProductBlock:Me,ProductGallery:Gn,StepsBlock:On,TariffsTable:er,TextBlock:Re,Placeholder:Pn},lr=m();const ar=p((({className:e,onClick:t,ariaLabel:n})=>h("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:ir()}))),ir=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[h("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"}),h("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"})]})},cr=p((({className:e,context:t,...n})=>{const{useRouter:a,handlerDecorator:i=re}=t,c=function(e){const[t,n]=r(0);return o((()=>{(async()=>{const[t]=await lr.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{n(await lr.like(e))}),[e]),dislike:l((async()=>{n(await lr.dislike(e))}),[e])}}(a().pathname);return u(Ue,{tag:"div",context:t,className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e||""}`,...n,children:[h(ar,{onClick:i(c.like),ariaLabel:"Поставить отметку «лайк»"}),h(ar,{onClick:i(c.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),h("span",{className:"select-none",children:c.likeCount})]})}));function sr(e,t,n=[null]){const{key:r,page:o,blockDecorator:l,blocksRegistry:a,context:i}=t,{type:c}=e;c&&c in a||console.warn(`No block with "${c}" is registered`);const s=c&&a[c];return l({blockClassName:`scroll-mt-12 ${P(e.style)}`,block:e,ancestors:n,render:({block:l,blockClassName:a})=>{const{version:c,content:d,anchor:m,labels:u,blocks:p}=l,x=p?p.map(((r,o)=>sr(r,{...t,key:`${t.key}-${o}`},[...n,e]))):null;return s?h(s,{className:a,version:c,context:i,page:o,anchor:m,labels:u,...d,children:x},r):null}},r)}const dr=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),mr=p((e=>{const{className:t="",context:n,data:r={}}=e,{style:o,blocks:l,slots:a,likeControl:i,colorPalette:c="pc"}=r,s=function({blocksRegistry:e,data:t,blockDecorator:n,context:r}){return(o,l)=>o.map(((o,a)=>sr(o,{key:`${o.type||"#"}-${a}`,blocksRegistry:e,page:t||{},blockDecorator:n||dr,context:r},l)))}(e);return u("section",{className:`relative ${P(o)} ${t}`,"data-theme":c,children:[a?.header?.blocks?.length?h("div",{className:`${P(a.header.style)}`,children:s(a.header.blocks,["header"])}):null,l?.length?h("div",{className:"container grid grid-cols-12 gap-1",children:s(l)}):null,i?hr(n):null]})}));function hr(e){return h("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:h(cr,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:e},"LikeControl")})}e.Blocks=or,e.ContentPage=mr,e.DaDataAPI=c,e.LikeAPI=m,e.joinList=function(e){return t=>t.reduce(((t,n,r)=>t.length?t.concat({...e,key:r},n):[n]),[])},e.projectSettings=s,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=ee,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -1,6 +1,7 @@
1
- import type { TabActivationEvent } from '../components/Tabs/Tabs';
1
+ import type { AnchorClickScrollingEvent, TabActivationEvent } from '../components/Tabs/Tabs';
2
2
  import type { TariffsTableInnerEvent } from '../ui-kit/InnerTable/InnerTableProps';
3
3
  export interface EventMap {
4
4
  tab: TabActivationEvent;
5
5
  tariffInnerTable: TariffsTableInnerEvent;
6
+ anchorClick: AnchorClickScrollingEvent;
6
7
  }
@@ -1,3 +1,15 @@
1
+ interface DaDataSuggestion<T> {
2
+ value?: string;
3
+ unrestricted_value?: string;
4
+ data?: T;
5
+ }
6
+ interface DaDataAddress {
7
+ city?: string | null;
8
+ }
9
+ export interface DaDataResult {
10
+ suggestions?: DaDataSuggestion<DaDataAddress>[];
11
+ }
1
12
  export declare function DaDataAPI(baseURL?: string): {
2
13
  getFetcherAddress: () => Promise<string | null | undefined>;
3
14
  };
15
+ export {};
@@ -1 +1 @@
1
- {"version":3,"file":"DaDataAPI.js","sourceRoot":"","sources":["../../src/api/DaDataAPI.ts"],"names":[],"mappings":";;AAAA,4DAAyD;AAIzD,SAAgB,SAAS,CAAC,OAAO,GAAG,EAAE;IACpC,KAAK,UAAU,iBAAiB;QAC9B,IAAI,CAAC,CAAC,aAAa,IAAI,SAAS,CAAC,EAAE;YACjC,OAAO,IAAI,CAAC;SACb;QAED,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,IAAA,+BAAc,GAAE,CAAC;YACtC,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,OAAO,YAAY,EAAE;gBACnD,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC;oBACnB,GAAG,EAAE,MAAM,CAAC,QAAQ;oBACpB,GAAG,EAAE,MAAM,CAAC,SAAS;oBACrB,KAAK,EAAE,CAAC;iBACT,CAAC;aACH,CAAC,CAAC;YAEH,MAAM,IAAI,GAAG,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAiB,CAAC;YAErD,OAAO,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC;SAC3C;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAEjB,OAAO,IAAI,CAAC;SACb;IACH,CAAC;IAED,OAAO;QACL,iBAAiB;KAClB,CAAC;AACJ,CAAC;AA/BD,8BA+BC"}
1
+ {"version":3,"file":"DaDataAPI.js","sourceRoot":"","sources":["../../src/api/DaDataAPI.ts"],"names":[],"mappings":";;AAAA,4DAAyD;AAgBzD,SAAgB,SAAS,CAAC,OAAO,GAAG,EAAE;IACpC,KAAK,UAAU,iBAAiB;QAC9B,IAAI,CAAC,CAAC,aAAa,IAAI,SAAS,CAAC,EAAE;YACjC,OAAO,IAAI,CAAC;SACb;QAED,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,IAAA,+BAAc,GAAE,CAAC;YACtC,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,OAAO,YAAY,EAAE;gBACnD,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC;oBACnB,GAAG,EAAE,MAAM,CAAC,QAAQ;oBACpB,GAAG,EAAE,MAAM,CAAC,SAAS;oBACrB,KAAK,EAAE,CAAC;iBACT,CAAC;aACH,CAAC,CAAC;YAEH,MAAM,IAAI,GAAG,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAiB,CAAC;YAErD,OAAO,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC;SAC3C;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAEjB,OAAO,IAAI,CAAC;SACb;IACH,CAAC;IAED,OAAO;QACL,iBAAiB;KAClB,CAAC;AACJ,CAAC;AA/BD,8BA+BC"}
@@ -1,4 +1,4 @@
1
- import type { UniBlockProps } from '../../types';
1
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
2
  import type { AccordionContent } from './AccordionContent';
3
3
  export interface AccordionProps extends AccordionContent, UniBlockProps {
4
4
  }
@@ -1,4 +1,4 @@
1
- import type { UniBlockProps } from '../../types';
1
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
2
  import type { AccordionItemCommonProps } from './AccordionContent';
3
3
  export interface AccordionItemProps extends AccordionItemCommonProps, UniBlockProps {
4
4
  }
@@ -1,4 +1,4 @@
1
- import type { UniBlockProps } from '../../types';
1
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
2
  import type { BaseTileCommonProps } from './BaseTileProps';
3
3
  export interface BaseTileProps extends BaseTileCommonProps, UniBlockProps {
4
4
  }
@@ -1,4 +1,4 @@
1
- import type { UniBlockProps } from '../../types';
1
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
2
  import type { BenefitsBlockContent } from './BenefitsBlockContent';
3
3
  export interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {
4
4
  }
@@ -1,4 +1,4 @@
1
- import type { UniBlockProps } from '../../types';
1
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
2
  import type { BonusContent } from './BonusContent';
3
3
  export interface BonusProps extends BonusContent, UniBlockProps {
4
4
  }
@@ -3,13 +3,22 @@ exports.Bonus = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
+ const ButtonSection_1 = require("../../ui-kit/Button/ButtonSection");
7
+ const Img_1 = require("../../ui-kit/Img/Img");
6
8
  const Headline_1 = require("../Headline/Headline");
7
9
  exports.Bonus = (0, uni_jsx_1.JSX)((props) => {
8
10
  const { context, className = '', title, description, bonusItems, ...rest } = props;
9
- return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-[50px] pb-9 ${className}`, context: context, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), (0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems
11
+ return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-[50px] pb-9 ${className}`, context: context, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), (0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
10
12
  ? bonusItems.map((_, i) => {
11
- return ((0, jsx_runtime_1.jsx)("div", { className: "flex-grow w-[49%] border border-gray pl-9 pt-9 pr-6 pb-6 mb-[14px] mx-[7px] 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: "mr-4", children: [(0, jsx_runtime_1.jsx)("div", { className: "text-h4", children: _.title }), (0, jsx_runtime_1.jsx)("div", { className: "text-xl-light mt-[14px] max-w-[488px]", children: _.description })] }), _.bonusCount ? ((0, jsx_runtime_1.jsxs)("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [(0, jsx_runtime_1.jsx)("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount }), (0, jsx_runtime_1.jsx)("span", { className: "text-h2 bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })] })) : null] }) }, String(i)));
13
+ return ((0, jsx_runtime_1.jsx)("div", { className: "flex-grow w-[49%] border border-gray pl-9 pt-9 pr-6 pb-6 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, { context: context, buttons: _?.buttons })) : null] }), _.bonusItemContent?.bonusType
14
+ ? renderBonusItemContent(_.bonusItemContent)
15
+ : null] }) }, String(i)));
12
16
  })
13
17
  : null })] }) }));
14
18
  });
19
+ const renderBonusItemContent = (bonusItemContent) => ((0, jsx_runtime_1.jsx)("div", { children: bonusItemContent.bonusType === 'count'
20
+ ? renderBonusCount(bonusItemContent)
21
+ : renderBonusImage(bonusItemContent) }));
22
+ const renderBonusCount = (_) => ((0, jsx_runtime_1.jsxs)("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [_.bonusCount ? ((0, jsx_runtime_1.jsx)("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount })) : null, _.bonusName ? ((0, jsx_runtime_1.jsx)("span", { className: "text-h2 bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })) : null] }));
23
+ const renderBonusImage = (_) => _.image ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: `w-[50px] h-[50px] min-w-[50px] p-3 rounded-full`, image: _.image })) : null;
15
24
  //# sourceMappingURL=Bonus.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Bonus.js","sourceRoot":"","sources":["../../../src/components/Bonus/Bonus.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,4DAAyD;AAGzD,mDAAgD;AAInC,QAAA,KAAK,GAAG,IAAA,aAAG,EAAa,CAAC,KAAK,EAAE,EAAE;IAC7C,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAEnF,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,oCAAoC,SAAS,EAAE,EAC1D,OAAO,EAAE,OAAO,KACZ,IAAI,YAER,iCAAK,SAAS,EAAC,WAAW,aACxB,uBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,GACd,EACF,gCAAK,SAAS,EAAC,4BAA4B,YACxC,UAAU;wBACT,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;4BACtB,OAAO,CACL,gCAEE,SAAS,EAAC,8GAA8G,YAExH,iCAAK,SAAS,EAAC,6BAA6B,aAC1C,iCAAK,SAAS,EAAC,MAAM,aACnB,gCAAK,SAAS,EAAC,SAAS,YAAE,CAAC,CAAC,KAAK,GAAO,EACxC,gCAAK,SAAS,EAAC,uCAAuC,YAAE,CAAC,CAAC,WAAW,GAAO,IACxE,EACL,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CACd,iCAAK,SAAS,EAAC,yDAAyD,aACtE,iCAAM,SAAS,EAAC,qGAAqG,YAClH,CAAC,CAAC,UAAU,GACR,EACP,iCAAM,SAAS,EAAC,0DAA0D,YACvE,CAAC,CAAC,SAAS,GACP,IACH,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,IAlBD,MAAM,CAAC,CAAC,CAAC,CAmBV,CACP,CAAC;wBACJ,CAAC,CAAC;wBACJ,CAAC,CAAC,IAAI,GACJ,IACF,GACO,CAChB,CAAC;AACJ,CAAC,CAAC,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,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAEnF,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,oCAAoC,SAAS,EAAE,EAC1D,OAAO,EAAE,OAAO,KACZ,IAAI,YAER,iCAAK,SAAS,EAAC,WAAW,aACxB,uBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,GACd,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,qGAAqG,YAE/G,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,CACpB,uBAAC,6BAAa,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,GAAI,CACzD,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,CAAC,CAAC,gBAAgB,EAAE,SAAS;4CAC5B,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,gBAAgB,CAAC;4CAC5C,CAAC,CAAC,IAAI,IACJ,IAhBD,MAAM,CAAC,CAAC,CAAC,CAiBV,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,CACR,uBAAC,SAAG,IAAC,SAAS,EAAE,iDAAiD,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,GAAI,CACtF,CAAC,CAAC,CAAC,IAAI,CAAC"}
@@ -1,13 +1,41 @@
1
+ import type { EmptyOption } from '../../model/EmptyOptionType';
1
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
+ import type { Picture } from '../../model/Picture';
4
+ import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
2
5
  /**
3
- * @title Плитка
6
+ * @title Изображение
4
7
  */
5
- export declare type BonusItem = HeadlineCommonProps & {
8
+ export declare type BonusImageDef = {
9
+ /** @default image */
10
+ bonusType?: 'image';
11
+ image?: Picture;
12
+ };
13
+ /**
14
+ * @title Баллы
15
+ */
16
+ export declare type BonusCountDef = {
17
+ /** @default count */
18
+ bonusType?: 'count';
6
19
  /** @title Количество баллов */
7
20
  bonusCount?: string;
8
21
  /** @title Наименование */
9
22
  bonusName?: string;
10
23
  };
24
+ /**
25
+ * @title Вид контента
26
+ */
27
+ export declare type BonusItemContentDef = EmptyOption | BonusImageDef | BonusCountDef;
28
+ /**
29
+ * @title Плитка
30
+ */
31
+ export declare type BonusItem = HeadlineCommonProps & {
32
+ bonusItemContent?: BonusItemContentDef;
33
+ /**
34
+ * @title Кнопка
35
+ * @maxItems 1
36
+ */
37
+ buttons?: ButtonWithIconProps[];
38
+ };
11
39
  /**
12
40
  * @title Блок Бонусы
13
41
  */
@@ -1,4 +1,4 @@
1
- import type { UniBlockProps } from '../../types';
1
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
2
  import type { BonusBenefitsBlockContent } from './BonusBenefitsBlockContent';
3
3
  export interface BenefitsBlockProps extends BonusBenefitsBlockContent, UniBlockProps {
4
4
  }
@@ -1,4 +1,4 @@
1
- import type { UniBlockProps } from '../../types';
1
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
2
  import { CommonCalculatorProps } from './CalculatorContent';
3
3
  export interface BonusCalculatorProps extends CommonCalculatorProps, UniBlockProps {
4
4
  }
@@ -7,9 +7,9 @@ const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
7
7
  const constants_1 = require("./constants");
8
8
  const Rate_1 = require("./Rate");
9
9
  const renderButtonSection_1 = require("./renderButtonSection");
10
+ const renderFootnote_1 = require("./renderFootnote");
10
11
  const renderWantedSumInput_1 = require("./renderWantedSumInput");
11
12
  const useBonusCalculatorParams_1 = require("./useBonusCalculatorParams");
12
- const renderFootnote_1 = require("./renderFootnote");
13
13
  exports.BonusCalculatorForm = (0, uni_jsx_1.JSX)(({ context, className = '', sourceBookDir = '', buttons, footnote }) => {
14
14
  const [travelExpenseValue, setTravelExpenseValue] = (0, hooks_1.useState)(constants_1.DEFAULT_TRAVEL_MIN_SUM);
15
15
  const [restExpenseValue, setRestExpenseValue] = (0, hooks_1.useState)(constants_1.DEFAULT_REST_MIN_SUM);
@@ -1 +1 @@
1
- {"version":3,"file":"BonusCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BonusCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAGvD,iEAA8D;AAC9D,2CAA2E;AAC3E,iCAA8B;AAC9B,+DAA4D;AAC5D,iEAA8D;AAC9D,yEAAsE;AACtE,qDAAkD;AAIrC,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,GAAG,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrE,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,IAAA,gBAAQ,EAAC,kCAAsB,CAAC,CAAC;IACrF,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,IAAA,gBAAQ,EAAC,gCAAoB,CAAC,CAAC;IAC/E,MAAM,eAAe,GAAG;QACtB,kBAAkB;QAClB,gBAAgB;KACjB,CAAC;IACF,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,GACnF,IAAA,mDAAwB,EAAC,eAAe,EAAE,aAAa,CAAC,CAAC;IAE3D,OAAO,CACL,qCAAS,SAAS,EAAE,SAAS,aAC3B,iCAAK,SAAS,EAAC,WAAW,aACvB,IAAA,2CAAoB,EACnB,0CAA0C,EAC1C;wBACE,MAAM,EAAE,YAAY;wBACpB,MAAM,EAAE,YAAY;wBACpB,UAAU,EAAE,kBAAkB;wBAC9B,IAAI,EAAE,GAAG;wBACT,WAAW,EAAE,KAAK;qBACnB,EACD,qBAAqB,CACtB,EACA,IAAA,2CAAoB,EACnB,yCAAyC,EACzC;wBACE,SAAS,EAAE,MAAM;wBACjB,MAAM,EAAE,WAAW;wBACnB,MAAM,EAAE,WAAW;wBACnB,UAAU,EAAE,gBAAgB;wBAC5B,IAAI,EAAE,GAAG;wBACT,WAAW,EAAE,KAAK;qBACnB,EACD,mBAAmB,CACpB,IACG,EACN,0CACG,UAAU,IAAI,CAAC,CAAC,CAAC,CAAC,CACjB,uBAAC,WAAI,IAAC,KAAK,EAAC,kFAAiB,EAAC,IAAI,EAAE,UAAU,EAAE,kBAAkB,EAAC,kBAAkB,GAAG,CACzF,CAAC,CAAC,CAAC,IAAI,GACJ,EACN,iCAAK,SAAS,EAAC,sBAAsB,aAClC,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC,uBAAC,2CAAoB,IAAC,KAAK,EAAC,sEAAe,EAAC,KAAK,EAAE,SAAS,GAAI,CAAC,CAAC,CAAC,IAAI,EACxF,IAAA,yCAAmB,EAAC,OAAO,EAAE,OAAO,CAAC,EACrC,IAAA,+BAAc,EAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"BonusCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BonusCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAGvD,iEAA8D;AAC9D,2CAA2E;AAC3E,iCAA8B;AAC9B,+DAA4D;AAC5D,qDAAkD;AAClD,iEAA8D;AAC9D,yEAAsE;AAIzD,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,GAAG,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrE,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,IAAA,gBAAQ,EAAC,kCAAsB,CAAC,CAAC;IACrF,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,IAAA,gBAAQ,EAAC,gCAAoB,CAAC,CAAC;IAC/E,MAAM,eAAe,GAAG;QACtB,kBAAkB;QAClB,gBAAgB;KACjB,CAAC;IACF,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,GACnF,IAAA,mDAAwB,EAAC,eAAe,EAAE,aAAa,CAAC,CAAC;IAE3D,OAAO,CACL,qCAAS,SAAS,EAAE,SAAS,aAC3B,iCAAK,SAAS,EAAC,WAAW,aACvB,IAAA,2CAAoB,EACnB,0CAA0C,EAC1C;wBACE,MAAM,EAAE,YAAY;wBACpB,MAAM,EAAE,YAAY;wBACpB,UAAU,EAAE,kBAAkB;wBAC9B,IAAI,EAAE,GAAG;wBACT,WAAW,EAAE,KAAK;qBACnB,EACD,qBAAqB,CACtB,EACA,IAAA,2CAAoB,EACnB,yCAAyC,EACzC;wBACE,SAAS,EAAE,MAAM;wBACjB,MAAM,EAAE,WAAW;wBACnB,MAAM,EAAE,WAAW;wBACnB,UAAU,EAAE,gBAAgB;wBAC5B,IAAI,EAAE,GAAG;wBACT,WAAW,EAAE,KAAK;qBACnB,EACD,mBAAmB,CACpB,IACG,EACN,0CACG,UAAU,IAAI,CAAC,CAAC,CAAC,CAAC,CACjB,uBAAC,WAAI,IAAC,KAAK,EAAC,kFAAiB,EAAC,IAAI,EAAE,UAAU,EAAE,kBAAkB,EAAC,kBAAkB,GAAG,CACzF,CAAC,CAAC,CAAC,IAAI,GACJ,EACN,iCAAK,SAAS,EAAC,sBAAsB,aAClC,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC,uBAAC,2CAAoB,IAAC,KAAK,EAAC,sEAAe,EAAC,KAAK,EAAE,SAAS,GAAI,CAAC,CAAC,CAAC,IAAI,EACxF,IAAA,yCAAmB,EAAC,OAAO,EAAE,OAAO,CAAC,EACrC,IAAA,+BAAc,EAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { UniBlockProps } from '../../types';
1
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
2
  import type { CalculatorContent } from './CalculatorContent';
3
3
  export interface CalculatorProps extends CalculatorContent, UniBlockProps {
4
4
  }
@@ -1,4 +1,4 @@
1
- import type { UniBlockProps } from '../../types';
1
+ import type { UniBlockProps } from '../../model/ContentPageDef';
2
2
  import { CommonCalculatorProps } from './CalculatorContent';
3
3
  export declare const ANNUITY = "annuity";
4
4
  export declare const DIFFERENTIAL = "differential";
@@ -8,11 +8,11 @@ const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
8
8
  const constants_1 = require("./constants");
9
9
  const Rate_1 = require("./Rate");
10
10
  const renderButtonSection_1 = require("./renderButtonSection");
11
+ const renderFootnote_1 = require("./renderFootnote");
11
12
  const renderMonthsInput_1 = require("./renderMonthsInput");
12
13
  const renderPaymentTypeSelector_1 = require("./renderPaymentTypeSelector");
13
14
  const renderWantedSumInput_1 = require("./renderWantedSumInput");
14
15
  const useCreditCalculatorParams_1 = require("./useCreditCalculatorParams");
15
- const renderFootnote_1 = require("./renderFootnote");
16
16
  exports.ANNUITY = 'annuity';
17
17
  exports.DIFFERENTIAL = 'differential';
18
18
  const paymentTypeItems = [
@@ -1 +1 @@
1
- {"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAEvD,6DAA0D;AAE1D,iEAA8D;AAC9D,2CAA0D;AAC1D,iCAA8B;AAC9B,+DAA4D;AAC5D,2DAAwD;AACxD,2EAAwE;AACxE,iEAA8D;AAC9D,2EAAwE;AACxE,qDAAkD;AAErC,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,YAAY,GAAG,cAAc,CAAC;AAE3C,MAAM,gBAAgB,GAAG;IACvB;QACE,EAAE,EAAE,eAAO;QACX,IAAI,EAAE,aAAa;KACpB;IACD;QACE,EAAE,EAAE,oBAAY;QAChB,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC;AAIW,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAChE,MAAM,CAAC,SAAS,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACrD,MAAM,CAAC,WAAW,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAC,IAAI,CAAC,CAAC;IACxD,MAAM,CAAC,cAAc,EAAE,oBAAoB,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC/D,MAAM,CAAC,eAAe,EAAE,qBAAqB,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACjE,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAC,uBAAW,CAAC,CAAC;IAC1D,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,0BAAc,CAAC,CAAC;IAC/D,MAAM,eAAe,GAAG;QACtB,SAAS;QACT,WAAW;QACX,cAAc;QACd,eAAe;QACf,UAAU;QACV,WAAW;KACZ,CAAC;IACF,MAAM,gBAAgB,GAAG,IAAA,qDAAyB,EAAC,eAAe,EAAE,aAAa,CAAC,CAAC;IAEnF,OAAO,CACL,qCAAS,SAAS,EAAE,SAAS,aAC3B,iCAAK,SAAS,EAAC,WAAW,aACvB,IAAA,2CAAoB,EACnB,kBAAkB,EAClB,EAAE,GAAG,gBAAgB,EAAE,IAAI,EAAE,GAAG,EAAE,EAClC,aAAa,CACd,EACA,IAAA,qCAAiB,EAAC,uBAAuB,EAAE,gBAAgB,EAAE,cAAc,CAAC,EAC7E,iCAAK,SAAS,EAAC,MAAM,aACnB,uBAAC,mBAAQ,IACP,IAAI,EAAC,qOAA4C,EACjD,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,oBAAoB,GAC9B,EACF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,6KAAiC,EACtC,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,qBAAqB,GAC/B,EACF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,gKAA8B,EACnC,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,iBAAiB,GAC3B,IACE,IACF,EACN,uBAAC,WAAI,IACH,KAAK,EAAC,sCAAQ,EACd,IAAI,EAAE,gBAAgB,CAAC,SAAS,EAChC,kBAAkB,EAAC,kBAAkB,EACrC,IAAI,EAAC,GAAG,GACR,EACF,iCAAK,SAAS,EAAC,sBAAsB,aACnC,uBAAC,2CAAoB,IACnB,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,uBAAuB,EACjE,KAAK,EAAE,gBAAgB,CAAC,cAAc,EACtC,OAAO,EAAC,QAAG,GACX,EACD,IAAA,qDAAyB,EAAC,OAAO,EAAE;wBAClC,KAAK,EAAE,gBAAgB;wBACvB,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC,eAAO,CAAC,CAAC,CAAC,oBAAY;wBAC/C,QAAQ,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,KAAK,eAAO,CAAC;qBAC9D,CAAC,EACD,IAAA,yCAAmB,EAAC,OAAO,EAAE,OAAO,CAAC,EACrC,IAAA,+BAAc,EAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAEvD,6DAA0D;AAE1D,iEAA8D;AAC9D,2CAA0D;AAC1D,iCAA8B;AAC9B,+DAA4D;AAC5D,qDAAkD;AAClD,2DAAwD;AACxD,2EAAwE;AACxE,iEAA8D;AAC9D,2EAAwE;AAE3D,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,YAAY,GAAG,cAAc,CAAC;AAE3C,MAAM,gBAAgB,GAAG;IACvB;QACE,EAAE,EAAE,eAAO;QACX,IAAI,EAAE,aAAa;KACpB;IACD;QACE,EAAE,EAAE,oBAAY;QAChB,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC;AAIW,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAChE,MAAM,CAAC,SAAS,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACrD,MAAM,CAAC,WAAW,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAC,IAAI,CAAC,CAAC;IACxD,MAAM,CAAC,cAAc,EAAE,oBAAoB,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC/D,MAAM,CAAC,eAAe,EAAE,qBAAqB,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACjE,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAC,uBAAW,CAAC,CAAC;IAC1D,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,0BAAc,CAAC,CAAC;IAC/D,MAAM,eAAe,GAAG;QACtB,SAAS;QACT,WAAW;QACX,cAAc;QACd,eAAe;QACf,UAAU;QACV,WAAW;KACZ,CAAC;IACF,MAAM,gBAAgB,GAAG,IAAA,qDAAyB,EAAC,eAAe,EAAE,aAAa,CAAC,CAAC;IAEnF,OAAO,CACL,qCAAS,SAAS,EAAE,SAAS,aAC3B,iCAAK,SAAS,EAAC,WAAW,aACvB,IAAA,2CAAoB,EACnB,kBAAkB,EAClB,EAAE,GAAG,gBAAgB,EAAE,IAAI,EAAE,GAAG,EAAE,EAClC,aAAa,CACd,EACA,IAAA,qCAAiB,EAAC,uBAAuB,EAAE,gBAAgB,EAAE,cAAc,CAAC,EAC7E,iCAAK,SAAS,EAAC,MAAM,aACnB,uBAAC,mBAAQ,IACP,IAAI,EAAC,qOAA4C,EACjD,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,oBAAoB,GAC9B,EACF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,6KAAiC,EACtC,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,qBAAqB,GAC/B,EACF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,gKAA8B,EACnC,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,iBAAiB,GAC3B,IACE,IACF,EACN,uBAAC,WAAI,IACH,KAAK,EAAC,sCAAQ,EACd,IAAI,EAAE,gBAAgB,CAAC,SAAS,EAChC,kBAAkB,EAAC,kBAAkB,EACrC,IAAI,EAAC,GAAG,GACR,EACF,iCAAK,SAAS,EAAC,sBAAsB,aACnC,uBAAC,2CAAoB,IACnB,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,uBAAuB,EACjE,KAAK,EAAE,gBAAgB,CAAC,cAAc,EACtC,OAAO,EAAC,QAAG,GACX,EACD,IAAA,qDAAyB,EAAC,OAAO,EAAE;wBAClC,KAAK,EAAE,gBAAgB;wBACvB,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC,eAAO,CAAC,CAAC,CAAC,oBAAY;wBAC/C,QAAQ,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,KAAK,eAAO,CAAC;qBAC9D,CAAC,EACD,IAAA,yCAAmB,EAAC,OAAO,EAAE,OAAO,CAAC,EACrC,IAAA,+BAAc,EAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}