@redneckz/wildless-cms-uni-blocks 0.3.68 → 0.3.70

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 (264) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +108 -41
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/cosmos-static/icons/ArrowDownIcon.svg +1 -1
  5. package/cosmos-static/icons/ArrowUpIcon.svg +1 -1
  6. package/cosmos-static/icons/DoneIcon.svg +1 -0
  7. package/cosmos-static/icons/GridIcon.svg +1 -1
  8. package/dist/components/BlockContent.d.ts +3 -1
  9. package/dist/components/Blocks.d.ts +1 -0
  10. package/dist/components/Blocks.js +2 -0
  11. package/dist/components/Blocks.js.map +1 -1
  12. package/dist/components/Footer/MediaButton.js +5 -4
  13. package/dist/components/Footer/MediaButton.js.map +1 -1
  14. package/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -3
  15. package/dist/components/Header/HeaderSecondaryMenu.js +4 -4
  16. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  17. package/dist/components/Header/HeaderTop.js +1 -1
  18. package/dist/components/Header/HeaderTop.js.map +1 -1
  19. package/dist/components/Insurance/Insurance.js +4 -6
  20. package/dist/components/Insurance/Insurance.js.map +1 -1
  21. package/dist/components/Insurance/InsuranceContent.d.ts +2 -5
  22. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  23. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +34 -0
  24. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -0
  25. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  26. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +2 -0
  27. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +1 -0
  28. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +5 -0
  29. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +51 -0
  30. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -0
  31. package/dist/components/ProductBlock/renderBackwardButton.js +3 -1
  32. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  33. package/dist/components/Recommendation/RecommendationCard.js +1 -1
  34. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  35. package/dist/components/StepsBlock/StepsBlock.js +1 -1
  36. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  37. package/dist/icons/IconName.d.ts +5 -15
  38. package/dist/icons/IconName.js +3 -13
  39. package/dist/icons/IconName.js.map +1 -1
  40. package/dist/model/IconVersion.d.ts +3 -2
  41. package/dist/model/Insurance.d.ts +6 -0
  42. package/dist/model/Insurance.js +2 -0
  43. package/dist/model/Insurance.js.map +1 -0
  44. package/dist/model/Picture.d.ts +0 -1
  45. package/dist/ui-kit/Button/ArrowButton.js +1 -1
  46. package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  47. package/dist/ui-kit/Foldable/Foldable.js +1 -1
  48. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  49. package/dist/ui-kit/Icon/Icon.js +7 -3
  50. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  51. package/dist/ui-kit/Icon/IconProps.d.ts +1 -0
  52. package/dist/ui-kit/Img/Img.js +1 -1
  53. package/dist/ui-kit/Img/Img.js.map +1 -1
  54. package/lib/common.css +1 -1
  55. package/lib/components/BlockContent.d.ts +3 -1
  56. package/lib/components/Blocks.d.ts +1 -0
  57. package/lib/components/Blocks.js +2 -0
  58. package/lib/components/Blocks.js.map +1 -1
  59. package/lib/components/Footer/MediaButton.js +5 -4
  60. package/lib/components/Footer/MediaButton.js.map +1 -1
  61. package/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -3
  62. package/lib/components/Header/HeaderSecondaryMenu.js +4 -4
  63. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  64. package/lib/components/Header/HeaderTop.js +1 -1
  65. package/lib/components/Header/HeaderTop.js.map +1 -1
  66. package/lib/components/Insurance/Insurance.js +4 -6
  67. package/lib/components/Insurance/Insurance.js.map +1 -1
  68. package/lib/components/Insurance/InsuranceContent.d.ts +2 -5
  69. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  70. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +4 -0
  71. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +32 -0
  72. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -0
  73. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  74. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +2 -0
  75. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +1 -0
  76. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +5 -0
  77. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +49 -0
  78. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -0
  79. package/lib/components/ProductBlock/renderBackwardButton.js +3 -1
  80. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  81. package/lib/components/Recommendation/RecommendationCard.js +1 -1
  82. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  83. package/lib/components/StepsBlock/StepsBlock.js +1 -1
  84. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  85. package/lib/icons/IconName.d.ts +5 -15
  86. package/lib/icons/IconName.js +3 -13
  87. package/lib/icons/IconName.js.map +1 -1
  88. package/lib/model/IconVersion.d.ts +3 -2
  89. package/lib/model/Insurance.d.ts +6 -0
  90. package/lib/model/Insurance.js +2 -0
  91. package/lib/model/Insurance.js.map +1 -0
  92. package/lib/model/Picture.d.ts +0 -1
  93. package/lib/ui-kit/Button/ArrowButton.js +1 -1
  94. package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  95. package/lib/ui-kit/Foldable/Foldable.js +1 -1
  96. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  97. package/lib/ui-kit/Icon/Icon.fixture.d.ts +2 -0
  98. package/lib/ui-kit/Icon/Icon.js +7 -3
  99. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  100. package/lib/ui-kit/Icon/IconProps.d.ts +1 -0
  101. package/lib/ui-kit/Img/Img.js +1 -1
  102. package/lib/ui-kit/Img/Img.js.map +1 -1
  103. package/mobile/bundle/bundle.umd.js +16 -21
  104. package/mobile/bundle/bundle.umd.min.js +1 -1
  105. package/mobile/dist/components/BlockContent.d.ts +3 -1
  106. package/mobile/dist/components/Footer/MediaButton.js +5 -4
  107. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  108. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -3
  109. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +4 -4
  110. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  111. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  112. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  113. package/mobile/dist/components/Insurance/Insurance.js +4 -6
  114. package/mobile/dist/components/Insurance/Insurance.js.map +1 -1
  115. package/mobile/dist/components/Insurance/InsuranceContent.d.ts +2 -5
  116. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  117. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +34 -0
  118. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -0
  119. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  120. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +2 -0
  121. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +1 -0
  122. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +5 -0
  123. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +51 -0
  124. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -0
  125. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +3 -1
  126. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  127. package/mobile/dist/components/Recommendation/RecommendationCard.js +1 -1
  128. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  129. package/mobile/dist/icons/IconName.d.ts +5 -15
  130. package/mobile/dist/icons/IconName.js +3 -13
  131. package/mobile/dist/icons/IconName.js.map +1 -1
  132. package/mobile/dist/model/IconVersion.d.ts +3 -2
  133. package/mobile/dist/model/Insurance.d.ts +6 -0
  134. package/mobile/dist/model/Insurance.js +2 -0
  135. package/mobile/dist/model/Insurance.js.map +1 -0
  136. package/mobile/dist/model/Picture.d.ts +0 -1
  137. package/mobile/dist/ui-kit/Button/ArrowButton.js +1 -1
  138. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  139. package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
  140. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  141. package/mobile/dist/ui-kit/Icon/Icon.js +7 -3
  142. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  143. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +1 -0
  144. package/mobile/lib/components/BlockContent.d.ts +3 -1
  145. package/mobile/lib/components/Footer/MediaButton.js +5 -4
  146. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  147. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -3
  148. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +4 -4
  149. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  150. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  151. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  152. package/mobile/lib/components/Insurance/Insurance.js +4 -6
  153. package/mobile/lib/components/Insurance/Insurance.js.map +1 -1
  154. package/mobile/lib/components/Insurance/InsuranceContent.d.ts +2 -5
  155. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  156. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +32 -0
  157. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -0
  158. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  159. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js +2 -0
  160. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.js.map +1 -0
  161. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +5 -0
  162. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +49 -0
  163. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -0
  164. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +3 -1
  165. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  166. package/mobile/lib/components/Recommendation/RecommendationCard.js +1 -1
  167. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  168. package/mobile/lib/icons/IconName.d.ts +5 -15
  169. package/mobile/lib/icons/IconName.js +3 -13
  170. package/mobile/lib/icons/IconName.js.map +1 -1
  171. package/mobile/lib/model/IconVersion.d.ts +3 -2
  172. package/mobile/lib/model/Insurance.d.ts +6 -0
  173. package/mobile/lib/model/Insurance.js +2 -0
  174. package/mobile/lib/model/Insurance.js.map +1 -0
  175. package/mobile/lib/model/Picture.d.ts +0 -1
  176. package/mobile/lib/ui-kit/Button/ArrowButton.js +1 -1
  177. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  178. package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
  179. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  180. package/mobile/lib/ui-kit/Icon/Icon.js +7 -3
  181. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  182. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +1 -0
  183. package/mobile/src/components/BlockContent.ts +5 -1
  184. package/mobile/src/components/ContentPage/ContentPage.page.json +50 -1
  185. package/mobile/src/components/Footer/MediaButton.tsx +17 -5
  186. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +2 -3
  187. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +14 -6
  188. package/mobile/src/components/Header/HeaderTop.tsx +1 -1
  189. package/mobile/src/components/Insurance/Insurance.example.json +21 -0
  190. package/mobile/src/components/Insurance/Insurance.tsx +10 -9
  191. package/mobile/src/components/Insurance/InsuranceContent.ts +9 -11
  192. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +44 -0
  193. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +84 -0
  194. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +33 -0
  195. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +157 -0
  196. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +4 -1
  197. package/mobile/src/components/Recommendation/RecommendationCard.tsx +1 -1
  198. package/mobile/src/icons/ArrowDownIcon.svg +2 -2
  199. package/mobile/src/icons/ArrowUpIcon.svg +2 -2
  200. package/mobile/src/icons/DoneIcon.svg +4 -0
  201. package/mobile/src/icons/GridIcon.svg +2 -3
  202. package/mobile/src/icons/IconName.ts +4 -4
  203. package/mobile/src/model/IconVersion.ts +3 -2
  204. package/mobile/src/model/Insurance.ts +6 -0
  205. package/mobile/src/model/Picture.ts +0 -1
  206. package/mobile/src/ui-kit/Button/ArrowButton.tsx +1 -1
  207. package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -1
  208. package/mobile/src/ui-kit/Icon/Icon.tsx +14 -3
  209. package/mobile/src/ui-kit/Icon/IconProps.ts +1 -0
  210. package/package.json +2 -2
  211. package/src/components/BlockContent.ts +5 -1
  212. package/src/components/Blocks.ts +2 -0
  213. package/src/components/ContentPage/ContentPage.page.json +50 -1
  214. package/src/components/Footer/MediaButton.tsx +17 -5
  215. package/src/components/GracePeriod/GracePeriodContent.ts +2 -3
  216. package/src/components/Header/HeaderSecondaryMenu.tsx +14 -6
  217. package/src/components/Header/HeaderTop.tsx +1 -1
  218. package/src/components/Insurance/Insurance.example.json +21 -0
  219. package/src/components/Insurance/Insurance.fixture.tsx +5 -4
  220. package/src/components/Insurance/Insurance.tsx +10 -9
  221. package/src/components/Insurance/InsuranceContent.ts +9 -11
  222. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +44 -0
  223. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +52 -0
  224. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +84 -0
  225. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +33 -0
  226. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +157 -0
  227. package/src/components/ProductBlock/renderBackwardButton.tsx +4 -1
  228. package/src/components/Recommendation/RecommendationCard.tsx +1 -1
  229. package/src/components/StepsBlock/StepsBlock.fixture.tsx +3 -3
  230. package/src/components/StepsBlock/StepsBlock.tsx +1 -1
  231. package/src/icons/ArrowDownIcon.svg +2 -2
  232. package/src/icons/ArrowUpIcon.svg +2 -2
  233. package/src/icons/DoneIcon.svg +4 -0
  234. package/src/icons/GridIcon.svg +2 -3
  235. package/src/icons/IconName.ts +240 -5
  236. package/src/model/IconVersion.ts +3 -2
  237. package/src/model/Insurance.ts +6 -0
  238. package/src/model/Picture.ts +0 -1
  239. package/src/ui-kit/Button/ArrowButton.tsx +1 -1
  240. package/src/ui-kit/Foldable/Foldable.tsx +1 -1
  241. package/src/ui-kit/Icon/Icon.fixture.tsx +24 -0
  242. package/src/ui-kit/Icon/Icon.tsx +14 -3
  243. package/src/ui-kit/Icon/IconProps.ts +1 -0
  244. package/src/ui-kit/Img/Img.tsx +2 -1
  245. package/cosmos-static/icons/ArrowsRewindRight.svg +0 -1
  246. package/cosmos-static/icons/BurgerIconWhite.svg +0 -1
  247. package/cosmos-static/icons/CalendarWhiteIcon.svg +0 -1
  248. package/cosmos-static/icons/EmptyWalletWhiteIcon.svg +0 -1
  249. package/cosmos-static/icons/GridIconWhite.svg +0 -1
  250. package/cosmos-static/icons/PercentageSquareWhiteIcon.svg +0 -1
  251. package/mobile/src/components/Insurance/Insuranse.example.json +0 -36
  252. package/mobile/src/icons/ArrowsRewindRight.svg +0 -16
  253. package/mobile/src/icons/BurgerIconWhite.svg +0 -6
  254. package/mobile/src/icons/CalendarWhiteIcon.svg +0 -17
  255. package/mobile/src/icons/EmptyWalletWhiteIcon.svg +0 -16
  256. package/mobile/src/icons/GridIconWhite.svg +0 -4
  257. package/mobile/src/icons/PercentageSquareWhiteIcon.svg +0 -16
  258. package/src/components/Insurance/Insuranse.example.json +0 -36
  259. package/src/icons/ArrowsRewindRight.svg +0 -16
  260. package/src/icons/BurgerIconWhite.svg +0 -6
  261. package/src/icons/CalendarWhiteIcon.svg +0 -17
  262. package/src/icons/EmptyWalletWhiteIcon.svg +0 -16
  263. package/src/icons/GridIconWhite.svg +0 -4
  264. package/src/icons/PercentageSquareWhiteIcon.svg +0 -16
@@ -212,17 +212,14 @@
212
212
  IconMap["AppleIcon"] = "AppleIcon";
213
213
  IconMap["ArrowDownIcon"] = "ArrowDownIcon";
214
214
  IconMap["ArrowLeftIcon"] = "ArrowLeftIcon";
215
- IconMap["ArrowsRewindRight"] = "ArrowsRewindRight";
216
215
  IconMap["ArrowUpIcon"] = "ArrowUpIcon";
217
216
  IconMap["AtmIcon"] = "AtmIcon";
218
217
  IconMap["BankIcon"] = "BankIcon";
219
218
  IconMap["BurgerIcon"] = "BurgerIcon";
220
- IconMap["BurgerIconWhite"] = "BurgerIconWhite";
221
219
  IconMap["Calendar2Icon"] = "Calendar2Icon";
222
220
  IconMap["CalendarCircleIcon"] = "CalendarCircleIcon";
223
221
  IconMap["CalendarIcon"] = "CalendarIcon";
224
222
  IconMap["CalendarTickIcon"] = "CalendarTickIcon";
225
- IconMap["CalendarWhiteIcon"] = "CalendarWhiteIcon";
226
223
  IconMap["CardIcon"] = "CardIcon";
227
224
  IconMap["CardPosIcon"] = "CardPosIcon";
228
225
  IconMap["CardTickIcon"] = "CardTickIcon";
@@ -240,17 +237,16 @@
240
237
  IconMap["DocsIcon"] = "DocsIcon";
241
238
  IconMap["DocumentTextIcon"] = "DocumentTextIcon";
242
239
  IconMap["DollarIcon"] = "DollarIcon";
240
+ IconMap["DoneIcon"] = "DoneIcon";
243
241
  IconMap["EarthIcon"] = "EarthIcon";
244
242
  IconMap["EmptyWalletChangeIcon"] = "EmptyWalletChangeIcon";
245
243
  IconMap["EmptyWalletIcon"] = "EmptyWalletIcon";
246
- IconMap["EmptyWalletWhiteIcon"] = "EmptyWalletWhiteIcon";
247
244
  IconMap["EuroIcon"] = "EuroIcon";
248
245
  IconMap["GeolocationIcon"] = "GeolocationIcon";
249
246
  IconMap["GlassIcon"] = "GlassIcon";
250
247
  IconMap["GlobalIcon"] = "GlobalIcon";
251
248
  IconMap["GpsIcon"] = "GpsIcon";
252
249
  IconMap["GridIcon"] = "GridIcon";
253
- IconMap["GridIconWhite"] = "GridIconWhite";
254
250
  IconMap["InterestGrowthIcon"] = "InterestGrowthIcon";
255
251
  IconMap["InterestIcon"] = "InterestIcon";
256
252
  IconMap["JCBIcon"] = "JCBIcon";
@@ -267,7 +263,6 @@
267
263
  IconMap["PassSendIcon"] = "PassSendIcon";
268
264
  IconMap["PercentageRoundIcon"] = "PercentageRoundIcon";
269
265
  IconMap["PercentageSquareIcon"] = "PercentageSquareIcon";
270
- IconMap["PercentageSquareWhiteIcon"] = "PercentageSquareWhiteIcon";
271
266
  IconMap["PersonalCardIcon"] = "PersonalCardIcon";
272
267
  IconMap["PlayMarketIcon"] = "PlayMarketIcon";
273
268
  IconMap["PlusIcon"] = "PlusIcon";
@@ -299,17 +294,14 @@
299
294
  IconTitleMap["AppleIcon"] = "\u041B\u043E\u0433\u043E \u00ABApple\u00BB";
300
295
  IconTitleMap["ArrowDownIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 '\u0412\u043D\u0438\u0437'";
301
296
  IconTitleMap["ArrowLeftIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430";
302
- IconTitleMap["ArrowsRewindRight"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430";
303
297
  IconTitleMap["ArrowUpIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445";
304
298
  IconTitleMap["AtmIcon"] = "\u0411\u0430\u043D\u043A\u043E\u043C\u0430\u0442";
305
299
  IconTitleMap["BankIcon"] = "\u0411\u0430\u043D\u043A";
306
300
  IconTitleMap["BurgerIcon"] = "\u0411\u0443\u0440\u0433\u0435\u0440";
307
- IconTitleMap["BurgerIconWhite"] = "\u0411\u0443\u0440\u0433\u0435\u0440 (\u0431\u0435\u043B\u044B\u0439)";
308
301
  IconTitleMap["Calendar2Icon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C 2";
309
302
  IconTitleMap["CalendarCircleIcon"] = "\u0421\u043A\u0440\u0443\u0433\u043B\u0451\u043D\u043D\u044B\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C";
310
303
  IconTitleMap["CalendarIcon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C";
311
304
  IconTitleMap["CalendarTickIcon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C \u0441 \u0433\u0430\u043B\u043E\u0447\u043A\u043E\u0439";
312
- IconTitleMap["CalendarWhiteIcon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C \u0431\u0435\u043B\u044B\u0439";
313
305
  IconTitleMap["CardIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430";
314
306
  IconTitleMap["CardPosIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430 \u043F\u043E\u0434 \u043D\u0430\u043A\u043B\u043E\u043D\u043E\u043C";
315
307
  IconTitleMap["CardTickIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430 \u0441 \u0433\u0430\u043B\u043E\u0447\u043A\u043E\u0439";
@@ -327,17 +319,16 @@
327
319
  IconTitleMap["DocsIcon"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B";
328
320
  IconTitleMap["DocumentTextIcon"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0441 \u0442\u0435\u043A\u0441\u0442\u043E\u043C";
329
321
  IconTitleMap["DollarIcon"] = "\u0414\u043E\u043B\u043B\u0430\u0440";
322
+ IconTitleMap["DoneIcon"] = "\u0417\u0435\u043B\u0451\u043D\u0430\u044F '\u0433\u0430\u043B\u043E\u0447\u043A\u0430'";
330
323
  IconTitleMap["EarthIcon"] = "\u0417\u0435\u043C\u043B\u044F";
331
324
  IconTitleMap["EmptyWalletChangeIcon"] = "\u041F\u0443\u0441\u0442\u043E\u0439 \u043A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u043C";
332
325
  IconTitleMap["EmptyWalletIcon"] = "\u041F\u0443\u0441\u0442\u043E\u0439 \u043A\u043E\u0448\u0435\u043B\u0451\u043A";
333
- IconTitleMap["EmptyWalletWhiteIcon"] = "\u041F\u0443\u0441\u0442\u043E\u0439 \u043A\u043E\u0448\u0435\u043B\u0451\u043A (\u0431\u0435\u043B\u044B\u0439)";
334
326
  IconTitleMap["EuroIcon"] = "\u0415\u0432\u0440\u043E";
335
327
  IconTitleMap["GeolocationIcon"] = "\u0413\u0435\u043E\u043B\u043E\u043A\u0430\u0446\u0438\u044F";
336
328
  IconTitleMap["GlassIcon"] = "\u0417\u0435\u0440\u043A\u0430\u043B\u043E";
337
329
  IconTitleMap["GlobalIcon"] = "\u0413\u043B\u043E\u0431\u0443\u0441";
338
330
  IconTitleMap["GpsIcon"] = "Gps";
339
- IconTitleMap["GridIcon"] = "\u0421\u0435\u0442\u043A\u0430";
340
- IconTitleMap["GridIconWhite"] = "\u0421\u0435\u0442\u043A\u0430 (\u0431\u0435\u043B\u0430\u044F)";
331
+ IconTitleMap["GridIcon"] = "\u0421\u0435\u0442\u043A\u0430 (\u0431\u0435\u043B\u0430\u044F)";
341
332
  IconTitleMap["InterestGrowthIcon"] = "\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0440\u043E\u0441\u0442\u0430";
342
333
  IconTitleMap["InterestIcon"] = "\u0421\u043A\u0438\u0434\u043A\u0430";
343
334
  IconTitleMap["JCBIcon"] = "JCB";
@@ -354,7 +345,6 @@
354
345
  IconTitleMap["PassSendIcon"] = "\u0411\u0438\u0437\u043D\u0435\u0441";
355
346
  IconTitleMap["PercentageRoundIcon"] = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B (\u043A\u0440\u0443\u0433.)";
356
347
  IconTitleMap["PercentageSquareIcon"] = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B";
357
- IconTitleMap["PercentageSquareWhiteIcon"] = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B \u0431\u0435\u043B\u044B\u0435";
358
348
  IconTitleMap["PersonalCardIcon"] = "\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430";
359
349
  IconTitleMap["PlayMarketIcon"] = "\u041B\u043E\u0433\u043E \u00ABPlayMarket\u00BB";
360
350
  IconTitleMap["PlusIcon"] = "\u041F\u043B\u044E\u0441";
@@ -411,11 +401,15 @@
411
401
  }
412
402
  })();
413
403
 
414
- const Icon = JSX(({ className = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, iconVersion, asSVG, ...imgProps }) => {
404
+ const svgUseStyleMap = {
405
+ normal: 'text-primary-main',
406
+ black: 'text-black',
407
+ white: 'text-black invert',
408
+ };
409
+ const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, iconVersion = 'normal', asSVG, ...imgProps }) => {
415
410
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
416
- const svgUseStyle = iconVersion === 'white' ? 'text-black invert' : 'text-primary-main';
417
411
  if (asSVG) {
418
- return (jsxs("svg", { className: className, ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { className: svgUseStyle, href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
412
+ return (jsxs("svg", { className: className, ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { className: `${svgUseStyleMap[iconVersion]} ${imageClassName}`, href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
419
413
  }
420
414
  return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
421
415
  });
@@ -431,7 +425,7 @@
431
425
  // backwards compatibility with existing icons in usage
432
426
  const icon = typeof image === 'string' ? image : image.icon;
433
427
  if (icon || icon === '') {
434
- return icon.length ? (jsx(Icon, { className: className, iconVersion: getIconVersion(image), name: icon, ...iconProps })) : null;
428
+ return icon.length ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: getIconVersion(image), name: icon, ...iconProps })) : null;
435
429
  }
436
430
  return (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image }));
437
431
  });
@@ -751,7 +745,9 @@
751
745
  };
752
746
 
753
747
  function renderBackwardButton(button, version, className) {
754
- return (jsxs("div", { className: `flex items-center ${className}`, children: [jsx(Button, { version: version, rounded: true, className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3", ariaLabel: button?.text, href: button?.href, children: jsx(Img, { className: "w-4 h-4", image: button?.icon || { icon: 'ArrowLeftIcon' }, asSVG: true }) }), button?.text ? jsx("span", { className: "text-m-md font-light", children: button.text }) : null] }));
748
+ const iconVersion = version === 'primary' ? 'white' : 'black';
749
+ const backwardIcon = button?.icon || { icon: 'ArrowLeftIcon' };
750
+ return (jsxs("div", { className: `flex items-center ${className}`, children: [jsx(Button, { version: version, rounded: true, className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3", ariaLabel: button?.text, href: button?.href, children: jsx(Img, { className: "w-4 h-4", image: { ...backwardIcon, iconVersion }, asSVG: true }) }), button?.text ? jsx("span", { className: "text-m-md font-light", children: button.text }) : null] }));
755
751
  }
756
752
 
757
753
  const productBlockStyleMap$1 = {
@@ -877,7 +873,7 @@
877
873
 
878
874
  const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(Button, { rounded: true, className: `shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
879
875
  ? 'bg-secondary-light text-secondary-text'
880
- : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon' }, width: "16", height: "16", asSVG: true }) })));
876
+ : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, width: "16", height: "16", asSVG: true }) })));
881
877
 
882
878
  const cardVersionMap = {
883
879
  primary: 'bg-white text-secondary-text',
@@ -1410,7 +1406,7 @@
1410
1406
  return (jsx("section", { className: `box-border relative flex shrink-0 basis-full ${className}`, role: "listitem", children: jsx("div", { className: "box-border p-9 w-full", children: jsx(EmbeddedBlock, { context: context, ...blockCalcTabs, className: "flex justify-between" }) }) }, String(i)));
1411
1407
  };
1412
1408
 
1413
- const arrowBtnStyle = 'absolute w-[56px] h-[56px] min-h-[56px] max-h-[56px] top-1 z-10 mt-[25px] bg-white rounded-full';
1409
+ const arrowBtnStyle$1 = 'absolute w-[56px] h-[56px] min-h-[56px] max-h-[56px] top-1 z-10 mt-[25px] bg-white rounded-full';
1414
1410
  const Calculator = JSX(({ className = '', context, calcTabs = [], anchor = null }) => {
1415
1411
  const tabsNav = calcTabs.map((_) => _.nav || {});
1416
1412
  const blockCalcTabs = calcTabs.map(({ calculatorBlock }) => calculatorBlock || {});
@@ -1423,11 +1419,11 @@
1423
1419
  const showPrevButton = tabsShift > 0;
1424
1420
  return (jsxs("section", { id: anchor, className: `box-border overflow-hidden relative font-sans w-100 bg-white text-primary-text ${className}`, children: [jsxs("div", { children: [tabsNav.length > 1
1425
1421
  ? renderTabs({ tabsShift, tabsNav, activeSlideIndex, setActiveSlideIndex })
1426
- : null, showPrevButton ? (jsx(ArrowButton, { className: `${arrowBtnStyle} left-3 top-3`, onClick: handlePrevClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })) : null, showNextButton ? (jsx(ArrowButton, { className: `${arrowBtnStyle} right-3 top-3 rotate-180`, onClick: handleNextClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })) : null] }), jsx("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: blockCalcTabs?.length
1422
+ : null, showPrevButton ? (jsx(ArrowButton, { className: `${arrowBtnStyle$1} left-3 top-3`, onClick: handlePrevClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })) : null, showNextButton ? (jsx(ArrowButton, { className: `${arrowBtnStyle$1} right-3 top-3 rotate-180`, onClick: handleNextClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })) : null] }), jsx("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: blockCalcTabs?.length
1427
1423
  ? blockCalcTabs.map(renderCalculatorBlock({ context, className }))
1428
1424
  : null })] }));
1429
1425
  });
1430
- function renderNavButton$1({ tab, i, activeSlideIndex, onClick }) {
1426
+ function renderNavButton$2({ tab, i, activeSlideIndex, onClick }) {
1431
1427
  const isActiveBtn = i === activeSlideIndex;
1432
1428
  const btnClassName = isActiveBtn
1433
1429
  ? 'h-[88px] w-[387px] min-w-[387px] p-5 border-none bg-primary-main text-white'
@@ -1439,7 +1435,7 @@
1439
1435
  ${btnClassName}`, children: [jsx(Img, { className: `h-[24px] w-[24px] min-w-[24px] min-h-[24px] mr-4 ${iconClassName}`, image: { ...tab?.icon, iconVersion: isActiveBtn ? 'white' : 'normal' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "border-0", children: [jsx("div", { className: `font-medium ${btnTitleClassName}`, children: tab?.title }), jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: tab.description })] })] }, String(i)));
1440
1436
  }
1441
1437
  function renderTabs({ tabsShift, tabsNav, activeSlideIndex, setActiveSlideIndex }) {
1442
- return (jsxs("div", { children: [jsx("div", { style: { transform: `translateX(-${tabsShift * 388}px)` }, className: "flex flex-col justify-end items-center h-[126px] pt-[38px] box-border duration-1000", children: jsx("div", { className: "w-full flex flex-nowrap items-end gap-2", children: tabsNav.map((tab, i) => renderNavButton$1({
1438
+ return (jsxs("div", { children: [jsx("div", { style: { transform: `translateX(-${tabsShift * 388}px)` }, className: "flex flex-col justify-end items-center h-[126px] pt-[38px] box-border duration-1000", children: jsx("div", { className: "w-full flex flex-nowrap items-end gap-2", children: tabsNav.map((tab, i) => renderNavButton$2({
1443
1439
  tab,
1444
1440
  i,
1445
1441
  activeSlideIndex,
@@ -1840,14 +1836,15 @@
1840
1836
  height: '21px',
1841
1837
  },
1842
1838
  ];
1843
- const MediaButton = JSX(({ href, version }) => {
1839
+ const MediaButton = JSX(({ href, version = 'primary' }) => {
1844
1840
  const { icon, width, height, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
1845
1841
  if (!icon)
1846
1842
  return null;
1847
1843
  const classes = version === 'secondary'
1848
- ? 'text-white hover:text-primary-main hover:bg-white'
1849
- : 'text-primary-main hover:text-white hover:bg-primary-main hover:border-primary-main';
1850
- return (jsx("a", { className: ` flex items-center justify-center border border-solid rounded-md border-main-divider no-underline outline-none w-14 h-14 box-border ${classes}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? jsx(Img, { image: icon, width: width, height: height, asSVG: true, className: "block" }) : null }));
1844
+ ? 'bg-secondary-light hover:bg-secondary-hover'
1845
+ : 'border-main-divider border-solid border-[1px] hover:bg-primary-main';
1846
+ const isPrimary = version === 'primary';
1847
+ return (jsx("a", { className: `flex items-center justify-center rounded-md w-14 h-14 group box-border ${classes} ${isPrimary ? 'hover:text-black' : ''}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: { ...icon, iconVersion: 'normal' }, imageClassName: isPrimary ? 'group-hover:text-white' : '', width: width, height: height, asSVG: true })) : null }));
1851
1848
  });
1852
1849
 
1853
1850
  const SocialMedia = JSX(({ className = '', media, version, context, children }) => {
@@ -1927,13 +1924,13 @@
1927
1924
  'bg-white': 'text-secondary-light hover:text-secondary-hover',
1928
1925
  transparent: 'text-white',
1929
1926
  };
1930
- const LINKS_ICON_NAME_MAP = {
1931
- 'bg-white': 'GridIcon',
1932
- transparent: 'GridIconWhite',
1927
+ const LINKS_ICON_VERSION_MAP = {
1928
+ 'bg-white': 'black',
1929
+ transparent: 'white',
1933
1930
  };
1934
1931
  const HeaderSecondaryMenu = JSX(({ context, className, defaultLocation = '', bgColor = 'bg-white' }) => {
1935
1932
  const [city, getCity] = context.useGeolocation(defaultLocation);
1936
- return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), jsx(HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(Img, { image: "LoupeIcon", className: "h-full", asSVG: true }) }), jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(Img, { image: LINKS_ICON_NAME_MAP[bgColor], className: "h-full", asSVG: true }) })] }));
1933
+ return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), jsx(HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(Img, { image: { icon: 'LoupeIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full", asSVG: true }) }), jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(Img, { image: { icon: 'GridIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full bg-secondary-light rounded-full", asSVG: true }) })] }));
1937
1934
  });
1938
1935
 
1939
1936
  const maxBy = (discriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
@@ -2047,21 +2044,90 @@
2047
2044
  return (jsx("header", { className: `pt-6 pb-8 px-20 ${bgColor} ${className}`, id: anchor, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, jsx(HeaderSecondaryMenu, { context: context, className: "ml-auto", defaultLocation: defaultLocation, bgColor: bgColor })] }), jsx("div", { className: `mt-6 h-[1px] ${BORDER_COLORS[bgColor]}` }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { context: context, subItems: activeTopItem.items, bgColor: bgColor })) : null] }) }));
2048
2045
  });
2049
2046
 
2050
- const Insurance = JSX(({ className = '', title, description, image, benefits, insuranceSum, monthLimit }) => {
2051
- return (jsxs("section", { className: `px-[100px] py-[50px] bg-white text-primary-text ${className}`, children: [title ? jsx(Heading, { headingType: "h3", title: title, className: "text-center" }) : null, description ? jsx("div", { className: "text-center text-md mt-3", children: description }) : null, jsx("div", { children: jsxs("div", { className: "mt-5 mx-auto flex justify-center gap-[120px] mt-[30px]", children: [image?.src ? jsx(Img, { image: image }) : null, jsxs("div", { className: "w-[558px] m-auto", children: [benefits ? (jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit) })) : null, jsxs("div", { className: "bg-secondary-light h-15 flex mt-7 gap-6 px-5 py-4", children: [insuranceSum
2052
- ? renderValueBlock('Страховая сумма:', insuranceSum, Boolean(monthLimit))
2053
- : null, monthLimit
2054
- ? renderValueBlock('Ежемесячный лимит:', monthLimit, Boolean(insuranceSum))
2047
+ const Insurance = JSX(({ className = '', title, description, image, benefits, sum, monthLimit }) => {
2048
+ return (jsxs("section", { className: `px-[100px] py-[50px] bg-white text-primary-text ${className}`, children: [title ? jsx(Heading, { headingType: "h3", title: title, className: "text-center" }) : null, description ? jsx("div", { className: "text-center text-md mt-3", children: description }) : null, jsx("div", { children: jsxs("div", { className: "mt-5 mx-auto flex justify-center gap-[120px] mt-[30px]", children: [image?.src ? jsx(Img, { image: image }) : null, jsxs("div", { className: "w-[558px] m-auto", children: [benefits ? (jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit) })) : null, jsxs("div", { className: "bg-secondary-light h-15 flex mt-7 gap-6 px-5 py-4", children: [sum ? renderValueBlock$1('Страховая сумма:', sum, Boolean(monthLimit)) : null, monthLimit
2049
+ ? renderValueBlock$1('Ежемесячный лимит:', monthLimit, Boolean(sum))
2055
2050
  : null] })] })] }) })] }));
2056
2051
  });
2057
2052
  function renderBenefit(benefit, i) {
2058
- return (jsxs("div", { className: "flex items-center gap-5", children: [benefit?.icon ? (jsx(Img, { className: "w-[50px] h-[50px] min-w-[50px] p-3 rounded-full bg-secondary-light", image: benefit.icon, width: "24", height: "24", asSVG: true })) : null, jsx("div", { className: "flex", children: jsx("div", { className: "text-title-2xs", children: benefit.label }) })] }, String(i)));
2053
+ return (jsxs("div", { className: "flex items-center gap-5", children: [benefit?.icon ? (jsx(Img, { className: "w-[50px] h-[50px] min-w-[50px] p-3 rounded-full bg-secondary-light", image: benefit.icon, width: "24", height: "24", asSVG: true })) : null, jsxs("div", { children: [benefit?.label ? jsx("div", { className: "text-title-2xs", children: benefit.label }) : null, benefit?.description ? (jsx("div", { className: "mt-2 font-light text-secondary-text", children: benefit.description })) : null] })] }, String(i)));
2059
2054
  }
2060
- function renderValueBlock(title, sum, isAnotherBlock) {
2055
+ function renderValueBlock$1(title, sum, isAnotherBlock) {
2061
2056
  const widthStyle = isAnotherBlock ? 'w-fit' : 'w-full';
2062
2057
  return (jsxs("div", { className: `flex justify-between items-center gap-2 w-full ${widthStyle}`, children: [jsx("span", { className: "text-secondary-text text-base", children: title }), jsxs("span", { className: "text-primary-main text-title-2xs", children: [addSpacesBetweenNumbers(sum), " \u20BD"] })] }));
2063
2058
  }
2064
2059
 
2060
+ const arrowBtnStyle = 'absolute w-12 h-12 min-h-12 max-h-12 top-1 z-10 mt-[25px] bg-white rounded-full text-primary-text';
2061
+ const InsuranceAmountBlockInner = JSX(({ className = '', context, cards = [], anchor = null }) => {
2062
+ const [activeSlideIndex, setActiveSlideIndex] = context.useState(0);
2063
+ const [tabsShift, setTabsShift] = context.useState(0);
2064
+ const handleNextClick = () => setTabsShift(tabsShift + 1);
2065
+ const handlePrevClick = () => setTabsShift(tabsShift - 1);
2066
+ const galleryLength = cards?.length;
2067
+ const isGalleryScrollAvailable = cards?.length > 2;
2068
+ const showNextButton = isGalleryScrollAvailable && galleryLength > tabsShift + 2;
2069
+ const isLastShift = galleryLength === tabsShift + 2;
2070
+ const showPrevButton = tabsShift > 0;
2071
+ return (jsx("section", { id: anchor, className: `min-w-full ${className}`, children: jsxs("div", { className: "relative mt-7 overflow-hidden", children: [galleryLength > 1
2072
+ ? renderGallery({
2073
+ tabsShift,
2074
+ cards,
2075
+ activeSlideIndex,
2076
+ isLastShift,
2077
+ setActiveSlideIndex,
2078
+ })
2079
+ : null, showPrevButton ? (jsxs("div", { children: [jsx(ArrowButton, { className: `${arrowBtnStyle} left-0 top-9`, onClick: handlePrevClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" }), jsx("div", { className: "absolute top-0 left-0 h-[168px] w-[84px] bg-opacity-from-white" })] })) : null, showNextButton ? (jsxs("div", { children: [jsx(ArrowButton, { className: `${arrowBtnStyle} right-0 top-9 rotate-180`, onClick: handleNextClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" }), jsx("div", { className: "absolute top-0 right-0 h-[168px] w-[100px] bg-opacity-to-white" })] })) : null] }) }));
2080
+ });
2081
+ function renderGallery({ tabsShift, cards, activeSlideIndex, isLastShift, setActiveSlideIndex, }) {
2082
+ const tabsShiftWidth = isLastShift ? tabsShift * 460 - 240 : tabsShift * 460;
2083
+ return (jsx("div", { style: { transform: `translateX(-${tabsShiftWidth}px)` }, className: "duration-1000", children: jsx("div", { className: "w-full flex flex-nowrap gap-3.5 pb-[38px] px-[50px]", children: cards.map((slide, i) => renderSlide({
2084
+ slide,
2085
+ i,
2086
+ activeSlideIndex,
2087
+ onClick: () => setActiveSlideIndex(i),
2088
+ })) }) }));
2089
+ }
2090
+ function renderSlide({ slide, i, activeSlideIndex, onClick }) {
2091
+ const isActiveBtn = i === activeSlideIndex;
2092
+ const btnClassName = isActiveBtn
2093
+ ? 'shadow-dark-blue/42 border-primary-main'
2094
+ : `ease-in duration-300 border-main-stroke`;
2095
+ return (jsxs("button", { type: "button", onClick: onClick, className: `p-[30px] min-w-[460px] flex items-center bg-white border-solid border relative ${btnClassName}`, children: [slide?.icon ? (jsx(Img, { className: `h-[108px] w-[108px] p-3 rounded-full bg-secondary-light mr-[30px]`, image: slide.icon, width: "24", height: "24" })) : null, jsxs("div", { className: "flex gap-3.5", children: [slide?.sum ? renderValueBlock('страховая сумма', slide.sum) : null, slide?.fee ? renderValueBlock('страховой взнос', slide.fee) : null] }), renderDoneIcon(isActiveBtn)] }, String(i)));
2096
+ }
2097
+ function renderValueBlock(title, sum) {
2098
+ return (jsxs("div", { className: "flex flex-col text-left", children: [jsxs("span", { className: "whitespace-pre text-title-2xs", children: [addSpacesBetweenNumbers(sum), " \u20BD"] }), jsx("span", { className: "whitespace-pre text-secondary-text font-light text-base mt-1", children: title })] }));
2099
+ }
2100
+ function renderDoneIcon(isActive) {
2101
+ return isActive ? (jsx(Img, { className: `h-[24px] w-[24px] min-w-[24px] min-h-[24px] absolute right-4 top-4`, image: "DoneIcon", width: "24", height: "24" })) : null;
2102
+ }
2103
+
2104
+ const InsuranceAmountBlock = JSX(({ className = '', context, title, insuranceTabs = [], button, anchor = null }) => {
2105
+ const insuranceGalleries = insuranceTabs.map((_) => _.cards);
2106
+ const [activeSlideIndex, setActiveSlideIndex] = context.useState(0);
2107
+ return (jsxs("section", { id: anchor, className: `box-border py-[50px] overflow-hidden relative font-sans w-100 bg-white ${className}`, children: [title ? jsx(Heading, { className: "text-center", title: title, headingType: "h3" }) : null, jsx("div", { className: "p-1.5 bg-secondary-light w-fit m-auto rounded-md mt-[34px]", children: insuranceTabs.map((item, i) => renderNavButton$1({
2108
+ title: item?.title,
2109
+ i,
2110
+ activeSlideIndex,
2111
+ onClick: () => setActiveSlideIndex(i),
2112
+ })) }), jsx("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: renderInsuranceGalleries({
2113
+ context,
2114
+ className,
2115
+ insuranceGalleries,
2116
+ }) }), button?.text ? (jsx("div", { className: "flex justify-center", children: jsx(Button, { className: "box-border p-4 h-14 w-full max-w-[240px]", version: button?.version || 'primary', href: button.href, children: button.text }) })) : null] }));
2117
+ });
2118
+ const renderInsuranceGalleries = ({ insuranceGalleries, context, className }) => {
2119
+ return insuranceGalleries?.length
2120
+ ? insuranceGalleries.map((cards) => (jsx(InsuranceAmountBlockInner, { context: context, className: className, cards: cards })))
2121
+ : null;
2122
+ };
2123
+ function renderNavButton$1({ title, i, activeSlideIndex, onClick }) {
2124
+ const isActiveBtn = i === activeSlideIndex;
2125
+ const btnClassName = isActiveBtn
2126
+ ? 'bg-primary-main text-white rounded-md'
2127
+ : `text-secondary-text`;
2128
+ return (jsx("button", { type: "button", onClick: onClick, "aria-label": title, className: `box-border px-4 py-3 text-m-md ${btnClassName}`, children: title }, String(i)));
2129
+ }
2130
+
2065
2131
  const MobileAppTile = JSX(({ className = '', context, title = 'Мобильное приложение', qr, buttons = [], anchor = null, }) => {
2066
2132
  return (jsx("section", { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, id: anchor, children: jsx(BaseTile, { context: context, title: title ? (jsx(Heading, { headingType: "h3", title: title, className: `whitespace-pre-wrap max-w-[600px] mb-[30px]` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-[30px] gap-4" })) : null, children: jsxs("div", { className: "flex items-center", children: [qr?.src && qr?.href && (jsx("a", { href: qr.href, target: "_blank", "aria-label": title, children: jsx("img", { src: qr.src, alt: title, title: title, width: "164", height: "164", className: "w-[92px] h-[92px] min-w-[92px] min-h-[92px] bg-secondary-light" }) })), jsx("span", { className: "font-light text-secondary-text ml-4", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }) }) }));
2067
2133
  });
@@ -2127,7 +2193,7 @@
2127
2193
  initialState: isUnfolded,
2128
2194
  });
2129
2195
  return blocks ? (jsxs("div", { children: [renderBlocks(blocks, render, { blocksToHide, isActive }), hiddenBlocksNum ? (jsxs("button", { className: foldButtonClasses ||
2130
- 'border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-base flex justify-center cursor-pointer', "data-theme": foldButtonDataTheme, onClick: handleToggle, children: [jsx("span", { className: "pr-3", children: isActive ? 'Скрыть' : foldButtonLabel }), jsx(Icon, { name: icon, width: "20", height: "20", asSVG: true })] })) : null] })) : null;
2196
+ 'border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-base flex justify-center cursor-pointer', "data-theme": foldButtonDataTheme, onClick: handleToggle, children: [jsx("span", { className: "pr-3", children: isActive ? 'Скрыть' : foldButtonLabel }), jsx(Icon, { name: icon, iconVersion: "white", width: "20", height: "20", asSVG: true })] })) : null] })) : null;
2131
2197
  });
2132
2198
  const renderBlocks = (blocks, render, { blocksToHide, isActive }) => {
2133
2199
  const visibleBlocks = blocks.slice(0, blocks.length - blocksToHide);
@@ -2228,7 +2294,7 @@
2228
2294
  }
2229
2295
 
2230
2296
  const RecommendationCard = JSX(({ context, className = '', title, description, items, image, version, socialMedia }) => {
2231
- return (jsx("section", { className: `border border-solid box-border p-[30px] w-[524px] ${className}`, role: "listitem", children: jsxs(BaseTile, { context: context, className: "flex justify-between", title: title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "font-normal mb-3.5", title: title })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description ? jsx(Description, { className: "text-left", description: description }) : null, items?.length ? (jsx(List, { className: "text-md text-left font-light flex flex-col flex-1 gap-2", items: items, version: version })) : null, jsx(SocialMedia, { className: "pt-[42px] pb-0", media: socialMedia, version: version, context: context })] }) }));
2297
+ return (jsx("section", { className: `border border-solid box-border p-[30px] min-w-[524px] ${className}`, role: "listitem", children: jsxs(BaseTile, { context: context, className: "flex justify-between", title: title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "font-normal mb-3.5", title: title })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description ? jsx(Description, { className: "text-left", description: description }) : null, items?.length ? (jsx(List, { className: "text-md text-left font-light flex flex-col flex-1 gap-2", items: items, version: version })) : null, jsx(SocialMedia, { className: "pt-[42px] pb-0", media: socialMedia, version: version, context: context })] }) }));
2232
2298
  });
2233
2299
 
2234
2300
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
@@ -2271,7 +2337,7 @@
2271
2337
  return (jsx("div", { className: "flex flex-col items-center text-center relative", children: jsx("div", { className: "h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-full p-[26px] box-border z-10", children: (step.icon?.icon && jsx(Img, { image: step.icon, width: "48", height: "48" })) || (jsx("span", { className: "font-normal text-title-sm text-secondary-text", children: i + 1 })) }) }, String(i)));
2272
2338
  };
2273
2339
  const renderStepTitle = (step, i, isMainButton) => {
2274
- return (jsxs("div", { className: "flex flex-col items-center justify-between text-center relative w-[276px] whitespace-pre-line overflow-hidden", children: [jsxs("div", { children: [step.label && jsx("div", { className: "font-normal text-xl m-0 mt-4", children: step.label }), step.description && (jsx("div", { className: `font-light text-base text-secondary-text ${step.label ? 'mt-2' : 'mt-4'}`, children: step.description }))] }), step?.button?.text && !isMainButton ? (jsx(Button, { className: "box-border mt-8 py-3 h-12 w-full max-w-[240px]", version: "primary", href: "#", children: step.button.text })) : null] }, String(i)));
2340
+ return (jsxs("div", { className: "flex flex-col items-center justify-between text-center relative w-[276px] whitespace-pre-line overflow-hidden", children: [jsxs("div", { children: [step.label && jsx("div", { className: "font-normal text-xl m-0 mt-4", children: step.label }), step.description && (jsx("div", { className: `font-light text-base text-secondary-text ${step.label ? 'mt-2' : 'mt-4'}`, children: step.description }))] }), step?.button?.text && !isMainButton ? (jsx(Button, { className: "box-border mt-8 py-3 h-12 w-full max-w-[240px]", version: "primary", href: step.button?.href, children: step.button.text })) : null] }, String(i)));
2275
2341
  };
2276
2342
 
2277
2343
  const DIVIDER_CLASSES = 'border-main-divider border border-t-0 border-x-0';
@@ -2402,6 +2468,7 @@
2402
2468
  Header,
2403
2469
  Headline,
2404
2470
  Insurance,
2471
+ InsuranceAmountBlock,
2405
2472
  LinkDocs,
2406
2473
  MiniGallery,
2407
2474
  MobileAppTile,