@scbt-ecom/ui 0.163.0 → 0.165.0

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 (132) hide show
  1. package/dist/lib/exports/utils.js +1 -1
  2. package/dist/lib/shared/dataLayers/index.js +1 -1
  3. package/dist/lib/shared/dataLayers/utils.js +2 -0
  4. package/dist/lib/shared/dataLayers/utils.js.map +1 -0
  5. package/dist/lib/shared/ui/phoneView/PhoneView.js +1 -1
  6. package/dist/lib/shared/ui/phoneView/PhoneView.js.map +1 -1
  7. package/dist/lib/shared/utils/extractTextFromHtml.js +2 -0
  8. package/dist/lib/shared/utils/extractTextFromHtml.js.map +1 -0
  9. package/dist/lib/shared/utils/index.js +1 -1
  10. package/dist/lib/shared/utils/variables/index.js +2 -0
  11. package/dist/lib/shared/utils/variables/index.js.map +1 -0
  12. package/dist/lib/shared/utils/variables/types.js +2 -0
  13. package/dist/lib/shared/utils/variables/types.js.map +1 -0
  14. package/dist/lib/shared/utils/variables/variableResolver.js +2 -0
  15. package/dist/lib/shared/utils/variables/variableResolver.js.map +1 -0
  16. package/dist/lib/widgets/banner/Banner.js.map +1 -1
  17. package/dist/lib/widgets/banner/ui/banners/BannerImageFull.js +1 -1
  18. package/dist/lib/widgets/banner/ui/banners/BannerImageFull.js.map +1 -1
  19. package/dist/lib/widgets/banner/ui/banners/BannerWithSeparateImg.js +1 -1
  20. package/dist/lib/widgets/banner/ui/banners/BannerWithSeparateImg.js.map +1 -1
  21. package/dist/lib/widgets/banner/ui/banners/ui/Buttons.js +1 -1
  22. package/dist/lib/widgets/banner/ui/banners/ui/Buttons.js.map +1 -1
  23. package/dist/lib/widgets/benefit/Benefit.js +1 -1
  24. package/dist/lib/widgets/benefit/Benefit.js.map +1 -1
  25. package/dist/lib/widgets/benefit/ui/BenefitItem.js +1 -1
  26. package/dist/lib/widgets/benefit/ui/BenefitItem.js.map +1 -1
  27. package/dist/lib/widgets/breadcrumbs/Breadcrumb.js +1 -1
  28. package/dist/lib/widgets/breadcrumbs/Breadcrumb.js.map +1 -1
  29. package/dist/lib/widgets/calculator/Calculator.js +1 -1
  30. package/dist/lib/widgets/calculator/Calculator.js.map +1 -1
  31. package/dist/lib/widgets/calculator/CalculatorView.js +1 -1
  32. package/dist/lib/widgets/calculator/CalculatorView.js.map +1 -1
  33. package/dist/lib/widgets/calculator/ui/CalculatorTabs.js +1 -1
  34. package/dist/lib/widgets/calculator/ui/CalculatorTabs.js.map +1 -1
  35. package/dist/lib/widgets/calculator/ui/calculatorInfo/CalculatorInfo.js +1 -1
  36. package/dist/lib/widgets/calculator/ui/calculatorInfo/CalculatorInfo.js.map +1 -1
  37. package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/AssistHint.js +1 -1
  38. package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/AssistHint.js.map +1 -1
  39. package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoFooter.js +1 -1
  40. package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoFooter.js.map +1 -1
  41. package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/InfoListItem.js +1 -1
  42. package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/InfoListItem.js.map +1 -1
  43. package/dist/lib/widgets/conditionBlock/ConditionBlock.js +1 -1
  44. package/dist/lib/widgets/conditionBlock/ConditionBlock.js.map +1 -1
  45. package/dist/lib/widgets/conditionBlock/ui/ConditionsWithCTA.js +1 -1
  46. package/dist/lib/widgets/conditionBlock/ui/ConditionsWithCTA.js.map +1 -1
  47. package/dist/lib/widgets/errorPage/ErrorPage.js +1 -1
  48. package/dist/lib/widgets/errorPage/ErrorPage.js.map +1 -1
  49. package/dist/lib/widgets/esia/Esia.js +1 -1
  50. package/dist/lib/widgets/esia/Esia.js.map +1 -1
  51. package/dist/lib/widgets/esia/ui/TextBlock.js +1 -1
  52. package/dist/lib/widgets/esia/ui/TextBlock.js.map +1 -1
  53. package/dist/lib/widgets/footer/ui/NavLinks.js +1 -1
  54. package/dist/lib/widgets/footer/ui/NavLinks.js.map +1 -1
  55. package/dist/lib/widgets/footer/ui/PhonesBlock.js +1 -1
  56. package/dist/lib/widgets/footer/ui/PhonesBlock.js.map +1 -1
  57. package/dist/lib/widgets/footer/ui/SiteMap.js +1 -1
  58. package/dist/lib/widgets/footer/ui/SiteMap.js.map +1 -1
  59. package/dist/lib/widgets/footer/ui/SocialLinks.js +1 -1
  60. package/dist/lib/widgets/footer/ui/SocialLinks.js.map +1 -1
  61. package/dist/lib/widgets/header/model/helpers.js +1 -1
  62. package/dist/lib/widgets/header/model/helpers.js.map +1 -1
  63. package/dist/lib/widgets/infoBlock/ui/LinksList.js +1 -1
  64. package/dist/lib/widgets/infoBlock/ui/LinksList.js.map +1 -1
  65. package/dist/lib/widgets/infoBlock/ui/RootContent.js +1 -1
  66. package/dist/lib/widgets/infoBlock/ui/RootContent.js.map +1 -1
  67. package/dist/lib/widgets/interLinking/InterLinking.js +1 -1
  68. package/dist/lib/widgets/interLinking/InterLinking.js.map +1 -1
  69. package/dist/lib/widgets/interLinking/ui/ColumnGroup.js +1 -1
  70. package/dist/lib/widgets/interLinking/ui/ColumnGroup.js.map +1 -1
  71. package/dist/lib/widgets/interLinking/ui/LinksList.js +1 -1
  72. package/dist/lib/widgets/interLinking/ui/LinksList.js.map +1 -1
  73. package/dist/lib/widgets/longBanner/LongBanner.js +1 -1
  74. package/dist/lib/widgets/longBanner/LongBanner.js.map +1 -1
  75. package/dist/lib/widgets/longBanner/ui/TextItem.js +1 -1
  76. package/dist/lib/widgets/longBanner/ui/TextItem.js.map +1 -1
  77. package/dist/lib/widgets/model/helpers.js +2 -2
  78. package/dist/lib/widgets/model/helpers.js.map +1 -1
  79. package/dist/lib/widgets/seoHeader/model/index.js +1 -1
  80. package/dist/lib/widgets/seoHeader/ui/desktop/CategoriesDesktop.js +1 -1
  81. package/dist/lib/widgets/seoHeader/ui/desktop/CategoriesDesktop.js.map +1 -1
  82. package/dist/lib/widgets/seoHeader/ui/desktop/CategoryTabs.js +1 -1
  83. package/dist/lib/widgets/seoHeader/ui/desktop/CategoryTabs.js.map +1 -1
  84. package/dist/lib/widgets/seoHeader/ui/desktop/rootTab/RootTab.js +1 -1
  85. package/dist/lib/widgets/seoHeader/ui/desktop/rootTab/RootTab.js.map +1 -1
  86. package/dist/lib/widgets/seoHeader/ui/desktop/tab/Tab.js +1 -1
  87. package/dist/lib/widgets/seoHeader/ui/desktop/tab/Tab.js.map +1 -1
  88. package/dist/lib/widgets/seoHeader/ui/desktop/tab/ui/content/TabContent.js +1 -1
  89. package/dist/lib/widgets/seoHeader/ui/desktop/tab/ui/content/TabContent.js.map +1 -1
  90. package/dist/lib/widgets/seoHeader/ui/mobile/menu/Menu.js +1 -1
  91. package/dist/lib/widgets/seoHeader/ui/mobile/menu/Menu.js.map +1 -1
  92. package/dist/lib/widgets/seoHeader/ui/mobile/menu/MenuItem.js +1 -1
  93. package/dist/lib/widgets/seoHeader/ui/mobile/menu/MenuItem.js.map +1 -1
  94. package/dist/lib/widgets/stepper/Stepper.js +1 -1
  95. package/dist/lib/widgets/stepper/Stepper.js.map +1 -1
  96. package/dist/lib/widgets/stepper/ui/StepperTabs.js +1 -1
  97. package/dist/lib/widgets/stepper/ui/StepperTabs.js.map +1 -1
  98. package/dist/lib/widgets/usefulInfo/ui/Tabs.js +1 -1
  99. package/dist/lib/widgets/usefulInfo/ui/Tabs.js.map +1 -1
  100. package/dist/lib/widgets/userFeedback/UserFeedback.js +1 -1
  101. package/dist/lib/widgets/userFeedback/UserFeedback.js.map +1 -1
  102. package/dist/lib/widgets/userFeedback/ui/SelectRating.js +1 -1
  103. package/dist/lib/widgets/userFeedback/ui/SelectRating.js.map +1 -1
  104. package/dist/stats.html +1 -1
  105. package/dist/types/lib/shared/dataLayers/index.d.ts +1 -0
  106. package/dist/types/lib/shared/dataLayers/utils.d.ts +33 -0
  107. package/dist/types/lib/shared/utils/extractTextFromHtml.d.ts +2 -0
  108. package/dist/types/lib/shared/utils/index.d.ts +2 -0
  109. package/dist/types/lib/shared/utils/variables/index.d.ts +2 -0
  110. package/dist/types/lib/shared/utils/variables/types.d.ts +17 -0
  111. package/dist/types/lib/shared/utils/variables/variableResolver.d.ts +10 -0
  112. package/dist/types/lib/widgets/banner/Banner.d.ts +1 -1
  113. package/dist/types/lib/widgets/banner/ui/banners/ui/Buttons.d.ts +2 -1
  114. package/dist/types/lib/widgets/benefit/ui/BenefitItem.d.ts +2 -1
  115. package/dist/types/lib/widgets/calculator/CalculatorView.d.ts +2 -1
  116. package/dist/types/lib/widgets/calculator/ui/CalculatorTabs.d.ts +2 -1
  117. package/dist/types/lib/widgets/calculator/ui/calculatorInfo/CalculatorInfo.d.ts +2 -1
  118. package/dist/types/lib/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoFooter.d.ts +2 -1
  119. package/dist/types/lib/widgets/conditionBlock/ConditionBlock.d.ts +2 -2
  120. package/dist/types/lib/widgets/conditionBlock/model/types.d.ts +1 -0
  121. package/dist/types/lib/widgets/esia/ui/TextBlock.d.ts +1 -2
  122. package/dist/types/lib/widgets/longBanner/LongBanner.d.ts +1 -2
  123. package/dist/types/lib/widgets/seoHeader/model/index.d.ts +0 -1
  124. package/dist/types/lib/widgets/stepper/Stepper.d.ts +2 -2
  125. package/dist/types/lib/widgets/stepper/ui/StepperTabs.d.ts +2 -1
  126. package/package.json +1 -1
  127. package/dist/lib/widgets/footer/model/dataLayers.js +0 -2
  128. package/dist/lib/widgets/footer/model/dataLayers.js.map +0 -1
  129. package/dist/lib/widgets/seoHeader/model/dataLayers.js +0 -2
  130. package/dist/lib/widgets/seoHeader/model/dataLayers.js.map +0 -1
  131. package/dist/types/lib/widgets/footer/model/dataLayers.d.ts +0 -1
  132. package/dist/types/lib/widgets/seoHeader/model/dataLayers.d.ts +0 -1
@@ -1,3 +1,3 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["lib/widgets/banner/Banner.js","lib/widgets/banner/ui/banners/BannerWithSeparateImg.js","lib/shared/utils/cn.js","_virtual/index.js","_virtual/_commonjsHelpers.js","node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js","_virtual/index2.js","lib/widgets/banner/ui/banners/ui/Buttons.js","lib/widgets/buttonWithHandlers/ButtonWithHandlers.js","lib/widgets/buttonWithHandlers/model/useButtonHandler.js","lib/shared/utils/isClient.js","lib/shared/utils/scrollToElement.js","lib/shared/ui/button/Button.js","lib/shared/ui/button/model/helpers.js","lib/shared/ui/loader/Loader.js","lib/shared/ui/loader/model/helpers.js","lib/widgets/banner/ui/banners/ui/Advantages.js","lib/shared/ui/heading/Heading.js","lib/shared/ui/responsiveContainer/ResponsiveContainer.js","lib/widgets/banner/ui/banners/BannerImageFull.js","lib/shared/hooks/useDevice.js","lib/widgets/calculator/Calculator.js","lib/widgets/calculator/CalculatorView.js","lib/widgets/calculator/model/utils.js","src/shared/utils/getDynamicSchema.js","lib/shared/validation/index.js","lib/shared/validation/regExp.js","lib/shared/validation/messages.js","lib/shared/validation/dadata/index.js","lib/shared/validation/dadata/fio.validators.js","lib/shared/validation/dadata/dadata.constants.js","lib/shared/validation/base/base.validators.js","lib/shared/validation/base/boolean.validators.js","lib/shared/validation/base/currency.validators.js","lib/shared/validation/base/base.constants.js","lib/shared/utils/typeGuards.js","lib/shared/ui/calendar/model/utils.js","lib/shared/validation/base/select.validators.js","lib/shared/validation/base/string.validators.js","lib/shared/validation/base/date.validators.js","lib/shared/validation/base/email.validators.js","lib/shared/validation/base/number.validators.js","lib/shared/validation/base/passport.validators.js","lib/shared/validation/base/passportDepartment.validators.js","lib/shared/validation/base/phone.validators.js","lib/shared/validation/base/regex.validators.js","lib/shared/validation/base/union.validators.js","lib/shared/validation/base/url.validators.js","lib/shared/validation/zodValidation/dadataFio.js","lib/shared/validation/zodValidation/calendar.js","lib/shared/validation/zodValidation/phone.js","lib/shared/validation/zodValidation/otpCode.js","lib/shared/validation/utils/zodUtils.js","lib/shared/utils/localStorageActions.js","lib/widgets/calculator/model/helpers.js","lib/widgets/calculator/ui/calculatorFields/CalculatorFields.js","lib/widgets/calculator/ui/calculatorFields/hooks/useAdditionalSlider.js","lib/widgets/calculator/ui/calculatorFields/ui/CalculatorModal.js","lib/shared/hooks/useBoolean.js","lib/shared/ui/modal/Modal.js","lib/shared/ui/modal/model/helpers.js","lib/shared/ui/modal/ui/IframeModalContent.js","lib/shared/ui/modal/ui/ModalHeader.js","lib/shared/ui/icon/Icon.js","static/info/helpCircle.svg.js","lib/shared/ui/icon/iconsMap.js","static/status/badSmile.svg.js","static/status/iconMark.svg.js","static/status/iconRetry.svg.js","static/status/iconUser.svg.js","static/status/succesCircle.svg.js","static/social/classmates.svg.js","static/social/telegram.svg.js","static/social/vk.svg.js","static/media/desktop.svg.js","static/media/mobile.svg.js","static/logos/beeline.svg.js","static/logos/megafon.svg.js","static/logos/mts.svg.js","static/info/location.svg.js","static/info/warningCircle.svg.js","static/general/calendar.svg.js","static/general/check.svg.js","static/general/close.svg.js","static/general/edit.svg.js","static/general/heart.svg.js","static/general/hiddenEye.svg.js","static/general/loginFilled.svg.js","static/general/menu.svg.js","static/general/optionsHorizontal.svg.js","static/general/optionsVertical.svg.js","static/general/plus.svg.js","static/general/reorder.svg.js","static/general/search.svg.js","static/general/shield.svg.js","static/general/showEye.svg.js","static/files/border.svg.js","static/files/borderError.svg.js","static/files/documentFilled.svg.js","static/files/documentOutline.svg.js","static/files/fileMultiple.svg.js","static/files/upload.svg.js","static/editor/bold.svg.js","static/editor/fonts.svg.js","static/editor/heading.svg.js","static/editor/italic.svg.js","static/editor/link.svg.js","static/editor/list.svg.js","static/editor/nbsp.svg.js","static/editor/palette.svg.js","static/editor/redo.svg.js","static/editor/removeFormatting.svg.js","static/editor/space.svg.js","static/editor/strikethrough.svg.js","static/editor/typography.svg.js","static/editor/underline.svg.js","static/editor/undo.svg.js","static/communication/phone.svg.js","static/brandLogos/logoBlack.svg.js","static/brandLogos/logoBusiness.svg.js","static/brandLogos/logoGray.svg.js","static/brandLogos/logoInsurance.svg.js","static/brandLogos/logoMain.svg.js","static/brandLogos/logoWhite.svg.js","static/arrows/arrowCircle.svg.js","static/arrows/arrowDownRight.svg.js","static/arrows/arrowLink.svg.js","static/arrows/arrowRight.svg.js","static/arrows/arrowRotate.svg.js","static/arrows/arrowScroll.svg.js","lib/shared/utils/mergeRefs.js","lib/widgets/calculator/ui/calculatorFields/ui/FieldsGroup.js","lib/widgets/fieldMapper/FieldMapper.js","lib/shared/ui/formElements/controlled/index.js","lib/shared/ui/formElements/controlled/autocomplete/AutocompleteControl.js","lib/shared/ui/formElements/uncontrolled/autocomplete/Autocomplete.js","lib/shared/ui/formElements/uncontrolled/combobox/combobox.js","lib/shared/ui/formElements/uncontrolled/combobox/hooks/useCombobox.js","lib/shared/ui/formElements/uncontrolled/combobox/model/utils.js","lib/shared/ui/formElements/uncontrolled/combobox/hooks/useKeyboardNavigation.js","lib/shared/hooks/useClickOutsideMany.js","lib/shared/ui/formElements/uncontrolled/input/Input.js","lib/shared/ui/formElements/ui/fieldAttachment/FieldAttachment.js","lib/shared/ui/formElements/ui/fieldAttachment/ui/IconSlot.js","lib/shared/ui/formElements/ui/fieldAttachment/ui/ValidateSlot.js","lib/shared/ui/badge/Badge.js","lib/shared/ui/portal/Portal.js","lib/shared/ui/dropdownList/DropdownList.js","lib/shared/ui/dropdownList/hooks/useKeyboardNavigation.js","lib/shared/ui/dropdownList/model/utils.js","lib/shared/ui/dropdownList/hooks/model/scrollTo.js","lib/shared/ui/dropdownList/ui/dropdownItem/DropdownItem.js","lib/shared/ui/formElements/uncontrolled/checkbox/Checkbox.js","lib/shared/ui/dropdownList/ui/Empty.js","lib/shared/hooks/useClickOutside.js","lib/shared/ui/formElements/ui/MessageView.js","lib/shared/ui/formElements/controlled/checkbox/CheckboxControl.js","lib/shared/ui/formElements/controlled/dayPickerControl/dayPickerControl.js","lib/shared/ui/formElements/controlled/dayPickerControl/single.js","lib/shared/ui/formElements/controlled/dayPickerControl/model/utils.js","lib/shared/ui/formElements/controlled/dayPickerControl/model/constants.js","lib/shared/ui/formElements/uncontrolled/maskInput/MaskInput.js","node_modules/.pnpm/use-mask-input@3.4.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/use-mask-input/dist/index.js","lib/shared/ui/formElements/uncontrolled/maskInput/model/constants.js","lib/shared/ui/formElements/uncontrolled/maskInput/model/mask/utils.js","lib/shared/ui/calendar/Calendar.js","lib/shared/ui/calendar/ui/MonthCaption.js","lib/shared/ui/calendar/ui/Navigation.js","lib/shared/ui/calendar/ui/selectDate/SelectDate.js","lib/shared/ui/calendar/ui/selectDate/ui/SelectList.js","lib/shared/ui/calendar/ui/selectDate/ui/Trigger.js","lib/shared/ui/calendar/ui/model/utils.js","lib/shared/ui/calendar/ui/Weekday.js","lib/shared/ui/calendar/ui/DayButton.js","lib/shared/ui/calendar/ui/Day.js","lib/shared/ui/calendar/ui/Footer.js","lib/shared/ui/formElements/controlled/input/InputControl.js","lib/shared/ui/formElements/controlled/input/MaskInputControl.js","lib/shared/ui/formElements/controlled/inputCurrency/InputCurrencyControl.js","lib/shared/ui/formElements/uncontrolled/inputCurrency/InputCurrency.js","lib/shared/ui/formElements/uncontrolled/inputCurrency/hooks/useCurrencyControl.js","lib/shared/ui/formElements/uncontrolled/inputCurrency/hooks/useCurrencyFormat.js","lib/shared/ui/formElements/uncontrolled/inputCurrency/ui/CurrencyIcon.js","lib/shared/ui/divider/Divider.js","lib/shared/ui/formElements/controlled/inputOtp/InputOtpControl.js","lib/shared/ui/formElements/uncontrolled/inputOtp/InputOtpBase.js","lib/shared/ui/formElements/uncontrolled/inputOtp/ui/InputOtpSlot.js","lib/shared/ui/formElements/controlled/radio/RadioGroupCardControl.js","lib/shared/ui/carouselBase/CarouselNative.js","lib/shared/ui/formElements/controlled/radio/RadioGroupControl.js","lib/shared/ui/formElements/uncontrolled/radio/RadioGroup.js","lib/shared/ui/formElements/uncontrolled/radio/ui/RadioItem.js","lib/shared/ui/formElements/uncontrolled/radio/ui/AdditionalContent.js","lib/shared/ui/formElements/uncontrolled/radio/ui/RadioItemCard.js","lib/shared/ui/formElements/controlled/radio/RadioGroupTabControl.js","lib/shared/ui/formElements/uncontrolled/radio/ui/RadioItemTab.js","lib/shared/ui/formElements/controlled/slider/SliderControl.js","lib/shared/ui/formElements/uncontrolled/slider/SliderBase.js","lib/shared/ui/formElements/uncontrolled/slider/ui/sliderStep/SliderStep.js","lib/shared/ui/formElements/uncontrolled/slider/ui/Slider.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Slider.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/objectSpread2.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/defineProperty.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/typeof.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/toPrimitive.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/iterableToArray.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/slicedToArray.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/hooks/useEvent.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/hooks/useMergedState.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/hooks/useLayoutEffect.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/Dom/canUseDom.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/hooks/useState.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/isEqual.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/warning.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Handles/index.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/extends.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/util.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Handles/Handle.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/KeyCode.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/context.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Marks/index.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Marks/Mark.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Steps/index.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Steps/Dot.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Tracks/index.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Tracks/Track.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/hooks/useDrag.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/hooks/useOffset.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/hooks/useRange.js","lib/shared/ui/formElements/uncontrolled/slider/model/helpers/getInputSliderSuffix.js","lib/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/getDayIntl.js","lib/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/getIntlMonth.js","lib/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/getYearIntl.js","lib/shared/ui/formElements/uncontrolled/slider/model/helpers/currency/getFormattedCurrency.js","lib/shared/ui/formElements/uncontrolled/slider/ui/sliderStep/hooks/useSliderStep.js","lib/shared/ui/formElements/uncontrolled/slider/ui/sliderAlgorithmic/SliderAlgorithmic.js","lib/shared/ui/formElements/uncontrolled/slider/ui/sliderAlgorithmic/hooks/useSliderAlgorithmic.js","lib/shared/ui/formElements/uncontrolled/slider/model/useLogarithmic.js","lib/shared/ui/formElements/uncontrolled/slider/ui/sliderMarks/SliderMarks.js","lib/shared/ui/formElements/uncontrolled/slider/ui/sliderMarks/hooks/useSliderMarks.js","lib/shared/ui/formElements/controlled/switch/SwitchControl.js","lib/shared/ui/formElements/uncontrolled/switch/Switch.js","lib/shared/ui/popover/Popover.js","lib/shared/ui/formElements/controlled/textarea/TextareaControl.js","lib/shared/ui/formElements/uncontrolled/textarea/Textarea.js","lib/shared/ui/formElements/controlled/uploader/UploaderControl.js","lib/shared/ui/formElements/uncontrolled/uploader/UploaderBase.js","lib/shared/ui/formElements/uncontrolled/uploader/model/hooks/useUploader.js","lib/shared/ui/notification/Notification.js","lib/shared/ui/notification/ui/CustomToast.js","lib/shared/ui/formElements/uncontrolled/uploader/model/helpers.js","lib/shared/ui/formElements/uncontrolled/uploader/ui/UploaderInput.js","lib/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFiles.js","lib/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFile.js","lib/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFilename.js","lib/shared/hooks/useOverflow.js","lib/shared/ui/hint/Hint.js","lib/shared/ui/formElements/controlled/combobox/ComboboxControl.js","lib/shared/ui/formElements/controlled/combobox/hooks/useComboboxControl.js","lib/shared/ui/formElements/controlled/dadata/party/DadataOrganization.js","lib/shared/ui/formElements/controlled/dadata/party/query.js","lib/shared/ui/formElements/controlled/dadata/helpers.js","src/configs/api.js","lib/shared/ui/formElements/controlled/dadata/auto/DadataAuto.js","lib/shared/ui/formElements/controlled/dadata/auto/query.js","lib/shared/ui/formElements/controlled/dadata/country/DadataCountry.js","lib/shared/ui/formElements/controlled/dadata/country/query.js","lib/shared/ui/formElements/controlled/dadata/address/DadataAddress.js","lib/shared/ui/formElements/controlled/dadata/address/query.js","lib/shared/ui/formElements/controlled/dadata/fio/DadataFio.js","lib/shared/ui/formElements/controlled/dadata/fio/query.js","lib/widgets/calculator/ui/calculatorFields/ui/SliderFieldsGroup.js","lib/widgets/calculator/ui/calculatorFields/ui/AdditionalSlider.js","lib/widgets/calculator/ui/calculatorInfo/CalculatorInfo.js","lib/widgets/calculator/ui/calculatorInfo/ui/CalculatedBlock.js","lib/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoHead.js","lib/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoBody.js","lib/widgets/calculator/ui/calculatorInfo/ui/InfoListItem.js","lib/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoFooter.js","lib/widgets/calculator/ui/calculatorInfo/ui/AssistHint.js","lib/shared/hooks/useControlledForm.js","lib/widgets/calculator/ui/CalculatorTabs.js","lib/widgets/dynamicForm/DynamicForm.js","lib/widgets/dynamicForm/model/helpers.js","lib/widgets/htmlParser/HTMLRenderer.js","lib/shared/hooks/useFieldsProgress.js","lib/widgets/queryClientProvider/QueryClientProvider.js","lib/widgets/esia/Esia.js","lib/widgets/esia/ui/EsiaLogo.js","lib/widgets/esia/ui/TextBlock.js","lib/shared/ui/progressBar/ProgressBar.js","lib/widgets/dynamicFormDialog/DynamicFormDialog.js","lib/shared/ui/dialog/Dialog.js","lib/widgets/footer/Footer.js","lib/widgets/footer/ui/Ligal.js","lib/widgets/footer/ui/FooterLogo.js","lib/widgets/footer/ui/SocialLinks.js","lib/widgets/footer/model/dataLayers.js","lib/shared/dataLayers/pushToDL.js","lib/widgets/footer/ui/PhonesBlock.js","lib/shared/ui/phoneView/PhoneView.js","lib/widgets/footer/ui/NavLinks.js","lib/shared/ui/customLink/CustomLink.js","lib/shared/ui/customLink/model/helpers.js","lib/widgets/footer/ui/Copyright.js","lib/widgets/footer/ui/SiteMap.js","lib/widgets/header/Header.js","lib/widgets/header/model/helpers.js","lib/shared/ui/brandLogos/BrandLogos.js","lib/widgets/interLinking/InterLinking.js","lib/widgets/interLinking/ui/Column.js","lib/widgets/interLinking/ui/ColumnGroup.js","lib/widgets/interLinking/ui/LinksList.js","lib/shared/ui/accordion/Accordion.js","lib/shared/ui/accordion/model/helpers.js","lib/shared/ui/accordion/ui/AccordionHeader.js","lib/widgets/longBanner/LongBanner.js","lib/widgets/longBanner/model/cva.js","lib/widgets/longBanner/ui/Title.js","lib/widgets/longBanner/ui/TextList.js","lib/widgets/longBanner/ui/TextItem.js","lib/widgets/seoHeader/SeoHeader.js","lib/widgets/seoHeader/ui/mobile/CategoriesMobile.js","lib/widgets/seoHeader/ui/mobile/menu/Menu.js","lib/widgets/seoHeader/ui/mobile/menu/MenuItem.js","lib/widgets/seoHeader/model/dataLayers.js","lib/widgets/seoHeader/ui/desktop/CategoriesDesktop.js","lib/widgets/seoHeader/ui/desktop/CategoryTabs.js","lib/widgets/seoHeader/ui/desktop/tab/Tab.js","lib/widgets/seoHeader/ui/desktop/tab/ui/content/TabContent.js","lib/widgets/seoHeader/hooks/useCategoryReducer/useCategoryReducer.js","lib/widgets/seoHeader/hooks/useCategoryReducer/reducer.js","lib/widgets/seoHeader/hooks/useCategoryReducer/types.js","lib/widgets/seoHeader/ui/desktop/rootTab/RootTab.js","lib/widgets/seoHeader/hooks/useCategoryReducer/actions.js","lib/widgets/breadcrumbs/Breadcrumbs.js","lib/widgets/breadcrumbs/Breadcrumb.js","lib/widgets/breadcrumbs/hooks/constants.js","lib/shared/utils/capitalize.js","lib/widgets/stepper/Stepper.js","lib/widgets/stepper/ui/SingleStep.js","lib/widgets/stepper/ui/StepperTabs.js","lib/widgets/stepper/ui/StepperCarousel.js","lib/shared/ui/carouselBase/CarouselBase.js","lib/shared/ui/carouselBase/ui/ContainerWithNavigation.js","lib/shared/ui/carouselBase/ui/ArrowNavigationButton.js","lib/shared/ui/carouselBase/model/helpers.js","lib/shared/ui/carouselBase/ui/slideVariants/SlideFullScreen.js","lib/shared/ui/carouselBase/ui/slideVariants/SlideOnlyImage.js","lib/shared/ui/carouselBase/ui/slideVariants/SlideProductCard.js","lib/shared/ui/carouselBase/model/hooks/useCarousel.js","lib/shared/ui/carouselBase/model/hooks/useDotsNavigation.js","lib/shared/ui/carouselBase/model/hooks/useArrowNavigation.js","lib/shared/ui/carouselBase/ui/CarouselContent.js","lib/shared/ui/carouselBase/ui/DotsNavigations.js","lib/shared/ui/carouselBase/ui/CarouselSlide.js","lib/widgets/conditionBlock/ConditionBlock.js","lib/widgets/conditionBlock/ui/ConditionsWithCTA.js","lib/widgets/conditionBlock/ui/SingleCondition.js","lib/widgets/usefulInfo/UsefulInfo.js","lib/widgets/usefulInfo/ui/Tabs.js","lib/widgets/usefulInfo/ui/RenderEntity.js","lib/widgets/usefulInfo/model/utils.js","lib/widgets/usefulInfo/ui/subEntities/experts/Experts.js","lib/widgets/usefulInfo/ui/subEntities/experts/ui/ExpertCard.js","lib/widgets/usefulInfo/ui/subEntities/table/Table.js","lib/widgets/usefulInfo/ui/subEntities/table/model/utils.js","lib/widgets/usefulInfo/ui/subEntities/table/ui/TableBody.js","lib/widgets/usefulInfo/ui/subEntities/table/ui/DesktopHeadings.js","lib/widgets/usefulInfo/ui/subEntities/table/ui/DesktopRow.js","lib/widgets/usefulInfo/ui/subEntities/table/ui/MobileRow.js","lib/widgets/usefulInfo/ui/subEntities/documents/Documents.js","lib/widgets/usefulInfo/ui/subEntities/documents/ui/document/Document.js","lib/widgets/usefulInfo/ui/subEntities/documents/ui/document/model/utils.js","lib/widgets/usefulInfo/ui/subEntities/html/Html.js","lib/widgets/benefit/Benefit.js","lib/widgets/benefit/ui/BenefitItem.js","lib/widgets/infoBlock/InfoBlock.js","lib/widgets/infoBlock/ui/RootContent.js","lib/widgets/infoBlock/ui/LinksList.js","lib/widgets/userFeedback/UserFeedback.js","lib/widgets/userFeedback/model/hooks/useRating.js","lib/widgets/userFeedback/ui/FeedbackTrigger.js","lib/shared/hooks/useObserverWidgets.js","lib/widgets/userFeedback/ui/Finally.js","lib/widgets/userFeedback/ui/UserReview.js","lib/widgets/userFeedback/model/schema.js","lib/widgets/userFeedback/ui/SelectRating.js","lib/widgets/table/InfoTable.js","lib/widgets/table/model/utils.js","lib/shared/ui/table/model/TableUtils.js","lib/shared/ui/table/ui/dataTableColumnHeader/DataTableColumnHeader.js","lib/shared/ui/table/Table.js","lib/shared/ui/table/Desktop.js","lib/shared/ui/table/TablePagination.js","lib/shared/ui/pagination/Pagination.js","lib/shared/ui/table/ui/primitives/Primitives.js","lib/shared/ui/table/Horizontal.js","lib/shared/ui/table/Mobile.js","lib/widgets/carouselBlock/CarouselBlock.js","lib/shared/ui/carousel/Carousel.js","lib/shared/ui/carousel/model/hooks/useCarousel.js","lib/shared/ui/carousel/model/hooks/useDotsNavigation.js","lib/shared/ui/carousel/model/hooks/useArrowNavigation.js","lib/shared/ui/carousel/ui/RenderSlides.js","lib/shared/ui/carousel/model/constant.js","lib/shared/ui/carousel/ui/slideVariants/SlideStepsList.js","lib/shared/ui/carousel/ui/slideVariants/slide.module.css.js","lib/shared/ui/carousel/ui/slideVariants/slide.module.css","lib/shared/ui/carousel/model/helpers.js","lib/shared/ui/carousel/ui/slideVariants/SlideFullScreen.js","lib/shared/ui/carousel/ui/slideVariants/SlideMultipleCards.js","lib/shared/ui/carousel/ui/ArrowNavigationButton.js","lib/shared/ui/carousel/ui/stepsList/StepsList.js","lib/shared/ui/carousel/ui/stepsList/StepListItemType.js","lib/shared/ui/carousel/ui/DotsNavigations.js","lib/widgets/errorPage/ErrorPage.js","lib/widgets/errorPage/ui/TextContainer.js"])))=>i.map(i=>d[i]);
2
- import{__vitePreload as o}from"../../../_virtual/preload-helper.js";import{lazy as _}from"react";const e=_(()=>o(()=>import("../banner/Banner.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]))),i=_(()=>o(()=>import("../calculator/Calculator.js"),__vite__mapDeps([21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,2,3,4,5,6,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,17,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,10,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,20,14,15,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,8,9,11,12,13,291,292,18]))),n=_(()=>o(()=>import("../dynamicForm/DynamicForm.js"),__vite__mapDeps([293,24,25,26,27,28,29,30,31,32,33,34,35,36,2,3,4,5,6,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,294,152,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,295,296,297,298,299,300,20,14,15,145,301,132,133,134,135,136,137,138,139,140,10,141,142,143,144,146,147,148,149,150,151,153,154,155,156,157,158,159,160,130,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,291,18,17,12,13]))),E=_(()=>o(()=>import("../dynamicFormDialog/DynamicFormDialog.js"),__vite__mapDeps([302,24,25,26,27,28,29,30,31,32,33,34,35,36,2,3,4,5,6,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,12,13,14,15,303,154,10,17,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,152,297,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,153,155,156,157,158,159,160,130,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,20,268,269,270,271,272,273,274,275,276,277,278,279,280,281,291,298,299,300,295]))),c=_(()=>o(()=>import("../footer/Footer.js"),__vite__mapDeps([304,305,2,3,4,5,6,306,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,307,308,309,310,311,35,312,313,314,315,316,18]))),s=_(()=>o(()=>import("../header/Header.js"),__vite__mapDeps([317,318,311,308,309,2,3,4,5,6,8,9,10,11,12,13,14,15,319,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,18]))),d=_(()=>o(()=>import("../interLinking/InterLinking.js"),__vite__mapDeps([320,2,3,4,5,6,321,322,323,313,314,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,20,324,325,326,18,17]))),m=_(()=>o(()=>import("../longBanner/LongBanner.js"),__vite__mapDeps([327,328,2,3,4,5,6,329,330,331,253,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,18,8,9,10,11,12,13,14,15]))),u=_(()=>o(()=>import("../seoHeader/SeoHeader.js"),__vite__mapDeps([332,2,3,4,5,6,333,334,335,324,325,326,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,336,309,35,136,137,138,139,140,10,141,142,143,144,145,146,147,148,149,150,151,152,153,154,337,338,339,340,313,314,341,342,343,344,345,346,347,348,349,20,18]))),I=_(()=>o(()=>import("../stepper/Stepper.js"),__vite__mapDeps([350,351,2,3,4,5,6,352,353,354,355,356,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,357,358,359,360,12,13,14,15,361,362,363,364,365,20,17,366,18]))),a=_(()=>o(()=>import("../conditionBlock/ConditionBlock.js"),__vite__mapDeps([367,368,2,3,4,5,6,8,9,10,11,12,13,14,15,369,18]))),p=_(()=>o(()=>import("../usefulInfo/UsefulInfo.js"),__vite__mapDeps([370,2,3,4,5,6,371,309,372,373,374,375,17,324,325,326,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,376,377,378,379,380,381,382,383,384,385,18]))),D=_(()=>o(()=>import("../benefit/Benefit.js"),__vite__mapDeps([386,387,2,3,4,5,6,8,9,10,11,12,13,14,15,35,20,18]))),T=_(()=>o(()=>import("../infoBlock/InfoBlock.js"),__vite__mapDeps([388,2,3,4,5,6,389,390,313,314,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,17,8,9,10,11,12,13,14,15,18]))),L=_(()=>o(()=>import("../userFeedback/UserFeedback.js"),__vite__mapDeps([391,392,2,3,4,5,6,393,394,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,395,396,254,255,142,143,144,145,155,397,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,291,12,13,14,15,398,253]))),P=_(()=>o(()=>import("../table/InfoTable.js"),__vite__mapDeps([399,400,35,401,402,2,3,4,5,6,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,20,403,404,405,406,12,13,14,15,407,408,409,18]))),l=_(()=>o(()=>import("../carouselBlock/CarouselBlock.js"),__vite__mapDeps([410,2,3,4,5,6,411,412,413,414,415,416,417,418,419,420,421,422,12,13,14,15,423,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,35,424,425,426,17,18]))),O=_(()=>o(()=>import("../errorPage/ErrorPage.js"),__vite__mapDeps([427,428,35,18,2,3,4,5,6,8,9,10,11,12,13,14,15,313,314,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129]))),v={header:s,seoHeader:u,banner:e,calculator:i,form:n,formDialog:E,stepper:I,benefit:D,longBanner:m,usefulInfo:p,interLinking:d,footer:c,infoBlock:T,userFeedback:L,infoTable:P,conditionBlock:a,carouselBlock:l,errorPage:O},A=Object.keys(v),f=A.reduce((r,t)=>(r[t]=t,r),{});export{A as KEYS_OF_WIDGET_LIST,v as WIDGET_LIST_MAP,f as widgetIds};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["lib/widgets/banner/Banner.js","lib/widgets/banner/ui/banners/BannerWithSeparateImg.js","lib/shared/utils/cn.js","_virtual/index.js","_virtual/_commonjsHelpers.js","node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js","_virtual/index2.js","lib/widgets/banner/ui/banners/ui/Buttons.js","lib/widgets/buttonWithHandlers/ButtonWithHandlers.js","lib/widgets/buttonWithHandlers/model/useButtonHandler.js","lib/shared/utils/isClient.js","lib/shared/utils/scrollToElement.js","lib/shared/ui/button/Button.js","lib/shared/ui/button/model/helpers.js","lib/shared/ui/loader/Loader.js","lib/shared/ui/loader/model/helpers.js","lib/shared/dataLayers/utils.js","lib/shared/dataLayers/pushToDL.js","lib/shared/utils/extractTextFromHtml.js","lib/widgets/banner/ui/banners/ui/Advantages.js","lib/shared/ui/heading/Heading.js","lib/shared/ui/responsiveContainer/ResponsiveContainer.js","lib/widgets/banner/ui/banners/BannerImageFull.js","lib/shared/hooks/useDevice.js","lib/widgets/calculator/Calculator.js","lib/widgets/calculator/CalculatorView.js","lib/widgets/calculator/model/utils.js","src/shared/utils/getDynamicSchema.js","lib/shared/validation/index.js","lib/shared/validation/regExp.js","lib/shared/validation/messages.js","lib/shared/validation/dadata/index.js","lib/shared/validation/dadata/fio.validators.js","lib/shared/validation/dadata/dadata.constants.js","lib/shared/validation/base/base.validators.js","lib/shared/validation/base/boolean.validators.js","lib/shared/validation/base/currency.validators.js","lib/shared/validation/base/base.constants.js","lib/shared/utils/typeGuards.js","lib/shared/ui/calendar/model/utils.js","lib/shared/validation/base/select.validators.js","lib/shared/validation/base/string.validators.js","lib/shared/validation/base/date.validators.js","lib/shared/validation/base/email.validators.js","lib/shared/validation/base/number.validators.js","lib/shared/validation/base/passport.validators.js","lib/shared/validation/base/passportDepartment.validators.js","lib/shared/validation/base/phone.validators.js","lib/shared/validation/base/regex.validators.js","lib/shared/validation/base/union.validators.js","lib/shared/validation/base/url.validators.js","lib/shared/validation/zodValidation/dadataFio.js","lib/shared/validation/zodValidation/calendar.js","lib/shared/validation/zodValidation/phone.js","lib/shared/validation/zodValidation/otpCode.js","lib/shared/validation/utils/zodUtils.js","lib/shared/utils/localStorageActions.js","lib/widgets/calculator/model/helpers.js","lib/widgets/calculator/ui/calculatorFields/CalculatorFields.js","lib/widgets/calculator/ui/calculatorFields/hooks/useAdditionalSlider.js","lib/widgets/calculator/ui/calculatorFields/ui/CalculatorModal.js","lib/shared/hooks/useBoolean.js","lib/shared/ui/modal/Modal.js","lib/shared/ui/modal/model/helpers.js","lib/shared/ui/modal/ui/IframeModalContent.js","lib/shared/ui/modal/ui/ModalHeader.js","lib/shared/ui/icon/Icon.js","static/info/helpCircle.svg.js","lib/shared/ui/icon/iconsMap.js","static/status/badSmile.svg.js","static/status/iconMark.svg.js","static/status/iconRetry.svg.js","static/status/iconUser.svg.js","static/status/succesCircle.svg.js","static/social/classmates.svg.js","static/social/telegram.svg.js","static/social/vk.svg.js","static/media/desktop.svg.js","static/media/mobile.svg.js","static/logos/beeline.svg.js","static/logos/megafon.svg.js","static/logos/mts.svg.js","static/info/location.svg.js","static/info/warningCircle.svg.js","static/general/calendar.svg.js","static/general/check.svg.js","static/general/close.svg.js","static/general/edit.svg.js","static/general/heart.svg.js","static/general/hiddenEye.svg.js","static/general/loginFilled.svg.js","static/general/menu.svg.js","static/general/optionsHorizontal.svg.js","static/general/optionsVertical.svg.js","static/general/plus.svg.js","static/general/reorder.svg.js","static/general/search.svg.js","static/general/shield.svg.js","static/general/showEye.svg.js","static/files/border.svg.js","static/files/borderError.svg.js","static/files/documentFilled.svg.js","static/files/documentOutline.svg.js","static/files/fileMultiple.svg.js","static/files/upload.svg.js","static/editor/bold.svg.js","static/editor/fonts.svg.js","static/editor/heading.svg.js","static/editor/italic.svg.js","static/editor/link.svg.js","static/editor/list.svg.js","static/editor/nbsp.svg.js","static/editor/palette.svg.js","static/editor/redo.svg.js","static/editor/removeFormatting.svg.js","static/editor/space.svg.js","static/editor/strikethrough.svg.js","static/editor/typography.svg.js","static/editor/underline.svg.js","static/editor/undo.svg.js","static/communication/phone.svg.js","static/brandLogos/logoBlack.svg.js","static/brandLogos/logoBusiness.svg.js","static/brandLogos/logoGray.svg.js","static/brandLogos/logoInsurance.svg.js","static/brandLogos/logoMain.svg.js","static/brandLogos/logoWhite.svg.js","static/arrows/arrowCircle.svg.js","static/arrows/arrowDownRight.svg.js","static/arrows/arrowLink.svg.js","static/arrows/arrowRight.svg.js","static/arrows/arrowRotate.svg.js","static/arrows/arrowScroll.svg.js","lib/shared/utils/mergeRefs.js","lib/widgets/calculator/ui/calculatorFields/ui/FieldsGroup.js","lib/widgets/fieldMapper/FieldMapper.js","lib/shared/ui/formElements/controlled/index.js","lib/shared/ui/formElements/controlled/autocomplete/AutocompleteControl.js","lib/shared/ui/formElements/uncontrolled/autocomplete/Autocomplete.js","lib/shared/ui/formElements/uncontrolled/combobox/combobox.js","lib/shared/ui/formElements/uncontrolled/combobox/hooks/useCombobox.js","lib/shared/ui/formElements/uncontrolled/combobox/model/utils.js","lib/shared/ui/formElements/uncontrolled/combobox/hooks/useKeyboardNavigation.js","lib/shared/hooks/useClickOutsideMany.js","lib/shared/ui/formElements/uncontrolled/input/Input.js","lib/shared/ui/formElements/ui/fieldAttachment/FieldAttachment.js","lib/shared/ui/formElements/ui/fieldAttachment/ui/IconSlot.js","lib/shared/ui/formElements/ui/fieldAttachment/ui/ValidateSlot.js","lib/shared/ui/badge/Badge.js","lib/shared/ui/portal/Portal.js","lib/shared/ui/dropdownList/DropdownList.js","lib/shared/ui/dropdownList/hooks/useKeyboardNavigation.js","lib/shared/ui/dropdownList/model/utils.js","lib/shared/ui/dropdownList/hooks/model/scrollTo.js","lib/shared/ui/dropdownList/ui/dropdownItem/DropdownItem.js","lib/shared/ui/formElements/uncontrolled/checkbox/Checkbox.js","lib/shared/ui/dropdownList/ui/Empty.js","lib/shared/hooks/useClickOutside.js","lib/shared/ui/formElements/ui/MessageView.js","lib/shared/ui/formElements/controlled/checkbox/CheckboxControl.js","lib/shared/ui/formElements/controlled/dayPickerControl/dayPickerControl.js","lib/shared/ui/formElements/controlled/dayPickerControl/single.js","lib/shared/ui/formElements/controlled/dayPickerControl/model/utils.js","lib/shared/ui/formElements/controlled/dayPickerControl/model/constants.js","lib/shared/ui/formElements/uncontrolled/maskInput/MaskInput.js","node_modules/.pnpm/use-mask-input@3.4.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/use-mask-input/dist/index.js","lib/shared/ui/formElements/uncontrolled/maskInput/model/constants.js","lib/shared/ui/formElements/uncontrolled/maskInput/model/mask/utils.js","lib/shared/ui/calendar/Calendar.js","lib/shared/ui/calendar/ui/MonthCaption.js","lib/shared/ui/calendar/ui/Navigation.js","lib/shared/ui/calendar/ui/selectDate/SelectDate.js","lib/shared/ui/calendar/ui/selectDate/ui/SelectList.js","lib/shared/ui/calendar/ui/selectDate/ui/Trigger.js","lib/shared/ui/calendar/ui/model/utils.js","lib/shared/ui/calendar/ui/Weekday.js","lib/shared/ui/calendar/ui/DayButton.js","lib/shared/ui/calendar/ui/Day.js","lib/shared/ui/calendar/ui/Footer.js","lib/shared/ui/formElements/controlled/input/InputControl.js","lib/shared/ui/formElements/controlled/input/MaskInputControl.js","lib/shared/ui/formElements/controlled/inputCurrency/InputCurrencyControl.js","lib/shared/ui/formElements/uncontrolled/inputCurrency/InputCurrency.js","lib/shared/ui/formElements/uncontrolled/inputCurrency/hooks/useCurrencyControl.js","lib/shared/ui/formElements/uncontrolled/inputCurrency/hooks/useCurrencyFormat.js","lib/shared/ui/formElements/uncontrolled/inputCurrency/ui/CurrencyIcon.js","lib/shared/ui/divider/Divider.js","lib/shared/ui/formElements/controlled/inputOtp/InputOtpControl.js","lib/shared/ui/formElements/uncontrolled/inputOtp/InputOtpBase.js","lib/shared/ui/formElements/uncontrolled/inputOtp/ui/InputOtpSlot.js","lib/shared/ui/formElements/controlled/radio/RadioGroupCardControl.js","lib/shared/ui/carouselBase/CarouselNative.js","lib/shared/ui/formElements/controlled/radio/RadioGroupControl.js","lib/shared/ui/formElements/uncontrolled/radio/RadioGroup.js","lib/shared/ui/formElements/uncontrolled/radio/ui/RadioItem.js","lib/shared/ui/formElements/uncontrolled/radio/ui/AdditionalContent.js","lib/shared/ui/formElements/uncontrolled/radio/ui/RadioItemCard.js","lib/shared/ui/formElements/controlled/radio/RadioGroupTabControl.js","lib/shared/ui/formElements/uncontrolled/radio/ui/RadioItemTab.js","lib/shared/ui/formElements/controlled/slider/SliderControl.js","lib/shared/ui/formElements/uncontrolled/slider/SliderBase.js","lib/shared/ui/formElements/uncontrolled/slider/ui/sliderStep/SliderStep.js","lib/shared/ui/formElements/uncontrolled/slider/ui/Slider.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Slider.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/objectSpread2.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/defineProperty.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/typeof.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/toPrimitive.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/iterableToArray.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/slicedToArray.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/hooks/useEvent.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/hooks/useMergedState.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/hooks/useLayoutEffect.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/Dom/canUseDom.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/hooks/useState.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/isEqual.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/warning.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Handles/index.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/extends.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/util.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Handles/Handle.js","node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/KeyCode.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/context.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Marks/index.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Marks/Mark.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Steps/index.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Steps/Dot.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Tracks/index.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/Tracks/Track.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/hooks/useDrag.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/hooks/useOffset.js","node_modules/.pnpm/rc-slider@11.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-slider/es/hooks/useRange.js","lib/shared/ui/formElements/uncontrolled/slider/model/helpers/getInputSliderSuffix.js","lib/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/getDayIntl.js","lib/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/getIntlMonth.js","lib/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/getYearIntl.js","lib/shared/ui/formElements/uncontrolled/slider/model/helpers/currency/getFormattedCurrency.js","lib/shared/ui/formElements/uncontrolled/slider/ui/sliderStep/hooks/useSliderStep.js","lib/shared/ui/formElements/uncontrolled/slider/ui/sliderAlgorithmic/SliderAlgorithmic.js","lib/shared/ui/formElements/uncontrolled/slider/ui/sliderAlgorithmic/hooks/useSliderAlgorithmic.js","lib/shared/ui/formElements/uncontrolled/slider/model/useLogarithmic.js","lib/shared/ui/formElements/uncontrolled/slider/ui/sliderMarks/SliderMarks.js","lib/shared/ui/formElements/uncontrolled/slider/ui/sliderMarks/hooks/useSliderMarks.js","lib/shared/ui/formElements/controlled/switch/SwitchControl.js","lib/shared/ui/formElements/uncontrolled/switch/Switch.js","lib/shared/ui/popover/Popover.js","lib/shared/ui/formElements/controlled/textarea/TextareaControl.js","lib/shared/ui/formElements/uncontrolled/textarea/Textarea.js","lib/shared/ui/formElements/controlled/uploader/UploaderControl.js","lib/shared/ui/formElements/uncontrolled/uploader/UploaderBase.js","lib/shared/ui/formElements/uncontrolled/uploader/model/hooks/useUploader.js","lib/shared/ui/notification/Notification.js","lib/shared/ui/notification/ui/CustomToast.js","lib/shared/ui/formElements/uncontrolled/uploader/model/helpers.js","lib/shared/ui/formElements/uncontrolled/uploader/ui/UploaderInput.js","lib/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFiles.js","lib/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFile.js","lib/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFilename.js","lib/shared/hooks/useOverflow.js","lib/shared/ui/hint/Hint.js","lib/shared/ui/formElements/controlled/combobox/ComboboxControl.js","lib/shared/ui/formElements/controlled/combobox/hooks/useComboboxControl.js","lib/shared/ui/formElements/controlled/dadata/party/DadataOrganization.js","lib/shared/ui/formElements/controlled/dadata/party/query.js","lib/shared/ui/formElements/controlled/dadata/helpers.js","src/configs/api.js","lib/shared/ui/formElements/controlled/dadata/auto/DadataAuto.js","lib/shared/ui/formElements/controlled/dadata/auto/query.js","lib/shared/ui/formElements/controlled/dadata/country/DadataCountry.js","lib/shared/ui/formElements/controlled/dadata/country/query.js","lib/shared/ui/formElements/controlled/dadata/address/DadataAddress.js","lib/shared/ui/formElements/controlled/dadata/address/query.js","lib/shared/ui/formElements/controlled/dadata/fio/DadataFio.js","lib/shared/ui/formElements/controlled/dadata/fio/query.js","lib/widgets/calculator/ui/calculatorFields/ui/SliderFieldsGroup.js","lib/widgets/calculator/ui/calculatorFields/ui/AdditionalSlider.js","lib/widgets/calculator/ui/calculatorInfo/CalculatorInfo.js","lib/widgets/calculator/ui/calculatorInfo/ui/CalculatedBlock.js","lib/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoHead.js","lib/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoBody.js","lib/widgets/calculator/ui/calculatorInfo/ui/InfoListItem.js","lib/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoFooter.js","lib/widgets/calculator/ui/calculatorInfo/ui/AssistHint.js","lib/shared/hooks/useControlledForm.js","lib/widgets/calculator/ui/CalculatorTabs.js","lib/widgets/dynamicForm/DynamicForm.js","lib/widgets/dynamicForm/model/helpers.js","lib/widgets/htmlParser/HTMLRenderer.js","lib/shared/hooks/useFieldsProgress.js","lib/widgets/queryClientProvider/QueryClientProvider.js","lib/widgets/esia/Esia.js","lib/widgets/esia/ui/EsiaLogo.js","lib/widgets/esia/ui/TextBlock.js","lib/shared/ui/progressBar/ProgressBar.js","lib/widgets/dynamicFormDialog/DynamicFormDialog.js","lib/shared/ui/dialog/Dialog.js","lib/widgets/footer/Footer.js","lib/widgets/footer/ui/Ligal.js","lib/widgets/footer/ui/FooterLogo.js","lib/widgets/footer/ui/SocialLinks.js","lib/widgets/footer/ui/PhonesBlock.js","lib/shared/ui/phoneView/PhoneView.js","lib/widgets/footer/ui/NavLinks.js","lib/shared/ui/customLink/CustomLink.js","lib/shared/ui/customLink/model/helpers.js","lib/widgets/footer/ui/Copyright.js","lib/widgets/footer/ui/SiteMap.js","lib/widgets/header/Header.js","lib/widgets/header/model/helpers.js","lib/shared/ui/brandLogos/BrandLogos.js","lib/widgets/interLinking/InterLinking.js","lib/widgets/interLinking/ui/Column.js","lib/widgets/interLinking/ui/ColumnGroup.js","lib/widgets/interLinking/ui/LinksList.js","lib/shared/ui/accordion/Accordion.js","lib/shared/ui/accordion/model/helpers.js","lib/shared/ui/accordion/ui/AccordionHeader.js","lib/widgets/longBanner/LongBanner.js","lib/widgets/longBanner/model/cva.js","lib/widgets/longBanner/ui/Title.js","lib/widgets/longBanner/ui/TextList.js","lib/widgets/longBanner/ui/TextItem.js","lib/widgets/seoHeader/SeoHeader.js","lib/widgets/seoHeader/ui/mobile/CategoriesMobile.js","lib/widgets/seoHeader/ui/mobile/menu/Menu.js","lib/widgets/seoHeader/ui/mobile/menu/MenuItem.js","lib/widgets/seoHeader/ui/desktop/CategoriesDesktop.js","lib/widgets/seoHeader/ui/desktop/CategoryTabs.js","lib/widgets/seoHeader/ui/desktop/tab/Tab.js","lib/widgets/seoHeader/ui/desktop/tab/ui/content/TabContent.js","lib/widgets/seoHeader/hooks/useCategoryReducer/useCategoryReducer.js","lib/widgets/seoHeader/hooks/useCategoryReducer/reducer.js","lib/widgets/seoHeader/hooks/useCategoryReducer/types.js","lib/widgets/seoHeader/ui/desktop/rootTab/RootTab.js","lib/widgets/seoHeader/hooks/useCategoryReducer/actions.js","lib/widgets/breadcrumbs/Breadcrumbs.js","lib/widgets/breadcrumbs/Breadcrumb.js","lib/widgets/breadcrumbs/hooks/constants.js","lib/shared/utils/capitalize.js","lib/widgets/stepper/Stepper.js","lib/widgets/stepper/ui/SingleStep.js","lib/widgets/stepper/ui/StepperTabs.js","lib/widgets/stepper/ui/StepperCarousel.js","lib/shared/ui/carouselBase/CarouselBase.js","lib/shared/ui/carouselBase/ui/ContainerWithNavigation.js","lib/shared/ui/carouselBase/ui/ArrowNavigationButton.js","lib/shared/ui/carouselBase/model/helpers.js","lib/shared/ui/carouselBase/ui/slideVariants/SlideFullScreen.js","lib/shared/ui/carouselBase/ui/slideVariants/SlideOnlyImage.js","lib/shared/ui/carouselBase/ui/slideVariants/SlideProductCard.js","lib/shared/ui/carouselBase/model/hooks/useCarousel.js","lib/shared/ui/carouselBase/model/hooks/useDotsNavigation.js","lib/shared/ui/carouselBase/model/hooks/useArrowNavigation.js","lib/shared/ui/carouselBase/ui/CarouselContent.js","lib/shared/ui/carouselBase/ui/DotsNavigations.js","lib/shared/ui/carouselBase/ui/CarouselSlide.js","lib/widgets/conditionBlock/ConditionBlock.js","lib/widgets/conditionBlock/ui/ConditionsWithCTA.js","lib/widgets/conditionBlock/ui/SingleCondition.js","lib/widgets/usefulInfo/UsefulInfo.js","lib/widgets/usefulInfo/ui/Tabs.js","lib/widgets/usefulInfo/ui/RenderEntity.js","lib/widgets/usefulInfo/model/utils.js","lib/widgets/usefulInfo/ui/subEntities/experts/Experts.js","lib/widgets/usefulInfo/ui/subEntities/experts/ui/ExpertCard.js","lib/widgets/usefulInfo/ui/subEntities/table/Table.js","lib/widgets/usefulInfo/ui/subEntities/table/model/utils.js","lib/widgets/usefulInfo/ui/subEntities/table/ui/TableBody.js","lib/widgets/usefulInfo/ui/subEntities/table/ui/DesktopHeadings.js","lib/widgets/usefulInfo/ui/subEntities/table/ui/DesktopRow.js","lib/widgets/usefulInfo/ui/subEntities/table/ui/MobileRow.js","lib/widgets/usefulInfo/ui/subEntities/documents/Documents.js","lib/widgets/usefulInfo/ui/subEntities/documents/ui/document/Document.js","lib/widgets/usefulInfo/ui/subEntities/documents/ui/document/model/utils.js","lib/widgets/usefulInfo/ui/subEntities/html/Html.js","lib/widgets/benefit/Benefit.js","lib/widgets/benefit/ui/BenefitItem.js","lib/widgets/infoBlock/InfoBlock.js","lib/widgets/infoBlock/ui/RootContent.js","lib/widgets/infoBlock/ui/LinksList.js","lib/widgets/userFeedback/UserFeedback.js","lib/widgets/userFeedback/model/hooks/useRating.js","lib/widgets/userFeedback/ui/FeedbackTrigger.js","lib/shared/hooks/useObserverWidgets.js","lib/widgets/userFeedback/ui/Finally.js","lib/widgets/userFeedback/ui/UserReview.js","lib/widgets/userFeedback/model/schema.js","lib/widgets/userFeedback/ui/SelectRating.js","lib/widgets/table/InfoTable.js","lib/widgets/table/model/utils.js","lib/shared/ui/table/model/TableUtils.js","lib/shared/ui/table/ui/dataTableColumnHeader/DataTableColumnHeader.js","lib/shared/ui/table/Table.js","lib/shared/ui/table/Desktop.js","lib/shared/ui/table/TablePagination.js","lib/shared/ui/pagination/Pagination.js","lib/shared/ui/table/ui/primitives/Primitives.js","lib/shared/ui/table/Horizontal.js","lib/shared/ui/table/Mobile.js","lib/widgets/carouselBlock/CarouselBlock.js","lib/shared/ui/carousel/Carousel.js","lib/shared/ui/carousel/model/hooks/useCarousel.js","lib/shared/ui/carousel/model/hooks/useDotsNavigation.js","lib/shared/ui/carousel/model/hooks/useArrowNavigation.js","lib/shared/ui/carousel/ui/RenderSlides.js","lib/shared/ui/carousel/model/constant.js","lib/shared/ui/carousel/ui/slideVariants/SlideStepsList.js","lib/shared/ui/carousel/ui/slideVariants/slide.module.css.js","lib/shared/ui/carousel/ui/slideVariants/slide.module.css","lib/shared/ui/carousel/model/helpers.js","lib/shared/ui/carousel/ui/slideVariants/SlideFullScreen.js","lib/shared/ui/carousel/ui/slideVariants/SlideMultipleCards.js","lib/shared/ui/carousel/ui/ArrowNavigationButton.js","lib/shared/ui/carousel/ui/stepsList/StepsList.js","lib/shared/ui/carousel/ui/stepsList/StepListItemType.js","lib/shared/ui/carousel/ui/DotsNavigations.js","lib/widgets/errorPage/ErrorPage.js","lib/widgets/errorPage/ui/TextContainer.js"])))=>i.map(i=>d[i]);
2
+ import{__vitePreload as o}from"../../../_virtual/preload-helper.js";import{lazy as _}from"react";const e=_(()=>o(()=>import("../banner/Banner.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]))),i=_(()=>o(()=>import("../calculator/Calculator.js"),__vite__mapDeps([24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,2,3,4,5,6,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,20,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,10,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,23,14,15,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,16,17,18,292,293,8,9,11,12,13,294,295,21]))),n=_(()=>o(()=>import("../dynamicForm/DynamicForm.js"),__vite__mapDeps([296,27,28,29,30,31,32,33,34,35,36,37,38,39,2,3,4,5,6,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,297,155,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,298,299,300,301,302,303,14,15,148,304,135,136,137,138,139,140,141,142,143,10,144,145,146,147,149,150,151,152,153,154,156,157,158,159,160,161,162,163,133,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,23,271,272,273,274,275,276,277,278,279,280,281,282,283,284,294,21,20,12,13]))),E=_(()=>o(()=>import("../dynamicFormDialog/DynamicFormDialog.js"),__vite__mapDeps([305,27,28,29,30,31,32,33,34,35,36,37,38,39,2,3,4,5,6,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,12,13,14,15,306,157,10,20,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,155,300,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,156,158,159,160,161,162,163,133,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,23,271,272,273,274,275,276,277,278,279,280,281,282,283,284,294,301,302,303,298]))),c=_(()=>o(()=>import("../footer/Footer.js"),__vite__mapDeps([307,308,2,3,4,5,6,309,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,310,16,17,18,311,312,38,313,314,315,316,317,21]))),s=_(()=>o(()=>import("../header/Header.js"),__vite__mapDeps([318,319,312,2,3,4,5,6,16,17,18,8,9,10,11,12,13,14,15,320,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,21]))),d=_(()=>o(()=>import("../interLinking/InterLinking.js"),__vite__mapDeps([321,2,3,4,5,6,322,323,324,314,315,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,16,17,18,23,325,326,327,21,20]))),m=_(()=>o(()=>import("../longBanner/LongBanner.js"),__vite__mapDeps([328,329,2,3,4,5,6,330,331,332,16,17,18,256,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,21,8,9,10,11,12,13,14,15]))),u=_(()=>o(()=>import("../seoHeader/SeoHeader.js"),__vite__mapDeps([333,2,3,4,5,6,334,335,336,325,326,327,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,16,17,18,38,139,140,141,142,143,10,144,145,146,147,148,149,150,151,152,153,154,155,156,157,337,338,339,340,314,315,341,342,343,344,345,346,347,348,349,23,21]))),I=_(()=>o(()=>import("../stepper/Stepper.js"),__vite__mapDeps([350,351,2,3,4,5,6,352,16,17,18,353,354,355,356,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,357,358,359,360,12,13,14,15,361,362,363,364,365,23,20,366,21]))),a=_(()=>o(()=>import("../conditionBlock/ConditionBlock.js"),__vite__mapDeps([367,368,2,3,4,5,6,8,9,10,11,12,13,14,15,16,17,18,369,21]))),p=_(()=>o(()=>import("../usefulInfo/UsefulInfo.js"),__vite__mapDeps([370,2,3,4,5,6,371,16,17,18,372,373,374,375,20,325,326,327,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,376,377,378,379,380,381,382,383,384,385,21]))),D=_(()=>o(()=>import("../benefit/Benefit.js"),__vite__mapDeps([386,387,2,3,4,5,6,8,9,10,11,12,13,14,15,16,17,18,38,23,21]))),T=_(()=>o(()=>import("../infoBlock/InfoBlock.js"),__vite__mapDeps([388,2,3,4,5,6,389,390,314,315,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,16,17,18,20,8,9,10,11,12,13,14,15,21]))),L=_(()=>o(()=>import("../userFeedback/UserFeedback.js"),__vite__mapDeps([391,392,2,3,4,5,6,393,394,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,395,396,257,258,145,146,147,148,158,397,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,294,12,13,14,15,398,17,256,16,18]))),P=_(()=>o(()=>import("../table/InfoTable.js"),__vite__mapDeps([399,400,38,401,402,2,3,4,5,6,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,23,403,404,405,406,12,13,14,15,407,408,409,21]))),l=_(()=>o(()=>import("../carouselBlock/CarouselBlock.js"),__vite__mapDeps([410,2,3,4,5,6,411,412,413,414,415,416,417,418,419,420,421,422,12,13,14,15,423,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,38,424,425,426,20,21]))),O=_(()=>o(()=>import("../errorPage/ErrorPage.js"),__vite__mapDeps([427,428,38,21,2,3,4,5,6,8,9,10,11,12,13,14,15,16,17,18,314,315,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132]))),v={header:s,seoHeader:u,banner:e,calculator:i,form:n,formDialog:E,stepper:I,benefit:D,longBanner:m,usefulInfo:p,interLinking:d,footer:c,infoBlock:T,userFeedback:L,infoTable:P,conditionBlock:a,carouselBlock:l,errorPage:O},A=Object.keys(v),f=A.reduce((r,t)=>(r[t]=t,r),{});export{A as KEYS_OF_WIDGET_LIST,v as WIDGET_LIST_MAP,f as widgetIds};
3
3
  //# sourceMappingURL=helpers.js.map
@@ -1 +1 @@
1
- {"version":3,"mappings":";iGACA,MAAMA,EAASC,EAAK,UAAM,OAAO,qBAAkB,0EAAC,EAC9CC,EAAaD,EAAK,UAAM,OAAO,6BAA0B,+iCAAC,EAC1DE,EAAcF,EAAK,UAAM,OAAO,+BAA4B,y/BAAC,EAC7DG,EAAoBH,EAAK,UAAM,OAAO,2CAAwC,8+BAAC,EAC/EI,EAASJ,EAAK,UAAM,OAAO,qBAAkB,gUAAC,EAC9CK,EAASL,EAAK,UAAM,OAAO,qBAAkB,uTAAC,EAC9CM,EAAeN,EAAK,UAAM,OAAO,iCAA8B,mTAAC,EAChEO,EAAaP,EAAK,UAAM,OAAO,6BAA0B,uTAAC,EAC1DQ,EAAYR,EAAK,UAAM,OAAO,2BAAwB,8bAAC,EACvDS,EAAUT,EAAK,UAAM,OAAO,uBAAoB,+VAAC,EACjDU,EAAiBV,EAAK,UAAM,OAAO,qCAAkC,oEAAC,EACtEW,EAAaX,EAAK,UAAM,OAAO,6BAA0B,4VAAC,EAC1DY,EAAUZ,EAAK,UAAM,OAAO,uBAAoB,sEAAC,EACjDa,EAAYb,EAAK,UAAM,OAAO,2BAAwB,sTAAC,EACvDc,EAAed,EAAK,UAAM,OAAO,iCAA8B,0aAAC,EAChEe,EAAQf,EAAK,UAAM,OAAO,uBAAoB,uUAAC,EAC/CgB,EAAgBhB,EAAK,UAAM,OAAO,mCAAgC,+VAAC,EACnEiB,EAAYjB,EAAK,UAAM,OAAO,2BAAwB,kTAAC,EAIhDkB,EAAkB,CAC7B,OAAQb,EACR,UAAWG,EACX,OAAQT,EACR,WAAYE,EACZ,KAAMC,EACN,WAAYC,EACZ,QAASM,EACT,QAASG,EACT,WAAYL,EACZ,WAAYI,EACZ,aAAcL,EACd,OAAQF,EACR,UAAWS,EACX,aAAcC,EACd,UAAWC,EACX,eAAgBL,EAChB,cAAeM,EACf,UAAWC,CACb,EAEaE,EAAsB,OAAO,KAAKD,CAAe,EAEjDE,EAAYD,EAAoB,OAC3C,CAACE,EAAKC,KACJD,EAAIC,CAAM,EAAIA,EACPD,GAET,EACF","names":["Banner","lazy","Calculator","DynamicForm","DynamicFormDialog","Footer","Header","InterLinking","LongBanner","SeoHeader","Stepper","ConditionBlock","UsefulInfo","Benefit","InfoBlock","UserFeedback","Table","CarouselBlock","ErrorPage","WIDGET_LIST_MAP","KEYS_OF_WIDGET_LIST","widgetIds","acc","widget"],"ignoreList":[],"sources":["../../../../lib/widgets/model/helpers.ts"],"sourcesContent":["import { lazy } from 'react'\nconst Banner = lazy(() => import('../banner/Banner'))\nconst Calculator = lazy(() => import('../calculator/Calculator'))\nconst DynamicForm = lazy(() => import('../dynamicForm/DynamicForm'))\nconst DynamicFormDialog = lazy(() => import('../dynamicFormDialog/DynamicFormDialog'))\nconst Footer = lazy(() => import('../footer/Footer'))\nconst Header = lazy(() => import('../header/Header'))\nconst InterLinking = lazy(() => import('../interLinking/InterLinking'))\nconst LongBanner = lazy(() => import('../longBanner/LongBanner'))\nconst SeoHeader = lazy(() => import('../seoHeader/SeoHeader'))\nconst Stepper = lazy(() => import('../stepper/Stepper'))\nconst ConditionBlock = lazy(() => import('../conditionBlock/ConditionBlock'))\nconst UsefulInfo = lazy(() => import('../usefulInfo/UsefulInfo'))\nconst Benefit = lazy(() => import('../benefit/Benefit'))\nconst InfoBlock = lazy(() => import('../infoBlock/InfoBlock'))\nconst UserFeedback = lazy(() => import('../userFeedback/UserFeedback'))\nconst Table = lazy(() => import('../table/InfoTable'))\nconst CarouselBlock = lazy(() => import('../carouselBlock/CarouselBlock'))\nconst ErrorPage = lazy(() => import('../errorPage/ErrorPage'))\n\nexport type AllowedWidgets = keyof typeof WIDGET_LIST_MAP\n\nexport const WIDGET_LIST_MAP = {\n header: Header,\n seoHeader: SeoHeader,\n banner: Banner,\n calculator: Calculator,\n form: DynamicForm,\n formDialog: DynamicFormDialog,\n stepper: Stepper,\n benefit: Benefit,\n longBanner: LongBanner,\n usefulInfo: UsefulInfo,\n interLinking: InterLinking,\n footer: Footer,\n infoBlock: InfoBlock,\n userFeedback: UserFeedback,\n infoTable: Table,\n conditionBlock: ConditionBlock,\n carouselBlock: CarouselBlock,\n errorPage: ErrorPage\n} as const\n\nexport const KEYS_OF_WIDGET_LIST = Object.keys(WIDGET_LIST_MAP) as readonly AllowedWidgets[]\n\nexport const widgetIds = KEYS_OF_WIDGET_LIST.reduce(\n (acc, widget) => {\n acc[widget] = widget\n return acc\n },\n {} as Record<AllowedWidgets, AllowedWidgets>\n)\n"],"file":"helpers.js"}
1
+ {"version":3,"mappings":";iGACA,MAAMA,EAASC,EAAK,UAAM,OAAO,qBAAkB,mFAAC,EAC9CC,EAAaD,EAAK,UAAM,OAAO,6BAA0B,2jCAAC,EAC1DE,EAAcF,EAAK,UAAM,OAAO,+BAA4B,4/BAAC,EAC7DG,EAAoBH,EAAK,UAAM,OAAO,2CAAwC,i/BAAC,EAC/EI,EAASJ,EAAK,UAAM,OAAO,qBAAkB,oUAAC,EAC9CK,EAASL,EAAK,UAAM,OAAO,qBAAkB,2TAAC,EAC9CM,EAAeN,EAAK,UAAM,OAAO,iCAA8B,+TAAC,EAChEO,EAAaP,EAAK,UAAM,OAAO,6BAA0B,mUAAC,EAC1DQ,EAAYR,EAAK,UAAM,OAAO,2BAAwB,kcAAC,EACvDS,EAAUT,EAAK,UAAM,OAAO,uBAAoB,2WAAC,EACjDU,EAAiBV,EAAK,UAAM,OAAO,qCAAkC,6EAAC,EACtEW,EAAaX,EAAK,UAAM,OAAO,6BAA0B,oWAAC,EAC1DY,EAAUZ,EAAK,UAAM,OAAO,uBAAoB,+EAAC,EACjDa,EAAYb,EAAK,UAAM,OAAO,2BAAwB,kUAAC,EACvDc,EAAed,EAAK,UAAM,OAAO,iCAA8B,sbAAC,EAChEe,EAAQf,EAAK,UAAM,OAAO,uBAAoB,0UAAC,EAC/CgB,EAAgBhB,EAAK,UAAM,OAAO,mCAAgC,kWAAC,EACnEiB,EAAYjB,EAAK,UAAM,OAAO,2BAAwB,8TAAC,EAIhDkB,EAAkB,CAC7B,OAAQb,EACR,UAAWG,EACX,OAAQT,EACR,WAAYE,EACZ,KAAMC,EACN,WAAYC,EACZ,QAASM,EACT,QAASG,EACT,WAAYL,EACZ,WAAYI,EACZ,aAAcL,EACd,OAAQF,EACR,UAAWS,EACX,aAAcC,EACd,UAAWC,EACX,eAAgBL,EAChB,cAAeM,EACf,UAAWC,CACb,EAEaE,EAAsB,OAAO,KAAKD,CAAe,EAEjDE,EAAYD,EAAoB,OAC3C,CAACE,EAAKC,KACJD,EAAIC,CAAM,EAAIA,EACPD,GAET,EACF","names":["Banner","lazy","Calculator","DynamicForm","DynamicFormDialog","Footer","Header","InterLinking","LongBanner","SeoHeader","Stepper","ConditionBlock","UsefulInfo","Benefit","InfoBlock","UserFeedback","Table","CarouselBlock","ErrorPage","WIDGET_LIST_MAP","KEYS_OF_WIDGET_LIST","widgetIds","acc","widget"],"ignoreList":[],"sources":["../../../../lib/widgets/model/helpers.ts"],"sourcesContent":["import { lazy } from 'react'\nconst Banner = lazy(() => import('../banner/Banner'))\nconst Calculator = lazy(() => import('../calculator/Calculator'))\nconst DynamicForm = lazy(() => import('../dynamicForm/DynamicForm'))\nconst DynamicFormDialog = lazy(() => import('../dynamicFormDialog/DynamicFormDialog'))\nconst Footer = lazy(() => import('../footer/Footer'))\nconst Header = lazy(() => import('../header/Header'))\nconst InterLinking = lazy(() => import('../interLinking/InterLinking'))\nconst LongBanner = lazy(() => import('../longBanner/LongBanner'))\nconst SeoHeader = lazy(() => import('../seoHeader/SeoHeader'))\nconst Stepper = lazy(() => import('../stepper/Stepper'))\nconst ConditionBlock = lazy(() => import('../conditionBlock/ConditionBlock'))\nconst UsefulInfo = lazy(() => import('../usefulInfo/UsefulInfo'))\nconst Benefit = lazy(() => import('../benefit/Benefit'))\nconst InfoBlock = lazy(() => import('../infoBlock/InfoBlock'))\nconst UserFeedback = lazy(() => import('../userFeedback/UserFeedback'))\nconst Table = lazy(() => import('../table/InfoTable'))\nconst CarouselBlock = lazy(() => import('../carouselBlock/CarouselBlock'))\nconst ErrorPage = lazy(() => import('../errorPage/ErrorPage'))\n\nexport type AllowedWidgets = keyof typeof WIDGET_LIST_MAP\n\nexport const WIDGET_LIST_MAP = {\n header: Header,\n seoHeader: SeoHeader,\n banner: Banner,\n calculator: Calculator,\n form: DynamicForm,\n formDialog: DynamicFormDialog,\n stepper: Stepper,\n benefit: Benefit,\n longBanner: LongBanner,\n usefulInfo: UsefulInfo,\n interLinking: InterLinking,\n footer: Footer,\n infoBlock: InfoBlock,\n userFeedback: UserFeedback,\n infoTable: Table,\n conditionBlock: ConditionBlock,\n carouselBlock: CarouselBlock,\n errorPage: ErrorPage\n} as const\n\nexport const KEYS_OF_WIDGET_LIST = Object.keys(WIDGET_LIST_MAP) as readonly AllowedWidgets[]\n\nexport const widgetIds = KEYS_OF_WIDGET_LIST.reduce(\n (acc, widget) => {\n acc[widget] = widget\n return acc\n },\n {} as Record<AllowedWidgets, AllowedWidgets>\n)\n"],"file":"helpers.js"}
@@ -1,2 +1,2 @@
1
- import{pushToDlLinkSeoHeader as r}from"./dataLayers.js";export{r as pushToDlLinkSeoHeader};
1
+
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import{jsxs as n,jsx as r}from"react/jsx-runtime";import{CategoryTabs as u}from"./CategoryTabs.js";import{useCategoryReducer as g}from"../../hooks/useCategoryReducer/useCategoryReducer.js";import{RootTab as b}from"./rootTab/RootTab.js";import{rootCategoryAction as f,currentCategoryAction as x}from"../../hooks/useCategoryReducer/actions.js";import{Icon as s}from"../../../../shared/ui/icon/Icon.js";import{pushToDlLinkSeoHeader as c}from"../../model/dataLayers.js";const w=({categories:t,helpers:m,phone:o})=>{const[a,l]=g({root:t[0].children[0],current:t[0].children[0]});return n("div",{className:"mobile:hidden",children:[n("div",{className:"flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)] py-4",children:[r(s,{name:"brandLogos/logoMain",className:"mr-auto w-[130px]"}),t.map(e=>{const d=a.root.title===e.title;return r(b,{category:e,selectedCategory:a.current,onCurrentCategoryChange:i=>l(x(i)),onRootCategoryChange:i=>l(f(i)),active:d},e.title)}),r("div",{className:"h-3.5 w-[1px] rounded-sm bg-color-blue-grey-500"}),m.map(e=>n("a",{onPointerDown:()=>c(e.title,e.link.href),href:e.link.href,className:"desk-body-regular-m flex items-center gap-x-1 text-color-tetriary duration-100 hover:text-color-dark",children:[e.link.icon&&r(s,{name:e.link.icon,className:"size-4"}),e.title]},e.title)),r("div",{className:"h-3.5 w-[1px] rounded-sm bg-color-blue-grey-500"}),r("a",{onPointerDown:()=>c(o,`tel:${o}`),href:`tel:${o}`,className:"desk-body-regular-m flex items-center gap-x-1 text-color-tetriary duration-100 hover:text-color-dark",children:o})]}),r(u,{categories:a.current.children})]})};export{w as CategoriesDesktop};
1
+ import{jsxs as n,jsx as r}from"react/jsx-runtime";import{CategoryTabs as u}from"./CategoryTabs.js";import{useCategoryReducer as g}from"../../hooks/useCategoryReducer/useCategoryReducer.js";import{RootTab as b}from"./rootTab/RootTab.js";import{rootCategoryAction as f,currentCategoryAction as x}from"../../hooks/useCategoryReducer/actions.js";import{Icon as l}from"../../../../shared/ui/icon/Icon.js";import{pushToDlLink as c}from"../../../../shared/dataLayers/utils.js";const w=({categories:t,helpers:m,phone:o})=>{const[a,s]=g({root:t[0].children[0],current:t[0].children[0]});return n("div",{className:"mobile:hidden",children:[n("div",{className:"flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)] py-4",children:[r(l,{name:"brandLogos/logoMain",className:"mr-auto w-[130px]"}),t.map(e=>{const d=a.root.title===e.title;return r(b,{category:e,selectedCategory:a.current,onCurrentCategoryChange:i=>s(x(i)),onRootCategoryChange:i=>s(f(i)),active:d},e.title)}),r("div",{className:"h-3.5 w-[1px] rounded-sm bg-color-blue-grey-500"}),m.map(e=>n("a",{onPointerDown:()=>c(e?.title,e?.link?.href,"seoHeader"),href:e.link.href,className:"desk-body-regular-m flex items-center gap-x-1 text-color-tetriary duration-100 hover:text-color-dark",children:[e.link.icon&&r(l,{name:e.link.icon,className:"size-4"}),e.title]},e.title)),r("div",{className:"h-3.5 w-[1px] rounded-sm bg-color-blue-grey-500"}),r("a",{onPointerDown:()=>c(o,`tel:${o}`,"seoHeader"),href:`tel:${o}`,className:"desk-body-regular-m flex items-center gap-x-1 text-color-tetriary duration-100 hover:text-color-dark",children:o})]}),r(u,{categories:a.current.children})]})};export{w as CategoriesDesktop};
2
2
  //# sourceMappingURL=CategoriesDesktop.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CategoriesDesktop.js","sources":["../../../../../../lib/widgets/seoHeader/ui/desktop/CategoriesDesktop.tsx"],"sourcesContent":["import { currentCategoryAction, rootCategoryAction, useCategoryReducer } from '../../hooks'\nimport { type Category, pushToDlLinkSeoHeader, type SeoHeaderHelpers } from '../../model'\nimport { CategoryTabs } from './CategoryTabs'\nimport { RootTab } from './rootTab'\nimport { Icon } from '$/shared/ui'\n\ntype DesktopCategoriesProps = {\n categories: Category[]\n helpers: SeoHeaderHelpers[]\n phone: string\n}\n\nexport const CategoriesDesktop = ({ categories, helpers, phone }: DesktopCategoriesProps) => {\n const [store, dispatch] = useCategoryReducer({ root: categories[0].children[0], current: categories[0].children[0] })\n\n return (\n <div className='mobile:hidden'>\n <div className='flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)] py-4'>\n <Icon name='brandLogos/logoMain' className='mr-auto w-[130px]' />\n {categories.map((category) => {\n const active = store.root.title === category.title\n\n return (\n <RootTab\n key={category.title}\n category={category}\n selectedCategory={store.current}\n onCurrentCategoryChange={(cat) => dispatch(currentCategoryAction(cat))}\n onRootCategoryChange={(cat) => dispatch(rootCategoryAction(cat))}\n active={active}\n />\n )\n })}\n <div className='h-3.5 w-[1px] rounded-sm bg-color-blue-grey-500' />\n {helpers.map((helper) => (\n <a\n onPointerDown={() => pushToDlLinkSeoHeader(helper.title, helper.link.href)}\n key={helper.title}\n href={helper.link.href}\n className='desk-body-regular-m flex items-center gap-x-1 text-color-tetriary duration-100 hover:text-color-dark'\n >\n {helper.link.icon && <Icon name={helper.link.icon} className='size-4' />}\n {helper.title}\n </a>\n ))}\n <div className='h-3.5 w-[1px] rounded-sm bg-color-blue-grey-500' />\n <a\n onPointerDown={() => pushToDlLinkSeoHeader(phone, `tel:${phone}`)}\n href={`tel:${phone}`}\n className='desk-body-regular-m flex items-center gap-x-1 text-color-tetriary duration-100 hover:text-color-dark'\n >\n {phone}\n </a>\n </div>\n <CategoryTabs categories={store.current.children} />\n </div>\n )\n}\n"],"names":["CategoriesDesktop","categories","helpers","phone","store","dispatch","useCategoryReducer","jsxs","jsx","Icon","category","active","RootTab","cat","currentCategoryAction","rootCategoryAction","helper","pushToDlLinkSeoHeader","CategoryTabs"],"mappings":"kdAYO,MAAMA,EAAoB,CAAC,CAAE,WAAAC,EAAY,QAAAC,EAAS,MAAAC,KAAoC,CAC3F,KAAM,CAACC,EAAOC,CAAQ,EAAIC,EAAmB,CAAE,KAAML,EAAW,CAAC,EAAE,SAAS,CAAC,EAAG,QAASA,EAAW,CAAC,EAAE,SAAS,CAAC,EAAG,EAEpH,OACEM,EAAC,MAAA,CAAI,UAAU,gBACb,SAAA,CAAAA,EAAC,MAAA,CAAI,UAAU,8FACb,SAAA,CAAAC,EAACC,EAAA,CAAK,KAAK,sBAAsB,UAAU,oBAAoB,EAC9DR,EAAW,IAAKS,GAAa,CAC5B,MAAMC,EAASP,EAAM,KAAK,QAAUM,EAAS,MAE7C,OACEF,EAACI,EAAA,CAEC,SAAAF,EACA,iBAAkBN,EAAM,QACxB,wBAA0BS,GAAQR,EAASS,EAAsBD,CAAG,CAAC,EACrE,qBAAuBA,GAAQR,EAASU,EAAmBF,CAAG,CAAC,EAC/D,OAAAF,CAAA,EALKD,EAAS,KAAA,CAQpB,CAAC,EACDF,EAAC,MAAA,CAAI,UAAU,iDAAA,CAAkD,EAChEN,EAAQ,IAAKc,GACZT,EAAC,IAAA,CACC,cAAe,IAAMU,EAAsBD,EAAO,MAAOA,EAAO,KAAK,IAAI,EAEzE,KAAMA,EAAO,KAAK,KAClB,UAAU,uGAET,SAAA,CAAAA,EAAO,KAAK,MAAQR,EAACC,EAAA,CAAK,KAAMO,EAAO,KAAK,KAAM,UAAU,QAAA,CAAS,EACrEA,EAAO,KAAA,CAAA,EALHA,EAAO,KAAA,CAOf,EACDR,EAAC,MAAA,CAAI,UAAU,iDAAA,CAAkD,EACjEA,EAAC,IAAA,CACC,cAAe,IAAMS,EAAsBd,EAAO,OAAOA,CAAK,EAAE,EAChE,KAAM,OAAOA,CAAK,GAClB,UAAU,uGAET,SAAAA,CAAA,CAAA,CACH,EACF,EACAK,EAACU,EAAA,CAAa,WAAYd,EAAM,QAAQ,QAAA,CAAU,CAAA,EACpD,CAEJ"}
1
+ {"version":3,"file":"CategoriesDesktop.js","sources":["../../../../../../lib/widgets/seoHeader/ui/desktop/CategoriesDesktop.tsx"],"sourcesContent":["import { pushToDlLink } from '../../../../shared/dataLayers'\nimport { currentCategoryAction, rootCategoryAction, useCategoryReducer } from '../../hooks'\nimport { type Category, type SeoHeaderHelpers } from '../../model'\nimport { CategoryTabs } from './CategoryTabs'\nimport { RootTab } from './rootTab'\nimport { Icon } from '$/shared/ui'\n\ntype DesktopCategoriesProps = {\n categories: Category[]\n helpers: SeoHeaderHelpers[]\n phone: string\n}\n\nexport const CategoriesDesktop = ({ categories, helpers, phone }: DesktopCategoriesProps) => {\n const [store, dispatch] = useCategoryReducer({ root: categories[0].children[0], current: categories[0].children[0] })\n\n return (\n <div className='mobile:hidden'>\n <div className='flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)] py-4'>\n <Icon name='brandLogos/logoMain' className='mr-auto w-[130px]' />\n {categories.map((category) => {\n const active = store.root.title === category.title\n\n return (\n <RootTab\n key={category.title}\n category={category}\n selectedCategory={store.current}\n onCurrentCategoryChange={(cat) => dispatch(currentCategoryAction(cat))}\n onRootCategoryChange={(cat) => dispatch(rootCategoryAction(cat))}\n active={active}\n />\n )\n })}\n <div className='h-3.5 w-[1px] rounded-sm bg-color-blue-grey-500' />\n {helpers.map((helper) => (\n <a\n onPointerDown={() => pushToDlLink(helper?.title, helper?.link?.href, 'seoHeader')}\n key={helper.title}\n href={helper.link.href}\n className='desk-body-regular-m flex items-center gap-x-1 text-color-tetriary duration-100 hover:text-color-dark'\n >\n {helper.link.icon && <Icon name={helper.link.icon} className='size-4' />}\n {helper.title}\n </a>\n ))}\n <div className='h-3.5 w-[1px] rounded-sm bg-color-blue-grey-500' />\n <a\n onPointerDown={() => pushToDlLink(phone, `tel:${phone}`, 'seoHeader')}\n href={`tel:${phone}`}\n className='desk-body-regular-m flex items-center gap-x-1 text-color-tetriary duration-100 hover:text-color-dark'\n >\n {phone}\n </a>\n </div>\n <CategoryTabs categories={store.current.children} />\n </div>\n )\n}\n"],"names":["CategoriesDesktop","categories","helpers","phone","store","dispatch","useCategoryReducer","jsxs","jsx","Icon","category","active","RootTab","cat","currentCategoryAction","rootCategoryAction","helper","pushToDlLink","CategoryTabs"],"mappings":"sdAaO,MAAMA,EAAoB,CAAC,CAAE,WAAAC,EAAY,QAAAC,EAAS,MAAAC,KAAoC,CAC3F,KAAM,CAACC,EAAOC,CAAQ,EAAIC,EAAmB,CAAE,KAAML,EAAW,CAAC,EAAE,SAAS,CAAC,EAAG,QAASA,EAAW,CAAC,EAAE,SAAS,CAAC,EAAG,EAEpH,OACEM,EAAC,MAAA,CAAI,UAAU,gBACb,SAAA,CAAAA,EAAC,MAAA,CAAI,UAAU,8FACb,SAAA,CAAAC,EAACC,EAAA,CAAK,KAAK,sBAAsB,UAAU,oBAAoB,EAC9DR,EAAW,IAAKS,GAAa,CAC5B,MAAMC,EAASP,EAAM,KAAK,QAAUM,EAAS,MAE7C,OACEF,EAACI,EAAA,CAEC,SAAAF,EACA,iBAAkBN,EAAM,QACxB,wBAA0BS,GAAQR,EAASS,EAAsBD,CAAG,CAAC,EACrE,qBAAuBA,GAAQR,EAASU,EAAmBF,CAAG,CAAC,EAC/D,OAAAF,CAAA,EALKD,EAAS,KAAA,CAQpB,CAAC,EACDF,EAAC,MAAA,CAAI,UAAU,iDAAA,CAAkD,EAChEN,EAAQ,IAAKc,GACZT,EAAC,IAAA,CACC,cAAe,IAAMU,EAAaD,GAAQ,MAAOA,GAAQ,MAAM,KAAM,WAAW,EAEhF,KAAMA,EAAO,KAAK,KAClB,UAAU,uGAET,SAAA,CAAAA,EAAO,KAAK,MAAQR,EAACC,EAAA,CAAK,KAAMO,EAAO,KAAK,KAAM,UAAU,QAAA,CAAS,EACrEA,EAAO,KAAA,CAAA,EALHA,EAAO,KAAA,CAOf,EACDR,EAAC,MAAA,CAAI,UAAU,iDAAA,CAAkD,EACjEA,EAAC,IAAA,CACC,cAAe,IAAMS,EAAad,EAAO,OAAOA,CAAK,GAAI,WAAW,EACpE,KAAM,OAAOA,CAAK,GAClB,UAAU,uGAET,SAAAA,CAAA,CAAA,CACH,EACF,EACAK,EAACU,EAAA,CAAa,WAAYd,EAAM,QAAQ,QAAA,CAAU,CAAA,EACpD,CAEJ"}
@@ -1,2 +1,2 @@
1
- import{jsx as r,jsxs as i}from"react/jsx-runtime";import{memo as s,useState as m,useCallback as c,useRef as u}from"react";import{AnimatePresence as b}from"framer-motion";import{Tab as d}from"./tab/Tab.js";import{CustomLink as f}from"../../../../shared/ui/customLink/CustomLink.js";import{pushToDlLinkSeoHeader as p}from"../../model/dataLayers.js";const h=({categories:o})=>{const[n,a]=m(null),l=c(e=>{a(e)},[]),t=u(null);return r(b,{mode:"sync",children:i("div",{ref:t,id:"tabs",className:"relative flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)]",children:[o.map(e=>r(d,{ref:t,category:e,active:n===e.title,onActiveTabChange:l},e.title)),r(f,{icon:"general/loginFilled",onPointerDown:()=>p("Войти","https://halvacard.ru/lk2/"),href:"https://halvacard.ru/lk2/",target:"_blank",classes:{link:"ml-auto cursor-pointer desk-body-regular-m gap-2 hover:no-underline"},rel:"noreferrer",children:"Войти"})]})})},j=s(h);export{j as CategoryTabs};
1
+ import{jsx as r,jsxs as i}from"react/jsx-runtime";import{memo as s,useState as m,useCallback as c,useRef as u}from"react";import{AnimatePresence as b}from"framer-motion";import{Tab as d}from"./tab/Tab.js";import{CustomLink as f}from"../../../../shared/ui/customLink/CustomLink.js";import{pushToDlLink as p}from"../../../../shared/dataLayers/utils.js";const h=({categories:o})=>{const[n,a]=m(null),l=c(e=>{a(e)},[]),t=u(null);return r(b,{mode:"sync",children:i("div",{ref:t,id:"tabs",className:"relative flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)]",children:[o.map(e=>r(d,{ref:t,category:e,active:n===e.title,onActiveTabChange:l},e.title)),r(f,{icon:"general/loginFilled",onPointerDown:()=>p("Войти","https://halvacard.ru/lk2/","seoHeader"),href:"https://halvacard.ru/lk2/",target:"_blank",classes:{link:"ml-auto cursor-pointer desk-body-regular-m gap-2 hover:no-underline"},rel:"noreferrer",children:"Войти"})]})})},j=s(h);export{j as CategoryTabs};
2
2
  //# sourceMappingURL=CategoryTabs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CategoryTabs.js","sources":["../../../../../../lib/widgets/seoHeader/ui/desktop/CategoryTabs.tsx"],"sourcesContent":["import { memo, useCallback, useRef, useState } from 'react'\nimport { AnimatePresence } from 'framer-motion'\nimport { CustomLink } from '../../../../shared/ui'\nimport { type Category, pushToDlLinkSeoHeader } from '../../model'\nimport { Tab } from './tab'\n\ntype CategoryTabsProps = {\n categories: Category[]\n}\n\nconst InnerComponent = ({ categories }: CategoryTabsProps) => {\n const [activeTab, setActiveTab] = useState<string | null>(null)\n\n const onActiveTabChange = useCallback((active: string | null) => {\n setActiveTab(active)\n }, [])\n\n const triggerRef = useRef<HTMLDivElement>(null)\n\n return (\n <AnimatePresence mode='sync'>\n <div\n ref={triggerRef}\n id='tabs'\n className='relative flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)]'\n >\n {categories.map((category) => (\n <Tab\n key={category.title}\n ref={triggerRef}\n category={category}\n active={activeTab === category.title}\n onActiveTabChange={onActiveTabChange}\n />\n ))}\n <CustomLink\n icon='general/loginFilled'\n onPointerDown={() => pushToDlLinkSeoHeader('Войти', 'https://halvacard.ru/lk2/')}\n href='https://halvacard.ru/lk2/'\n target='_blank'\n classes={{\n link: 'ml-auto cursor-pointer desk-body-regular-m gap-2 hover:no-underline'\n }}\n rel='noreferrer'\n >\n Войти\n </CustomLink>\n </div>\n </AnimatePresence>\n )\n}\n\nexport const CategoryTabs = memo(InnerComponent) as typeof InnerComponent\n"],"names":["InnerComponent","categories","activeTab","setActiveTab","useState","onActiveTabChange","useCallback","active","triggerRef","useRef","jsx","AnimatePresence","jsxs","category","Tab","CustomLink","pushToDlLinkSeoHeader","CategoryTabs","memo"],"mappings":"2VAUA,MAAMA,EAAiB,CAAC,CAAE,WAAAC,KAAoC,CAC5D,KAAM,CAACC,EAAWC,CAAY,EAAIC,EAAwB,IAAI,EAExDC,EAAoBC,EAAaC,GAA0B,CAC/DJ,EAAaI,CAAM,CACrB,EAAG,CAAA,CAAE,EAECC,EAAaC,EAAuB,IAAI,EAE9C,OACEC,EAACC,EAAA,CAAgB,KAAK,OACpB,SAAAC,EAAC,MAAA,CACC,IAAKJ,EACL,GAAG,OACH,UAAU,kGAET,SAAA,CAAAP,EAAW,IAAKY,GACfH,EAACI,EAAA,CAEC,IAAKN,EACL,SAAAK,EACA,OAAQX,IAAcW,EAAS,MAC/B,kBAAAR,CAAA,EAJKQ,EAAS,KAAA,CAMjB,EACDH,EAACK,EAAA,CACC,KAAK,sBACL,cAAe,IAAMC,EAAsB,QAAS,2BAA2B,EAC/E,KAAK,4BACL,OAAO,SACP,QAAS,CACP,KAAM,qEAAA,EAER,IAAI,aACL,SAAA,OAAA,CAAA,CAED,CAAA,CAAA,EAEJ,CAEJ,EAEaC,EAAeC,EAAKlB,CAAc"}
1
+ {"version":3,"file":"CategoryTabs.js","sources":["../../../../../../lib/widgets/seoHeader/ui/desktop/CategoryTabs.tsx"],"sourcesContent":["import { memo, useCallback, useRef, useState } from 'react'\nimport { AnimatePresence } from 'framer-motion'\nimport { pushToDlLink } from '../../../../shared/dataLayers'\nimport { CustomLink } from '../../../../shared/ui'\nimport { type Category } from '../../model'\nimport { Tab } from './tab'\n\ntype CategoryTabsProps = {\n categories: Category[]\n}\n\nconst InnerComponent = ({ categories }: CategoryTabsProps) => {\n const [activeTab, setActiveTab] = useState<string | null>(null)\n\n const onActiveTabChange = useCallback((active: string | null) => {\n setActiveTab(active)\n }, [])\n\n const triggerRef = useRef<HTMLDivElement>(null)\n\n return (\n <AnimatePresence mode='sync'>\n <div\n ref={triggerRef}\n id='tabs'\n className='relative flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)]'\n >\n {categories.map((category) => (\n <Tab\n key={category.title}\n ref={triggerRef}\n category={category}\n active={activeTab === category.title}\n onActiveTabChange={onActiveTabChange}\n />\n ))}\n <CustomLink\n icon='general/loginFilled'\n onPointerDown={() => pushToDlLink('Войти', 'https://halvacard.ru/lk2/', 'seoHeader')}\n href='https://halvacard.ru/lk2/'\n target='_blank'\n classes={{\n link: 'ml-auto cursor-pointer desk-body-regular-m gap-2 hover:no-underline'\n }}\n rel='noreferrer'\n >\n Войти\n </CustomLink>\n </div>\n </AnimatePresence>\n )\n}\n\nexport const CategoryTabs = memo(InnerComponent) as typeof InnerComponent\n"],"names":["InnerComponent","categories","activeTab","setActiveTab","useState","onActiveTabChange","useCallback","active","triggerRef","useRef","jsx","AnimatePresence","jsxs","category","Tab","CustomLink","pushToDlLink","CategoryTabs","memo"],"mappings":"+VAWA,MAAMA,EAAiB,CAAC,CAAE,WAAAC,KAAoC,CAC5D,KAAM,CAACC,EAAWC,CAAY,EAAIC,EAAwB,IAAI,EAExDC,EAAoBC,EAAaC,GAA0B,CAC/DJ,EAAaI,CAAM,CACrB,EAAG,CAAA,CAAE,EAECC,EAAaC,EAAuB,IAAI,EAE9C,OACEC,EAACC,EAAA,CAAgB,KAAK,OACpB,SAAAC,EAAC,MAAA,CACC,IAAKJ,EACL,GAAG,OACH,UAAU,kGAET,SAAA,CAAAP,EAAW,IAAKY,GACfH,EAACI,EAAA,CAEC,IAAKN,EACL,SAAAK,EACA,OAAQX,IAAcW,EAAS,MAC/B,kBAAAR,CAAA,EAJKQ,EAAS,KAAA,CAMjB,EACDH,EAACK,EAAA,CACC,KAAK,sBACL,cAAe,IAAMC,EAAa,QAAS,4BAA6B,WAAW,EACnF,KAAK,4BACL,OAAO,SACP,QAAS,CACP,KAAM,qEAAA,EAER,IAAI,aACL,SAAA,OAAA,CAAA,CAED,CAAA,CAAA,EAEJ,CAEJ,EAEaC,EAAeC,EAAKlB,CAAc"}
@@ -1,2 +1,2 @@
1
- import{jsxs as n,jsx as e}from"react/jsx-runtime";import{cn as t}from"../../../../../shared/utils/cn.js";import{pushToDlLinkSeoHeader as c}from"../../../model/dataLayers.js";const h=({category:r,selectedCategory:s,onCurrentCategoryChange:l,onRootCategoryChange:i,active:d,...p})=>n("div",{...p,onClick:()=>{l(r.children[0]),i(r)},className:t("group/category relative cursor-default text-color-tetriary duration-100 hover:text-color-dark",{"text-color-dark":d}),children:[e("span",{className:"desk-body-regular-m",children:r.title}),r.children.length>1&&e("div",{className:t("absolute right-0 top-full z-10 flex w-max flex-col","invisible bg-color-white opacity-0 shadow-sm group-hover/category:visible group-hover/category:opacity-100","rounded-sm p-1"),children:r.children.map(o=>e("span",{onPointerDown:()=>c(o.title,""),onClick:a=>{a.stopPropagation(),a.nativeEvent.stopPropagation(),i(r),l(o)},className:t("desk-body-regular-l rounded-sm px-3 py-3.5 text-color-dark duration-100 hover:bg-color-primary-tr-hover hover:text-color-dark",{"text-color-primary-default":s.title===o.title}),children:o.title},o.title))})]});export{h as RootTab};
1
+ import{jsxs as n,jsx as e}from"react/jsx-runtime";import{cn as t}from"../../../../../shared/utils/cn.js";import{pushToDlLink as c}from"../../../../../shared/dataLayers/utils.js";const h=({category:r,selectedCategory:s,onCurrentCategoryChange:l,onRootCategoryChange:i,active:d,...p})=>n("div",{...p,onClick:()=>{l(r.children[0]),i(r)},className:t("group/category relative cursor-default text-color-tetriary duration-100 hover:text-color-dark",{"text-color-dark":d}),children:[e("span",{className:"desk-body-regular-m",children:r.title}),r.children.length>1&&e("div",{className:t("absolute right-0 top-full z-10 flex w-max flex-col","invisible bg-color-white opacity-0 shadow-sm group-hover/category:visible group-hover/category:opacity-100","rounded-sm p-1"),children:r.children.map(o=>e("span",{onPointerDown:()=>c(o?.title,"","seoHeader"),onClick:a=>{a.stopPropagation(),a.nativeEvent.stopPropagation(),i(r),l(o)},className:t("desk-body-regular-l rounded-sm px-3 py-3.5 text-color-dark duration-100 hover:bg-color-primary-tr-hover hover:text-color-dark",{"text-color-primary-default":s?.title===o?.title}),children:o.title},o.title))})]});export{h as RootTab};
2
2
  //# sourceMappingURL=RootTab.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RootTab.js","sources":["../../../../../../../lib/widgets/seoHeader/ui/desktop/rootTab/RootTab.tsx"],"sourcesContent":["import { type Category, pushToDlLinkSeoHeader } from '../../../model'\nimport { cn } from '$/shared/utils'\n\ntype RootTabProps = React.HTMLAttributes<HTMLDivElement> & {\n category: Category\n selectedCategory: Category\n onCurrentCategoryChange: (category: Category) => void\n onRootCategoryChange: (category: Category) => void\n active: boolean\n}\n\nexport const RootTab = ({\n category,\n selectedCategory,\n onCurrentCategoryChange,\n onRootCategoryChange,\n active,\n ...props\n}: RootTabProps) => {\n return (\n <div\n {...props}\n onClick={() => {\n onCurrentCategoryChange(category.children[0])\n onRootCategoryChange(category)\n }}\n className={cn('group/category relative cursor-default text-color-tetriary duration-100 hover:text-color-dark', {\n 'text-color-dark': active\n })}\n >\n <span className='desk-body-regular-m'>{category.title}</span>\n {category.children.length > 1 && (\n <div\n className={cn(\n 'absolute right-0 top-full z-10 flex w-max flex-col',\n 'invisible bg-color-white opacity-0 shadow-sm group-hover/category:visible group-hover/category:opacity-100',\n 'rounded-sm p-1'\n )}\n >\n {category.children.map((child) => (\n <span\n onPointerDown={() => pushToDlLinkSeoHeader(child.title, '')}\n onClick={(event) => {\n event.stopPropagation()\n event.nativeEvent.stopPropagation()\n\n onRootCategoryChange(category)\n onCurrentCategoryChange(child)\n }}\n key={child.title}\n className={cn(\n 'desk-body-regular-l rounded-sm px-3 py-3.5 text-color-dark duration-100 hover:bg-color-primary-tr-hover hover:text-color-dark',\n {\n 'text-color-primary-default': selectedCategory.title === child.title\n }\n )}\n >\n {child.title}\n </span>\n ))}\n </div>\n )}\n </div>\n )\n}\n"],"names":["RootTab","category","selectedCategory","onCurrentCategoryChange","onRootCategoryChange","active","props","jsxs","cn","jsx","child","pushToDlLinkSeoHeader","event"],"mappings":"8KAWO,MAAMA,EAAU,CAAC,CACtB,SAAAC,EACA,iBAAAC,EACA,wBAAAC,EACA,qBAAAC,EACA,OAAAC,EACA,GAAGC,CACL,IAEIC,EAAC,MAAA,CACE,GAAGD,EACJ,QAAS,IAAM,CACbH,EAAwBF,EAAS,SAAS,CAAC,CAAC,EAC5CG,EAAqBH,CAAQ,CAC/B,EACA,UAAWO,EAAG,gGAAiG,CAC7G,kBAAmBH,CAAA,CACpB,EAED,SAAA,CAAAI,EAAC,OAAA,CAAK,UAAU,sBAAuB,SAAAR,EAAS,MAAM,EACrDA,EAAS,SAAS,OAAS,GAC1BQ,EAAC,MAAA,CACC,UAAWD,EACT,qDACA,6GACA,gBAAA,EAGD,SAAAP,EAAS,SAAS,IAAKS,GACtBD,EAAC,OAAA,CACC,cAAe,IAAME,EAAsBD,EAAM,MAAO,EAAE,EAC1D,QAAUE,GAAU,CAClBA,EAAM,gBAAA,EACNA,EAAM,YAAY,gBAAA,EAElBR,EAAqBH,CAAQ,EAC7BE,EAAwBO,CAAK,CAC/B,EAEA,UAAWF,EACT,gIACA,CACE,6BAA8BN,EAAiB,QAAUQ,EAAM,KAAA,CACjE,EAGD,SAAAA,EAAM,KAAA,EARFA,EAAM,KAAA,CAUd,CAAA,CAAA,CACH,CAAA,CAAA"}
1
+ {"version":3,"file":"RootTab.js","sources":["../../../../../../../lib/widgets/seoHeader/ui/desktop/rootTab/RootTab.tsx"],"sourcesContent":["import { pushToDlLink } from '../../../../../shared/dataLayers'\nimport { type Category } from '../../../model'\nimport { cn } from '$/shared/utils'\n\ntype RootTabProps = React.HTMLAttributes<HTMLDivElement> & {\n category: Category\n selectedCategory: Category\n onCurrentCategoryChange: (category: Category) => void\n onRootCategoryChange: (category: Category) => void\n active: boolean\n}\n\nexport const RootTab = ({\n category,\n selectedCategory,\n onCurrentCategoryChange,\n onRootCategoryChange,\n active,\n ...props\n}: RootTabProps) => {\n return (\n <div\n {...props}\n onClick={() => {\n onCurrentCategoryChange(category.children[0])\n onRootCategoryChange(category)\n }}\n className={cn('group/category relative cursor-default text-color-tetriary duration-100 hover:text-color-dark', {\n 'text-color-dark': active\n })}\n >\n <span className='desk-body-regular-m'>{category.title}</span>\n {category.children.length > 1 && (\n <div\n className={cn(\n 'absolute right-0 top-full z-10 flex w-max flex-col',\n 'invisible bg-color-white opacity-0 shadow-sm group-hover/category:visible group-hover/category:opacity-100',\n 'rounded-sm p-1'\n )}\n >\n {category.children.map((child) => (\n <span\n onPointerDown={() => pushToDlLink(child?.title, '', 'seoHeader')}\n onClick={(event) => {\n event.stopPropagation()\n event.nativeEvent.stopPropagation()\n\n onRootCategoryChange(category)\n onCurrentCategoryChange(child)\n }}\n key={child.title}\n className={cn(\n 'desk-body-regular-l rounded-sm px-3 py-3.5 text-color-dark duration-100 hover:bg-color-primary-tr-hover hover:text-color-dark',\n {\n 'text-color-primary-default': selectedCategory?.title === child?.title\n }\n )}\n >\n {child.title}\n </span>\n ))}\n </div>\n )}\n </div>\n )\n}\n"],"names":["RootTab","category","selectedCategory","onCurrentCategoryChange","onRootCategoryChange","active","props","jsxs","cn","jsx","child","pushToDlLink","event"],"mappings":"kLAYO,MAAMA,EAAU,CAAC,CACtB,SAAAC,EACA,iBAAAC,EACA,wBAAAC,EACA,qBAAAC,EACA,OAAAC,EACA,GAAGC,CACL,IAEIC,EAAC,MAAA,CACE,GAAGD,EACJ,QAAS,IAAM,CACbH,EAAwBF,EAAS,SAAS,CAAC,CAAC,EAC5CG,EAAqBH,CAAQ,CAC/B,EACA,UAAWO,EAAG,gGAAiG,CAC7G,kBAAmBH,CAAA,CACpB,EAED,SAAA,CAAAI,EAAC,OAAA,CAAK,UAAU,sBAAuB,SAAAR,EAAS,MAAM,EACrDA,EAAS,SAAS,OAAS,GAC1BQ,EAAC,MAAA,CACC,UAAWD,EACT,qDACA,6GACA,gBAAA,EAGD,SAAAP,EAAS,SAAS,IAAKS,GACtBD,EAAC,OAAA,CACC,cAAe,IAAME,EAAaD,GAAO,MAAO,GAAI,WAAW,EAC/D,QAAUE,GAAU,CAClBA,EAAM,gBAAA,EACNA,EAAM,YAAY,gBAAA,EAElBR,EAAqBH,CAAQ,EAC7BE,EAAwBO,CAAK,CAC/B,EAEA,UAAWF,EACT,gIACA,CACE,6BAA8BN,GAAkB,QAAUQ,GAAO,KAAA,CACnE,EAGD,SAAAA,EAAM,KAAA,EARFA,EAAM,KAAA,CAUd,CAAA,CAAA,CACH,CAAA,CAAA"}
@@ -1,2 +1,2 @@
1
- import{jsxs as m,jsx as l}from"react/jsx-runtime";import{memo as a,forwardRef as u}from"react";import{motion as p}from"framer-motion";import{TypeGuards as f}from"../../../../../shared/utils/typeGuards.js";import{cn as d}from"../../../../../shared/utils/cn.js";import{TabContent as c}from"./ui/content/TabContent.js";import{pushToDlLinkSeoHeader as h}from"../../../model/dataLayers.js";const x=u(({category:t,active:s,onActiveTabChange:r},e)=>{const o=(e&&"current"in e?e:null)?.current?.getBoundingClientRect(),n=s&&!f.isArrayEmpty(t.children),i=t.link?f.isStringEmpty(t.link.href)?"span":"a":"span";return m(p.div,{ref:e,className:d("relative flex cursor-default items-center justify-center py-4 text-color-dark after:z-30",'after:content="" after:absolute after:bottom-0 after:left-1/2 after:h-[1px]',"after:w-0 after:-translate-x-1/2 after:bg-color-primary-default after:duration-100",{"text-color-primary-default":n,"after:w-full":n}),onMouseEnter:()=>r(t.title),onMouseLeave:()=>r(null),onFocus:()=>r(t.title),children:[l(i,{onPointerDown:()=>h(t.title,t.link?.href),href:i==="a"?t.link?.href:void 0,className:"desk-body-regular-m outline-none",children:t.title}),n&&l(c,{categories:t.children,style:{top:o?o.top+o.height:0}})]})}),B=a(x);export{B as Tab};
1
+ import{jsxs as m,jsx as l}from"react/jsx-runtime";import{memo as a,forwardRef as u}from"react";import{motion as p}from"framer-motion";import{TypeGuards as s}from"../../../../../shared/utils/typeGuards.js";import{cn as d}from"../../../../../shared/utils/cn.js";import{TabContent as c}from"./ui/content/TabContent.js";import{pushToDlLink as h}from"../../../../../shared/dataLayers/utils.js";const x=u(({category:t,active:f,onActiveTabChange:r},e)=>{const o=(e&&"current"in e?e:null)?.current?.getBoundingClientRect(),n=f&&!s.isArrayEmpty(t.children),i=t.link?s.isStringEmpty(t?.link?.href)?"span":"a":"span";return m(p.div,{ref:e,className:d("relative flex cursor-default items-center justify-center py-4 text-color-dark after:z-30",'after:content="" after:absolute after:bottom-0 after:left-1/2 after:h-[1px]',"after:w-0 after:-translate-x-1/2 after:bg-color-primary-default after:duration-100",{"text-color-primary-default":n,"after:w-full":n}),onMouseEnter:()=>r(t.title),onMouseLeave:()=>r(null),onFocus:()=>r(t.title),children:[l(i,{onPointerDown:()=>h(t?.title,t?.link?.href,"seoHeader"),href:i==="a"?t.link?.href:void 0,className:"desk-body-regular-m outline-none",children:t.title}),n&&l(c,{categories:t.children,style:{top:o?o.top+o.height:0}})]})}),C=a(x);export{C as Tab};
2
2
  //# sourceMappingURL=Tab.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tab.js","sources":["../../../../../../../lib/widgets/seoHeader/ui/desktop/tab/Tab.tsx"],"sourcesContent":["import { forwardRef, memo } from 'react'\nimport { motion } from 'framer-motion'\nimport { type Category, pushToDlLinkSeoHeader } from '../../../model'\nimport { TabContent } from './ui'\nimport { cn, TypeGuards } from '$/shared/utils'\n\ntype TabProps = {\n category: Category\n active: boolean\n onActiveTabChange: (active: string | null) => void\n}\n\nconst InnerComponent = forwardRef<HTMLDivElement, TabProps>(({ category, active, onActiveTabChange }, ref) => {\n const rootRef = ref && 'current' in ref ? ref : null\n const triggerClientRect = rootRef?.current?.getBoundingClientRect()\n\n const contentShouldRender = active && !TypeGuards.isArrayEmpty(category.children)\n\n const Button = !category.link ? 'span' : TypeGuards.isStringEmpty(category.link.href) ? 'span' : 'a'\n\n return (\n <motion.div\n ref={ref}\n className={cn(\n 'relative flex cursor-default items-center justify-center py-4 text-color-dark after:z-30',\n 'after:content=\"\" after:absolute after:bottom-0 after:left-1/2 after:h-[1px]',\n 'after:w-0 after:-translate-x-1/2 after:bg-color-primary-default after:duration-100',\n {\n 'text-color-primary-default': contentShouldRender,\n 'after:w-full': contentShouldRender\n }\n )}\n onMouseEnter={() => onActiveTabChange(category.title!)}\n onMouseLeave={() => onActiveTabChange(null)}\n onFocus={() => onActiveTabChange(category.title!)}\n >\n <Button\n onPointerDown={() => pushToDlLinkSeoHeader(category.title, category.link?.href)}\n href={Button === 'a' ? category.link?.href : undefined}\n className='desk-body-regular-m outline-none'\n >\n {category.title}\n </Button>\n {contentShouldRender && (\n <TabContent\n categories={category.children}\n style={{\n top: triggerClientRect ? triggerClientRect.top + triggerClientRect.height : 0\n }}\n />\n )}\n </motion.div>\n )\n})\n\nexport const Tab = memo(InnerComponent) as typeof InnerComponent\n"],"names":["InnerComponent","forwardRef","category","active","onActiveTabChange","ref","triggerClientRect","contentShouldRender","TypeGuards","Button","jsxs","motion","cn","jsx","pushToDlLinkSeoHeader","TabContent","Tab","memo"],"mappings":"iYAYA,MAAMA,EAAiBC,EAAqC,CAAC,CAAE,SAAAC,EAAU,OAAAC,EAAQ,kBAAAC,CAAA,EAAqBC,IAAQ,CAE5G,MAAMC,GADUD,GAAO,YAAaA,EAAMA,EAAM,OACb,SAAS,sBAAA,EAEtCE,EAAsBJ,GAAU,CAACK,EAAW,aAAaN,EAAS,QAAQ,EAE1EO,EAAUP,EAAS,KAAgBM,EAAW,cAAcN,EAAS,KAAK,IAAI,EAAI,OAAS,IAAjE,OAEhC,OACEQ,EAACC,EAAO,IAAP,CACC,IAAAN,EACA,UAAWO,EACT,2FACA,8EACA,qFACA,CACE,6BAA8BL,EAC9B,eAAgBA,CAAA,CAClB,EAEF,aAAc,IAAMH,EAAkBF,EAAS,KAAM,EACrD,aAAc,IAAME,EAAkB,IAAI,EAC1C,QAAS,IAAMA,EAAkBF,EAAS,KAAM,EAEhD,SAAA,CAAAW,EAACJ,EAAA,CACC,cAAe,IAAMK,EAAsBZ,EAAS,MAAOA,EAAS,MAAM,IAAI,EAC9E,KAAMO,IAAW,IAAMP,EAAS,MAAM,KAAO,OAC7C,UAAU,mCAET,SAAAA,EAAS,KAAA,CAAA,EAEXK,GACCM,EAACE,EAAA,CACC,WAAYb,EAAS,SACrB,MAAO,CACL,IAAKI,EAAoBA,EAAkB,IAAMA,EAAkB,OAAS,CAAA,CAC9E,CAAA,CACF,CAAA,CAAA,CAIR,CAAC,EAEYU,EAAMC,EAAKjB,CAAc"}
1
+ {"version":3,"file":"Tab.js","sources":["../../../../../../../lib/widgets/seoHeader/ui/desktop/tab/Tab.tsx"],"sourcesContent":["import { forwardRef, memo } from 'react'\nimport { motion } from 'framer-motion'\nimport { pushToDlLink } from '../../../../../shared/dataLayers'\nimport { type Category } from '../../../model'\nimport { TabContent } from './ui'\nimport { cn, TypeGuards } from '$/shared/utils'\n\ntype TabProps = {\n category: Category\n active: boolean\n onActiveTabChange: (active: string | null) => void\n}\n\nconst InnerComponent = forwardRef<HTMLDivElement, TabProps>(({ category, active, onActiveTabChange }, ref) => {\n const rootRef = ref && 'current' in ref ? ref : null\n const triggerClientRect = rootRef?.current?.getBoundingClientRect()\n\n const contentShouldRender = active && !TypeGuards.isArrayEmpty(category.children)\n\n const Button = !category.link ? 'span' : TypeGuards.isStringEmpty(category?.link?.href) ? 'span' : 'a'\n\n return (\n <motion.div\n ref={ref}\n className={cn(\n 'relative flex cursor-default items-center justify-center py-4 text-color-dark after:z-30',\n 'after:content=\"\" after:absolute after:bottom-0 after:left-1/2 after:h-[1px]',\n 'after:w-0 after:-translate-x-1/2 after:bg-color-primary-default after:duration-100',\n {\n 'text-color-primary-default': contentShouldRender,\n 'after:w-full': contentShouldRender\n }\n )}\n onMouseEnter={() => onActiveTabChange(category.title!)}\n onMouseLeave={() => onActiveTabChange(null)}\n onFocus={() => onActiveTabChange(category.title!)}\n >\n <Button\n onPointerDown={() => pushToDlLink(category?.title, category?.link?.href, 'seoHeader')}\n href={Button === 'a' ? category.link?.href : undefined}\n className='desk-body-regular-m outline-none'\n >\n {category.title}\n </Button>\n {contentShouldRender && (\n <TabContent\n categories={category.children}\n style={{\n top: triggerClientRect ? triggerClientRect.top + triggerClientRect.height : 0\n }}\n />\n )}\n </motion.div>\n )\n})\n\nexport const Tab = memo(InnerComponent) as typeof InnerComponent\n"],"names":["InnerComponent","forwardRef","category","active","onActiveTabChange","ref","triggerClientRect","contentShouldRender","TypeGuards","Button","jsxs","motion","cn","jsx","pushToDlLink","TabContent","Tab","memo"],"mappings":"qYAaA,MAAMA,EAAiBC,EAAqC,CAAC,CAAE,SAAAC,EAAU,OAAAC,EAAQ,kBAAAC,CAAA,EAAqBC,IAAQ,CAE5G,MAAMC,GADUD,GAAO,YAAaA,EAAMA,EAAM,OACb,SAAS,sBAAA,EAEtCE,EAAsBJ,GAAU,CAACK,EAAW,aAAaN,EAAS,QAAQ,EAE1EO,EAAUP,EAAS,KAAgBM,EAAW,cAAcN,GAAU,MAAM,IAAI,EAAI,OAAS,IAAnE,OAEhC,OACEQ,EAACC,EAAO,IAAP,CACC,IAAAN,EACA,UAAWO,EACT,2FACA,8EACA,qFACA,CACE,6BAA8BL,EAC9B,eAAgBA,CAAA,CAClB,EAEF,aAAc,IAAMH,EAAkBF,EAAS,KAAM,EACrD,aAAc,IAAME,EAAkB,IAAI,EAC1C,QAAS,IAAMA,EAAkBF,EAAS,KAAM,EAEhD,SAAA,CAAAW,EAACJ,EAAA,CACC,cAAe,IAAMK,EAAaZ,GAAU,MAAOA,GAAU,MAAM,KAAM,WAAW,EACpF,KAAMO,IAAW,IAAMP,EAAS,MAAM,KAAO,OAC7C,UAAU,mCAET,SAAAA,EAAS,KAAA,CAAA,EAEXK,GACCM,EAACE,EAAA,CACC,WAAYb,EAAS,SACrB,MAAO,CACL,IAAKI,EAAoBA,EAAkB,IAAMA,EAAkB,OAAS,CAAA,CAC9E,CAAA,CACF,CAAA,CAAA,CAIR,CAAC,EAEYU,EAAMC,EAAKjB,CAAc"}
@@ -1,2 +1,2 @@
1
- import{jsx as r,jsxs as l}from"react/jsx-runtime";import{createPortal as m}from"react-dom";import{motion as f}from"framer-motion";import{cn as s}from"../../../../../../../shared/utils/cn.js";import{pushToDlLinkSeoHeader as a}from"../../../../../model/dataLayers.js";import{Icon as p}from"../../../../../../../shared/ui/icon/Icon.js";const b=({categories:o,...i})=>m(r(f.div,{...i,layout:!0,initial:{opacity:0},animate:{opacity:1},transition:{duration:.2},className:s("absolute z-20 w-full bg-color-white",'after:absolute after:left-1/2 after:top-[-1px] after:h-[1px] after:w-full after:max-w-[636px] after:-translate-x-1/2 after:bg-color-blue-grey-200 after:content-[""] after:desktop:max-w-[1140px]'),children:r("div",{className:"mx-auto flex w-full max-w-[1140px] gap-x-[56px] py-10",children:o.map(e=>{const n=e.link?"a":"p";return l("div",{className:"flex flex-col gap-y-6",children:[e.title&&l(n,{onPointerDown:()=>a(e.title,e.link?.href),href:e.link?.href??void 0,className:"flex items-center gap-x-1 text-16 uppercase text-color-primary-default",children:[e.title,r(p,{name:"arrows/arrowLink",className:"size-6"})]}),r("ul",{className:"w-[328px]",children:e.children.map(t=>r("li",{className:"w-full [&:not(:last-child)]:mb-4",children:r("a",{href:t.link?.href,onPointerDown:()=>a(t.title,t.link?.href),target:t.link?.target,className:"w-full text-16",children:t.title})},t.title))})]},e.title)})})}),document.body.querySelector("#modal-preview")?.contentDocument?.body??document.body);export{b as TabContent};
1
+ import{jsx as r,jsxs as l}from"react/jsx-runtime";import{createPortal as m}from"react-dom";import{motion as s}from"framer-motion";import{cn as f}from"../../../../../../../shared/utils/cn.js";import{pushToDlLink as a}from"../../../../../../../shared/dataLayers/utils.js";import{Icon as p}from"../../../../../../../shared/ui/icon/Icon.js";const b=({categories:o,...i})=>m(r(s.div,{...i,layout:!0,initial:{opacity:0},animate:{opacity:1},transition:{duration:.2},className:f("absolute z-20 w-full bg-color-white",'after:absolute after:left-1/2 after:top-[-1px] after:h-[1px] after:w-full after:max-w-[636px] after:-translate-x-1/2 after:bg-color-blue-grey-200 after:content-[""] after:desktop:max-w-[1140px]'),children:r("div",{className:"mx-auto flex w-full max-w-[1140px] gap-x-[56px] py-10",children:o.map(e=>{const n=e.link?"a":"p";return l("div",{className:"flex flex-col gap-y-6",children:[e.title&&l(n,{onPointerDown:()=>a(e?.title,e?.link?.href,"seoHeader"),href:e.link?.href??void 0,className:"flex items-center gap-x-1 text-16 uppercase text-color-primary-default",children:[e.title,r(p,{name:"arrows/arrowLink",className:"size-6"})]}),r("ul",{className:"w-[328px]",children:e.children.map(t=>r("li",{className:"w-full [&:not(:last-child)]:mb-4",children:r("a",{href:t.link?.href,onPointerDown:()=>a(t?.title,t?.link?.href,"seoHeader"),target:t.link?.target,className:"w-full text-16",children:t.title})},t.title))})]},e.title)})})}),document.body.querySelector("#modal-preview")?.contentDocument?.body??document.body);export{b as TabContent};
2
2
  //# sourceMappingURL=TabContent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabContent.js","sources":["../../../../../../../../../lib/widgets/seoHeader/ui/desktop/tab/ui/content/TabContent.tsx"],"sourcesContent":["import { createPortal } from 'react-dom'\nimport { motion } from 'framer-motion'\nimport { type Category, pushToDlLinkSeoHeader } from '../../../../../model'\nimport { Icon } from '$/shared/ui'\nimport { cn } from '$/shared/utils'\n\ntype TabContentProps = React.ComponentProps<typeof motion.div> & {\n categories: Category[]\n}\n\nexport const TabContent = ({ categories, ...props }: TabContentProps) => {\n return createPortal(\n <motion.div\n {...props}\n layout\n initial={{ opacity: 0 }}\n animate={{ opacity: 1 }}\n transition={{ duration: 0.2 }}\n className={cn(\n 'absolute z-20 w-full bg-color-white',\n 'after:absolute after:left-1/2 after:top-[-1px] after:h-[1px] after:w-full after:max-w-[636px] after:-translate-x-1/2 after:bg-color-blue-grey-200 after:content-[\"\"] after:desktop:max-w-[1140px]'\n )}\n >\n <div className='mx-auto flex w-full max-w-[1140px] gap-x-[56px] py-10'>\n {categories.map((category) => {\n const CategoryTitle = category.link ? 'a' : 'p'\n\n return (\n <div key={category.title} className='flex flex-col gap-y-6'>\n {category.title && (\n <CategoryTitle\n onPointerDown={() => pushToDlLinkSeoHeader(category.title, category.link?.href)}\n href={category.link?.href ?? undefined}\n className='flex items-center gap-x-1 text-16 uppercase text-color-primary-default'\n >\n {category.title}\n\n <Icon name='arrows/arrowLink' className='size-6' />\n </CategoryTitle>\n )}\n <ul className='w-[328px]'>\n {category.children.map((child) => (\n <li key={child.title} className='w-full [&:not(:last-child)]:mb-4'>\n <a\n href={child.link?.href}\n onPointerDown={() => pushToDlLinkSeoHeader(child.title, child.link?.href)}\n target={child.link?.target}\n className='w-full text-16'\n >\n {child.title}\n </a>\n </li>\n ))}\n </ul>\n </div>\n )\n })}\n </div>\n </motion.div>,\n /**\n * Нужно для preview, чтобы категории рендерились в iframe\n */\n document.body.querySelector<HTMLIFrameElement>('#modal-preview')?.contentDocument?.body ?? document.body\n )\n}\n"],"names":["TabContent","categories","props","createPortal","jsx","motion","cn","category","CategoryTitle","jsxs","pushToDlLinkSeoHeader","Icon","child"],"mappings":"6UAUO,MAAMA,EAAa,CAAC,CAAE,WAAAC,EAAY,GAAGC,KACnCC,EACLC,EAACC,EAAO,IAAP,CACE,GAAGH,EACJ,OAAM,GACN,QAAS,CAAE,QAAS,CAAA,EACpB,QAAS,CAAE,QAAS,CAAA,EACpB,WAAY,CAAE,SAAU,EAAA,EACxB,UAAWI,EACT,sCACA,mMAAA,EAGF,WAAC,MAAA,CAAI,UAAU,wDACZ,SAAAL,EAAW,IAAKM,GAAa,CAC5B,MAAMC,EAAgBD,EAAS,KAAO,IAAM,IAE5C,OACEE,EAAC,MAAA,CAAyB,UAAU,wBACjC,SAAA,CAAAF,EAAS,OACRE,EAACD,EAAA,CACC,cAAe,IAAME,EAAsBH,EAAS,MAAOA,EAAS,MAAM,IAAI,EAC9E,KAAMA,EAAS,MAAM,MAAQ,OAC7B,UAAU,yEAET,SAAA,CAAAA,EAAS,MAEVH,EAACO,EAAA,CAAK,KAAK,mBAAmB,UAAU,QAAA,CAAS,CAAA,CAAA,CAAA,EAGrDP,EAAC,KAAA,CAAG,UAAU,YACX,SAAAG,EAAS,SAAS,IAAKK,GACtBR,EAAC,KAAA,CAAqB,UAAU,mCAC9B,SAAAA,EAAC,IAAA,CACC,KAAMQ,EAAM,MAAM,KAClB,cAAe,IAAMF,EAAsBE,EAAM,MAAOA,EAAM,MAAM,IAAI,EACxE,OAAQA,EAAM,MAAM,OACpB,UAAU,iBAET,SAAAA,EAAM,KAAA,CAAA,GAPFA,EAAM,KASf,CACD,CAAA,CACH,CAAA,CAAA,EAzBQL,EAAS,KA0BnB,CAEJ,CAAC,CAAA,CACH,CAAA,CAAA,EAKF,SAAS,KAAK,cAAiC,gBAAgB,GAAG,iBAAiB,MAAQ,SAAS,IAAA"}
1
+ {"version":3,"file":"TabContent.js","sources":["../../../../../../../../../lib/widgets/seoHeader/ui/desktop/tab/ui/content/TabContent.tsx"],"sourcesContent":["import { createPortal } from 'react-dom'\nimport { motion } from 'framer-motion'\nimport { pushToDlLink } from '../../../../../../../shared/dataLayers'\nimport { type Category } from '../../../../../model'\nimport { Icon } from '$/shared/ui'\nimport { cn } from '$/shared/utils'\n\ntype TabContentProps = React.ComponentProps<typeof motion.div> & {\n categories: Category[]\n}\n\nexport const TabContent = ({ categories, ...props }: TabContentProps) => {\n return createPortal(\n <motion.div\n {...props}\n layout\n initial={{ opacity: 0 }}\n animate={{ opacity: 1 }}\n transition={{ duration: 0.2 }}\n className={cn(\n 'absolute z-20 w-full bg-color-white',\n 'after:absolute after:left-1/2 after:top-[-1px] after:h-[1px] after:w-full after:max-w-[636px] after:-translate-x-1/2 after:bg-color-blue-grey-200 after:content-[\"\"] after:desktop:max-w-[1140px]'\n )}\n >\n <div className='mx-auto flex w-full max-w-[1140px] gap-x-[56px] py-10'>\n {categories.map((category) => {\n const CategoryTitle = category.link ? 'a' : 'p'\n\n return (\n <div key={category.title} className='flex flex-col gap-y-6'>\n {category.title && (\n <CategoryTitle\n onPointerDown={() => pushToDlLink(category?.title, category?.link?.href, 'seoHeader')}\n href={category.link?.href ?? undefined}\n className='flex items-center gap-x-1 text-16 uppercase text-color-primary-default'\n >\n {category.title}\n\n <Icon name='arrows/arrowLink' className='size-6' />\n </CategoryTitle>\n )}\n <ul className='w-[328px]'>\n {category.children.map((child) => (\n <li key={child.title} className='w-full [&:not(:last-child)]:mb-4'>\n <a\n href={child.link?.href}\n onPointerDown={() => pushToDlLink(child?.title, child?.link?.href, 'seoHeader')}\n target={child.link?.target}\n className='w-full text-16'\n >\n {child.title}\n </a>\n </li>\n ))}\n </ul>\n </div>\n )\n })}\n </div>\n </motion.div>,\n /**\n * Нужно для preview, чтобы категории рендерились в iframe\n */\n document.body.querySelector<HTMLIFrameElement>('#modal-preview')?.contentDocument?.body ?? document.body\n )\n}\n"],"names":["TabContent","categories","props","createPortal","jsx","motion","cn","category","CategoryTitle","jsxs","pushToDlLink","Icon","child"],"mappings":"iVAWO,MAAMA,EAAa,CAAC,CAAE,WAAAC,EAAY,GAAGC,KACnCC,EACLC,EAACC,EAAO,IAAP,CACE,GAAGH,EACJ,OAAM,GACN,QAAS,CAAE,QAAS,CAAA,EACpB,QAAS,CAAE,QAAS,CAAA,EACpB,WAAY,CAAE,SAAU,EAAA,EACxB,UAAWI,EACT,sCACA,mMAAA,EAGF,WAAC,MAAA,CAAI,UAAU,wDACZ,SAAAL,EAAW,IAAKM,GAAa,CAC5B,MAAMC,EAAgBD,EAAS,KAAO,IAAM,IAE5C,OACEE,EAAC,MAAA,CAAyB,UAAU,wBACjC,SAAA,CAAAF,EAAS,OACRE,EAACD,EAAA,CACC,cAAe,IAAME,EAAaH,GAAU,MAAOA,GAAU,MAAM,KAAM,WAAW,EACpF,KAAMA,EAAS,MAAM,MAAQ,OAC7B,UAAU,yEAET,SAAA,CAAAA,EAAS,MAEVH,EAACO,EAAA,CAAK,KAAK,mBAAmB,UAAU,QAAA,CAAS,CAAA,CAAA,CAAA,EAGrDP,EAAC,KAAA,CAAG,UAAU,YACX,SAAAG,EAAS,SAAS,IAAKK,GACtBR,EAAC,KAAA,CAAqB,UAAU,mCAC9B,SAAAA,EAAC,IAAA,CACC,KAAMQ,EAAM,MAAM,KAClB,cAAe,IAAMF,EAAaE,GAAO,MAAOA,GAAO,MAAM,KAAM,WAAW,EAC9E,OAAQA,EAAM,MAAM,OACpB,UAAU,iBAET,SAAAA,EAAM,KAAA,CAAA,GAPFA,EAAM,KASf,CACD,CAAA,CACH,CAAA,CAAA,EAzBQL,EAAS,KA0BnB,CAEJ,CAAC,CAAA,CACH,CAAA,CAAA,EAKF,SAAS,KAAK,cAAiC,gBAAgB,GAAG,iBAAiB,MAAQ,SAAS,IAAA"}
@@ -1,2 +1,2 @@
1
- import{jsxs as a,jsx as l}from"react/jsx-runtime";import{useState as x,useMemo as h}from"react";import{motion as w}from"framer-motion";import{MenuItem as N}from"./MenuItem.js";import{cn as v}from"../../../../../shared/utils/cn.js";import{TypeGuards as c}from"../../../../../shared/utils/typeGuards.js";import{Combobox as y}from"../../../../../shared/ui/formElements/uncontrolled/combobox/combobox.js";import{pushToDlLinkSeoHeader as o}from"../../../model/dataLayers.js";import{Icon as m}from"../../../../../shared/ui/icon/Icon.js";const k=i=>i.map(t=>({value:t.title??"",label:t.title??""})),I=({categories:i,helpers:t,phone:n,...f})=>{const s=k(i),[r,d]=x(s[0]),u=e=>{c.isUndefined(e)||c.isArray(e)||d(e)},p=h(()=>r?i.find(e=>e.title===r.value)?.children??[]:[],[r,i]);return a(w.div,{...f,className:v("fixed z-10 h-full w-full max-w-[calc(636px-32px)]","absolute left-1/2 top-full bg-color-white p-4","-translate-x-1/2 overflow-x-hidden","flex flex-col items-center justify-start gap-y-4"),initial:{opacity:0},animate:{opacity:1},children:[l(y,{multiple:!1,label:"Категория",options:s,value:r,onChange:u}),l("div",{className:"flex w-full flex-col items-center justify-center gap-y-1",children:p.map(e=>c.isArrayEmpty(e.children)?l("div",{className:"w-full px-4 py-2.5",children:l("a",{onPointerDown:()=>o(e?.title,e.link?.href),href:e.link?.href,className:"desk-body-regular-m inline-block w-full",children:e.title})},e.title):l(N,{category:e},e.title))}),l("div",{className:"h-[1px] w-full bg-color-blue-grey-200"}),a("div",{className:"flex w-full flex-col items-center justify-center gap-y-1",children:[t.map(e=>l("div",{className:"w-full px-4 py-2.5",children:a("a",{onPointerDown:()=>o(e.title,e.link.href),href:e.link?.href,className:"flex w-full items-center gap-x-1",children:[e.link?.icon&&l(m,{name:e.link.icon,className:"size-4"}),e.title]})},e.title)),l("div",{className:"w-full px-4 py-2.5",children:a("a",{onPointerDown:()=>o(n,`tel:${n}`),href:`tel:${n}`,className:"flex w-full items-center gap-x-1",children:[l(m,{name:"communication/phone",className:"size-4"}),n]})})]})]})};export{I as Menu};
1
+ import{jsxs as a,jsx as l}from"react/jsx-runtime";import{useState as x,useMemo as h}from"react";import{motion as w}from"framer-motion";import{MenuItem as N}from"./MenuItem.js";import{cn as v}from"../../../../../shared/utils/cn.js";import{TypeGuards as o}from"../../../../../shared/utils/typeGuards.js";import{Combobox as y}from"../../../../../shared/ui/formElements/uncontrolled/combobox/combobox.js";import{pushToDlLink as s}from"../../../../../shared/dataLayers/utils.js";import{Icon as m}from"../../../../../shared/ui/icon/Icon.js";const k=i=>i.map(t=>({value:t.title??"",label:t.title??""})),A=({categories:i,helpers:t,phone:n,...f})=>{const c=k(i),[r,d]=x(c[0]),u=e=>{o.isUndefined(e)||o.isArray(e)||d(e)},p=h(()=>r?i.find(e=>e.title===r.value)?.children??[]:[],[r,i]);return a(w.div,{...f,className:v("fixed z-10 h-full w-full max-w-[calc(636px-32px)]","absolute left-1/2 top-full bg-color-white p-4","-translate-x-1/2 overflow-x-hidden","flex flex-col items-center justify-start gap-y-4"),initial:{opacity:0},animate:{opacity:1},children:[l(y,{multiple:!1,label:"Категория",options:c,value:r,onChange:u}),l("div",{className:"flex w-full flex-col items-center justify-center gap-y-1",children:p.map(e=>o.isArrayEmpty(e.children)?l("div",{className:"w-full px-4 py-2.5",children:l("a",{onPointerDown:()=>s(e?.title,e.link?.href,"seoHeader"),href:e.link?.href,className:"desk-body-regular-m inline-block w-full",children:e.title})},e.title):l(N,{category:e},e.title))}),l("div",{className:"h-[1px] w-full bg-color-blue-grey-200"}),a("div",{className:"flex w-full flex-col items-center justify-center gap-y-1",children:[t.map(e=>l("div",{className:"w-full px-4 py-2.5",children:a("a",{onPointerDown:()=>s(e?.title,e?.link?.href,"seoHeader"),href:e.link?.href,className:"flex w-full items-center gap-x-1",children:[e.link?.icon&&l(m,{name:e?.link?.icon,className:"size-4"}),e?.title]})},e.title)),l("div",{className:"w-full px-4 py-2.5",children:a("a",{onPointerDown:()=>s(n,`tel:${n}`,"seoHeader"),href:`tel:${n}`,className:"flex w-full items-center gap-x-1",children:[l(m,{name:"communication/phone",className:"size-4"}),n]})})]})]})};export{A as Menu};
2
2
  //# sourceMappingURL=Menu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Menu.js","sources":["../../../../../../../lib/widgets/seoHeader/ui/mobile/menu/Menu.tsx"],"sourcesContent":["import { useMemo, useState } from 'react'\nimport { motion } from 'framer-motion'\nimport { type Category, pushToDlLinkSeoHeader, type SeoHeaderHelpers } from '../../../model'\nimport { MenuItem } from './MenuItem'\nimport { Combobox, type ComboboxItemOption, type ComboboxValue, Icon } from '$/shared/ui'\nimport { cn, TypeGuards } from '$/shared/utils'\n\nexport type MenuProps = React.ComponentProps<typeof motion.div> & {\n categories: Category[]\n helpers: SeoHeaderHelpers[]\n phone: string\n}\n\nconst getSelectCategories = (categories: Category[]): ComboboxItemOption[] =>\n categories.map((category) => ({\n value: category.title ?? '',\n label: category.title ?? ''\n }))\n\nexport const Menu = ({ categories, helpers, phone, ...props }: MenuProps) => {\n const selectCategories = getSelectCategories(categories)\n\n const [selected, setSelected] = useState<ComboboxValue<false>>(selectCategories[0])\n\n const onCategoryChange = (option?: ComboboxValue<false>) => {\n if (TypeGuards.isUndefined(option) || TypeGuards.isArray(option)) return\n\n setSelected(option)\n }\n\n const selectedSubCategories = useMemo<Category[]>(() => {\n if (!selected) return []\n\n return categories.find((category) => category.title === selected.value)?.children ?? []\n }, [selected, categories])\n\n return (\n <motion.div\n {...props}\n className={cn(\n 'fixed z-10 h-full w-full max-w-[calc(636px-32px)]',\n 'absolute left-1/2 top-full bg-color-white p-4',\n '-translate-x-1/2 overflow-x-hidden',\n 'flex flex-col items-center justify-start gap-y-4'\n )}\n initial={{ opacity: 0 }}\n animate={{ opacity: 1 }}\n >\n <Combobox multiple={false} label='Категория' options={selectCategories} value={selected} onChange={onCategoryChange} />\n <div className='flex w-full flex-col items-center justify-center gap-y-1'>\n {selectedSubCategories.map((subCategory) => {\n if (TypeGuards.isArrayEmpty(subCategory.children)) {\n return (\n <div key={subCategory.title} className='w-full px-4 py-2.5'>\n <a\n onPointerDown={() => pushToDlLinkSeoHeader(subCategory?.title, subCategory.link?.href)}\n href={subCategory.link?.href}\n className='desk-body-regular-m inline-block w-full'\n >\n {subCategory.title}\n </a>\n </div>\n )\n }\n\n return <MenuItem key={subCategory.title} category={subCategory} />\n })}\n </div>\n <div className='h-[1px] w-full bg-color-blue-grey-200' />\n <div className='flex w-full flex-col items-center justify-center gap-y-1'>\n {helpers.map((helper) => (\n <div key={helper.title} className='w-full px-4 py-2.5'>\n <a\n onPointerDown={() => pushToDlLinkSeoHeader(helper.title, helper.link.href)}\n href={helper.link?.href}\n className='flex w-full items-center gap-x-1'\n >\n {helper.link?.icon && <Icon name={helper.link.icon} className='size-4' />}\n {helper.title}\n </a>\n </div>\n ))}\n <div className='w-full px-4 py-2.5'>\n <a\n onPointerDown={() => pushToDlLinkSeoHeader(phone, `tel:${phone}`)}\n href={`tel:${phone}`}\n className='flex w-full items-center gap-x-1'\n >\n <Icon name='communication/phone' className='size-4' />\n {phone}\n </a>\n </div>\n </div>\n </motion.div>\n )\n}\n"],"names":["getSelectCategories","categories","category","Menu","helpers","phone","props","selectCategories","selected","setSelected","useState","onCategoryChange","option","TypeGuards","selectedSubCategories","useMemo","jsxs","motion","cn","jsx","Combobox","subCategory","pushToDlLinkSeoHeader","MenuItem","helper","Icon"],"mappings":"mhBAaA,MAAMA,EAAuBC,GAC3BA,EAAW,IAAKC,IAAc,CAC5B,MAAOA,EAAS,OAAS,GACzB,MAAOA,EAAS,OAAS,EAC3B,EAAE,EAESC,EAAO,CAAC,CAAE,WAAAF,EAAY,QAAAG,EAAS,MAAAC,EAAO,GAAGC,KAAuB,CAC3E,MAAMC,EAAmBP,EAAoBC,CAAU,EAEjD,CAACO,EAAUC,CAAW,EAAIC,EAA+BH,EAAiB,CAAC,CAAC,EAE5EI,EAAoBC,GAAkC,CACtDC,EAAW,YAAYD,CAAM,GAAKC,EAAW,QAAQD,CAAM,GAE/DH,EAAYG,CAAM,CACpB,EAEME,EAAwBC,EAAoB,IAC3CP,EAEEP,EAAW,KAAMC,GAAaA,EAAS,QAAUM,EAAS,KAAK,GAAG,UAAY,CAAA,EAF/D,CAAA,EAGrB,CAACA,EAAUP,CAAU,CAAC,EAEzB,OACEe,EAACC,EAAO,IAAP,CACE,GAAGX,EACJ,UAAWY,EACT,oDACA,gDACA,qCACA,kDAAA,EAEF,QAAS,CAAE,QAAS,CAAA,EACpB,QAAS,CAAE,QAAS,CAAA,EAEpB,SAAA,CAAAC,EAACC,EAAA,CAAS,SAAU,GAAO,MAAM,YAAY,QAASb,EAAkB,MAAOC,EAAU,SAAUG,CAAA,CAAkB,IACpH,MAAA,CAAI,UAAU,2DACZ,SAAAG,EAAsB,IAAKO,GACtBR,EAAW,aAAaQ,EAAY,QAAQ,EAE5CF,EAAC,MAAA,CAA4B,UAAU,qBACrC,SAAAA,EAAC,IAAA,CACC,cAAe,IAAMG,EAAsBD,GAAa,MAAOA,EAAY,MAAM,IAAI,EACrF,KAAMA,EAAY,MAAM,KACxB,UAAU,0CAET,SAAAA,EAAY,KAAA,CAAA,CACf,EAPQA,EAAY,KAQtB,EAIGF,EAACI,EAAA,CAAiC,SAAUF,CAAA,EAA7BA,EAAY,KAA8B,CACjE,CAAA,CACH,EACAF,EAAC,MAAA,CAAI,UAAU,uCAAA,CAAwC,EACvDH,EAAC,MAAA,CAAI,UAAU,2DACZ,SAAA,CAAAZ,EAAQ,IAAKoB,GACZL,EAAC,MAAA,CAAuB,UAAU,qBAChC,SAAAH,EAAC,IAAA,CACC,cAAe,IAAMM,EAAsBE,EAAO,MAAOA,EAAO,KAAK,IAAI,EACzE,KAAMA,EAAO,MAAM,KACnB,UAAU,mCAET,SAAA,CAAAA,EAAO,MAAM,MAAQL,EAACM,EAAA,CAAK,KAAMD,EAAO,KAAK,KAAM,UAAU,QAAA,CAAS,EACtEA,EAAO,KAAA,CAAA,CAAA,GAPFA,EAAO,KASjB,CACD,EACDL,EAAC,MAAA,CAAI,UAAU,qBACb,SAAAH,EAAC,IAAA,CACC,cAAe,IAAMM,EAAsBjB,EAAO,OAAOA,CAAK,EAAE,EAChE,KAAM,OAAOA,CAAK,GAClB,UAAU,mCAEV,SAAA,CAAAc,EAACM,EAAA,CAAK,KAAK,sBAAsB,UAAU,SAAS,EACnDpB,CAAA,CAAA,CAAA,CACH,CACF,CAAA,CAAA,CACF,CAAA,CAAA,CAAA,CAGN"}
1
+ {"version":3,"file":"Menu.js","sources":["../../../../../../../lib/widgets/seoHeader/ui/mobile/menu/Menu.tsx"],"sourcesContent":["import { useMemo, useState } from 'react'\nimport { motion } from 'framer-motion'\nimport { pushToDlLink } from '../../../../../shared/dataLayers'\nimport { type Category, type SeoHeaderHelpers } from '../../../model'\nimport { MenuItem } from './MenuItem'\nimport { Combobox, type ComboboxItemOption, type ComboboxValue, Icon } from '$/shared/ui'\nimport { cn, TypeGuards } from '$/shared/utils'\n\nexport type MenuProps = React.ComponentProps<typeof motion.div> & {\n categories: Category[]\n helpers: SeoHeaderHelpers[]\n phone: string\n}\n\nconst getSelectCategories = (categories: Category[]): ComboboxItemOption[] =>\n categories.map((category) => ({\n value: category.title ?? '',\n label: category.title ?? ''\n }))\n\nexport const Menu = ({ categories, helpers, phone, ...props }: MenuProps) => {\n const selectCategories = getSelectCategories(categories)\n\n const [selected, setSelected] = useState<ComboboxValue<false>>(selectCategories[0])\n\n const onCategoryChange = (option?: ComboboxValue<false>) => {\n if (TypeGuards.isUndefined(option) || TypeGuards.isArray(option)) return\n\n setSelected(option)\n }\n\n const selectedSubCategories = useMemo<Category[]>(() => {\n if (!selected) return []\n\n return categories.find((category) => category.title === selected.value)?.children ?? []\n }, [selected, categories])\n\n return (\n <motion.div\n {...props}\n className={cn(\n 'fixed z-10 h-full w-full max-w-[calc(636px-32px)]',\n 'absolute left-1/2 top-full bg-color-white p-4',\n '-translate-x-1/2 overflow-x-hidden',\n 'flex flex-col items-center justify-start gap-y-4'\n )}\n initial={{ opacity: 0 }}\n animate={{ opacity: 1 }}\n >\n <Combobox multiple={false} label='Категория' options={selectCategories} value={selected} onChange={onCategoryChange} />\n <div className='flex w-full flex-col items-center justify-center gap-y-1'>\n {selectedSubCategories.map((subCategory) => {\n if (TypeGuards.isArrayEmpty(subCategory.children)) {\n return (\n <div key={subCategory.title} className='w-full px-4 py-2.5'>\n <a\n onPointerDown={() => pushToDlLink(subCategory?.title, subCategory.link?.href, 'seoHeader')}\n href={subCategory.link?.href}\n className='desk-body-regular-m inline-block w-full'\n >\n {subCategory.title}\n </a>\n </div>\n )\n }\n\n return <MenuItem key={subCategory.title} category={subCategory} />\n })}\n </div>\n <div className='h-[1px] w-full bg-color-blue-grey-200' />\n <div className='flex w-full flex-col items-center justify-center gap-y-1'>\n {helpers.map((helper) => (\n <div key={helper.title} className='w-full px-4 py-2.5'>\n <a\n onPointerDown={() => pushToDlLink(helper?.title, helper?.link?.href, 'seoHeader')}\n href={helper.link?.href}\n className='flex w-full items-center gap-x-1'\n >\n {helper.link?.icon && <Icon name={helper?.link?.icon} className='size-4' />}\n {helper?.title}\n </a>\n </div>\n ))}\n <div className='w-full px-4 py-2.5'>\n <a\n onPointerDown={() => pushToDlLink(phone, `tel:${phone}`, 'seoHeader')}\n href={`tel:${phone}`}\n className='flex w-full items-center gap-x-1'\n >\n <Icon name='communication/phone' className='size-4' />\n {phone}\n </a>\n </div>\n </div>\n </motion.div>\n )\n}\n"],"names":["getSelectCategories","categories","category","Menu","helpers","phone","props","selectCategories","selected","setSelected","useState","onCategoryChange","option","TypeGuards","selectedSubCategories","useMemo","jsxs","motion","cn","jsx","Combobox","subCategory","pushToDlLink","MenuItem","helper","Icon"],"mappings":"uhBAcA,MAAMA,EAAuBC,GAC3BA,EAAW,IAAKC,IAAc,CAC5B,MAAOA,EAAS,OAAS,GACzB,MAAOA,EAAS,OAAS,EAC3B,EAAE,EAESC,EAAO,CAAC,CAAE,WAAAF,EAAY,QAAAG,EAAS,MAAAC,EAAO,GAAGC,KAAuB,CAC3E,MAAMC,EAAmBP,EAAoBC,CAAU,EAEjD,CAACO,EAAUC,CAAW,EAAIC,EAA+BH,EAAiB,CAAC,CAAC,EAE5EI,EAAoBC,GAAkC,CACtDC,EAAW,YAAYD,CAAM,GAAKC,EAAW,QAAQD,CAAM,GAE/DH,EAAYG,CAAM,CACpB,EAEME,EAAwBC,EAAoB,IAC3CP,EAEEP,EAAW,KAAMC,GAAaA,EAAS,QAAUM,EAAS,KAAK,GAAG,UAAY,CAAA,EAF/D,CAAA,EAGrB,CAACA,EAAUP,CAAU,CAAC,EAEzB,OACEe,EAACC,EAAO,IAAP,CACE,GAAGX,EACJ,UAAWY,EACT,oDACA,gDACA,qCACA,kDAAA,EAEF,QAAS,CAAE,QAAS,CAAA,EACpB,QAAS,CAAE,QAAS,CAAA,EAEpB,SAAA,CAAAC,EAACC,EAAA,CAAS,SAAU,GAAO,MAAM,YAAY,QAASb,EAAkB,MAAOC,EAAU,SAAUG,CAAA,CAAkB,IACpH,MAAA,CAAI,UAAU,2DACZ,SAAAG,EAAsB,IAAKO,GACtBR,EAAW,aAAaQ,EAAY,QAAQ,EAE5CF,EAAC,MAAA,CAA4B,UAAU,qBACrC,SAAAA,EAAC,IAAA,CACC,cAAe,IAAMG,EAAaD,GAAa,MAAOA,EAAY,MAAM,KAAM,WAAW,EACzF,KAAMA,EAAY,MAAM,KACxB,UAAU,0CAET,SAAAA,EAAY,KAAA,CAAA,CACf,EAPQA,EAAY,KAQtB,EAIGF,EAACI,EAAA,CAAiC,SAAUF,CAAA,EAA7BA,EAAY,KAA8B,CACjE,CAAA,CACH,EACAF,EAAC,MAAA,CAAI,UAAU,uCAAA,CAAwC,EACvDH,EAAC,MAAA,CAAI,UAAU,2DACZ,SAAA,CAAAZ,EAAQ,IAAKoB,GACZL,EAAC,MAAA,CAAuB,UAAU,qBAChC,SAAAH,EAAC,IAAA,CACC,cAAe,IAAMM,EAAaE,GAAQ,MAAOA,GAAQ,MAAM,KAAM,WAAW,EAChF,KAAMA,EAAO,MAAM,KACnB,UAAU,mCAET,SAAA,CAAAA,EAAO,MAAM,MAAQL,EAACM,EAAA,CAAK,KAAMD,GAAQ,MAAM,KAAM,UAAU,QAAA,CAAS,EACxEA,GAAQ,KAAA,CAAA,CAAA,GAPHA,EAAO,KASjB,CACD,EACDL,EAAC,MAAA,CAAI,UAAU,qBACb,SAAAH,EAAC,IAAA,CACC,cAAe,IAAMM,EAAajB,EAAO,OAAOA,CAAK,GAAI,WAAW,EACpE,KAAM,OAAOA,CAAK,GAClB,UAAU,mCAEV,SAAA,CAAAc,EAACM,EAAA,CAAK,KAAK,sBAAsB,UAAU,SAAS,EACnDpB,CAAA,CAAA,CAAA,CACH,CACF,CAAA,CAAA,CACF,CAAA,CAAA,CAAA,CAGN"}
@@ -1,2 +1,2 @@
1
- import{jsx as e,jsxs as a}from"react/jsx-runtime";import{cn as s}from"../../../../../shared/utils/cn.js";import{Accordion as f}from"../../../../../shared/ui/accordion/Accordion.js";import{pushToDlLinkSeoHeader as i}from"../../../model/dataLayers.js";import{Icon as n}from"../../../../../shared/ui/icon/Icon.js";const b=({category:r})=>e(f,{onPointerDown:()=>i(r.title,""),label:r.title??"",icon:e(n,{name:"arrows/arrowRight",className:"-rotate-90"}),classes:{root:"w-full",header:{trigger:"py-2 data-[open=false]:bg-color-white",label:"desk-body-regular-m"},content:s("relative",'after:content-"" after:absolute after:w-[calc(100%-32px)]',"after:bottom-0 after:left-1/2 after:-translate-x-1/2","after:h-[1px] after:bg-color-blue-grey-200")},children:e("div",{className:"flex flex-col items-start justify-center gap-y-4",children:r.children.map(t=>{const o=!!t.link;return a("ul",{className:"w-full list-none p-0",children:[a(o?"a":"p",{href:o?t.link?.href:void 0,className:"mb-3 flex items-center gap-x-1 text-16 text-color-primary-default",children:[t.title,e(n,{name:"arrows/arrowLink"})]}),t.children.map(l=>e("li",{className:"inline-block w-full [&:not(:last-child)]:mb-3",children:e("a",{onPointerDown:()=>i(l.title,l.link?.href),href:l.link?.href,className:"w-full",children:l.title})},l.title))]},t.title)})})},r.title);export{b as MenuItem};
1
+ import{jsx as e,jsxs as a}from"react/jsx-runtime";import{cn as s}from"../../../../../shared/utils/cn.js";import{Accordion as f}from"../../../../../shared/ui/accordion/Accordion.js";import{pushToDlLink as i}from"../../../../../shared/dataLayers/utils.js";import{Icon as n}from"../../../../../shared/ui/icon/Icon.js";const b=({category:r})=>e(f,{onPointerDown:()=>i(r?.title,"","seoHeader"),label:r.title??"",icon:e(n,{name:"arrows/arrowRight",className:"-rotate-90"}),classes:{root:"w-full",header:{trigger:"py-2 data-[open=false]:bg-color-white",label:"desk-body-regular-m"},content:s("relative",'after:content-"" after:absolute after:w-[calc(100%-32px)]',"after:bottom-0 after:left-1/2 after:-translate-x-1/2","after:h-[1px] after:bg-color-blue-grey-200")},children:e("div",{className:"flex flex-col items-start justify-center gap-y-4",children:r.children.map(t=>{const o=!!t.link;return a("ul",{className:"w-full list-none p-0",children:[a(o?"a":"p",{href:o?t.link?.href:void 0,className:"mb-3 flex items-center gap-x-1 text-16 text-color-primary-default",children:[t.title,e(n,{name:"arrows/arrowLink"})]}),t.children.map(l=>e("li",{className:"inline-block w-full [&:not(:last-child)]:mb-3",children:e("a",{onPointerDown:()=>i(l?.title,l?.link?.href,"seoHeader"),href:l.link?.href,className:"w-full",children:l.title})},l.title))]},t.title)})})},r.title);export{b as MenuItem};
2
2
  //# sourceMappingURL=MenuItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuItem.js","sources":["../../../../../../../lib/widgets/seoHeader/ui/mobile/menu/MenuItem.tsx"],"sourcesContent":["import { type Category, pushToDlLinkSeoHeader } from '../../../model'\nimport { Accordion, Icon } from '$/shared/ui'\nimport { cn } from '$/shared/utils'\n\ntype MenuItemProps = {\n category: Category\n}\n\nexport const MenuItem = ({ category }: MenuItemProps) => (\n <Accordion\n key={category.title}\n onPointerDown={() => pushToDlLinkSeoHeader(category.title, '')}\n label={category.title ?? ''}\n icon={<Icon name='arrows/arrowRight' className='-rotate-90' />}\n classes={{\n root: 'w-full',\n header: {\n trigger: 'py-2 data-[open=false]:bg-color-white',\n label: 'desk-body-regular-m'\n },\n content: cn(\n 'relative',\n 'after:content-\"\" after:absolute after:w-[calc(100%-32px)]',\n 'after:bottom-0 after:left-1/2 after:-translate-x-1/2',\n 'after:h-[1px] after:bg-color-blue-grey-200'\n )\n }}\n >\n <div className='flex flex-col items-start justify-center gap-y-4'>\n {category.children.map((child) => {\n const isLink = Boolean(child.link)\n const Title = isLink ? 'a' : 'p'\n\n return (\n <ul key={child.title} className='w-full list-none p-0'>\n <Title\n href={isLink ? child.link?.href : undefined}\n className='mb-3 flex items-center gap-x-1 text-16 text-color-primary-default'\n >\n {child.title}\n <Icon name='arrows/arrowLink' />\n </Title>\n {child.children.map((innerChild) => (\n <li key={innerChild.title} className='inline-block w-full [&:not(:last-child)]:mb-3'>\n <a\n onPointerDown={() => pushToDlLinkSeoHeader(innerChild.title, innerChild.link?.href)}\n href={innerChild.link?.href}\n className='w-full'\n >\n {innerChild.title}\n </a>\n </li>\n ))}\n </ul>\n )\n })}\n </div>\n </Accordion>\n)\n"],"names":["MenuItem","category","jsx","Accordion","pushToDlLinkSeoHeader","Icon","cn","child","isLink","jsxs","innerChild"],"mappings":"uTAQO,MAAMA,EAAW,CAAC,CAAE,SAAAC,CAAA,IACzBC,EAACC,EAAA,CAEC,cAAe,IAAMC,EAAsBH,EAAS,MAAO,EAAE,EAC7D,MAAOA,EAAS,OAAS,GACzB,KAAMC,EAACG,EAAA,CAAK,KAAK,oBAAoB,UAAU,aAAa,EAC5D,QAAS,CACP,KAAM,SACN,OAAQ,CACN,QAAS,wCACT,MAAO,qBAAA,EAET,QAASC,EACP,WACA,4DACA,uDACA,4CAAA,CACF,EAGF,SAAAJ,EAAC,OAAI,UAAU,mDACZ,WAAS,SAAS,IAAKK,GAAU,CAChC,MAAMC,EAAS,EAAQD,EAAM,KAG7B,OACEE,EAAC,KAAA,CAAqB,UAAU,uBAC9B,SAAA,CAAAA,EAJUD,EAAS,IAAM,IAIxB,CACC,KAAMA,EAASD,EAAM,MAAM,KAAO,OAClC,UAAU,oEAET,SAAA,CAAAA,EAAM,MACPL,EAACG,EAAA,CAAK,KAAK,kBAAA,CAAmB,CAAA,CAAA,CAAA,EAE/BE,EAAM,SAAS,IAAKG,GACnBR,EAAC,KAAA,CAA0B,UAAU,gDACnC,SAAAA,EAAC,IAAA,CACC,cAAe,IAAME,EAAsBM,EAAW,MAAOA,EAAW,MAAM,IAAI,EAClF,KAAMA,EAAW,MAAM,KACvB,UAAU,SAET,SAAAA,EAAW,KAAA,CAAA,CACd,EAPOA,EAAW,KAQpB,CACD,CAAA,CAAA,EAlBMH,EAAM,KAmBf,CAEJ,CAAC,CAAA,CACH,CAAA,EA9CKN,EAAS,KA+ChB"}
1
+ {"version":3,"file":"MenuItem.js","sources":["../../../../../../../lib/widgets/seoHeader/ui/mobile/menu/MenuItem.tsx"],"sourcesContent":["import { pushToDlLink } from '../../../../../shared/dataLayers'\nimport { type Category } from '../../../model'\nimport { Accordion, Icon } from '$/shared/ui'\nimport { cn } from '$/shared/utils'\n\ntype MenuItemProps = {\n category: Category\n}\n\nexport const MenuItem = ({ category }: MenuItemProps) => (\n <Accordion\n key={category.title}\n onPointerDown={() => pushToDlLink(category?.title, '', 'seoHeader')}\n label={category.title ?? ''}\n icon={<Icon name='arrows/arrowRight' className='-rotate-90' />}\n classes={{\n root: 'w-full',\n header: {\n trigger: 'py-2 data-[open=false]:bg-color-white',\n label: 'desk-body-regular-m'\n },\n content: cn(\n 'relative',\n 'after:content-\"\" after:absolute after:w-[calc(100%-32px)]',\n 'after:bottom-0 after:left-1/2 after:-translate-x-1/2',\n 'after:h-[1px] after:bg-color-blue-grey-200'\n )\n }}\n >\n <div className='flex flex-col items-start justify-center gap-y-4'>\n {category.children.map((child) => {\n const isLink = Boolean(child.link)\n const Title = isLink ? 'a' : 'p'\n\n return (\n <ul key={child.title} className='w-full list-none p-0'>\n <Title\n href={isLink ? child.link?.href : undefined}\n className='mb-3 flex items-center gap-x-1 text-16 text-color-primary-default'\n >\n {child.title}\n <Icon name='arrows/arrowLink' />\n </Title>\n {child.children.map((innerChild) => (\n <li key={innerChild.title} className='inline-block w-full [&:not(:last-child)]:mb-3'>\n <a\n onPointerDown={() => pushToDlLink(innerChild?.title, innerChild?.link?.href, 'seoHeader')}\n href={innerChild.link?.href}\n className='w-full'\n >\n {innerChild.title}\n </a>\n </li>\n ))}\n </ul>\n )\n })}\n </div>\n </Accordion>\n)\n"],"names":["MenuItem","category","jsx","Accordion","pushToDlLink","Icon","cn","child","isLink","jsxs","innerChild"],"mappings":"2TASO,MAAMA,EAAW,CAAC,CAAE,SAAAC,CAAA,IACzBC,EAACC,EAAA,CAEC,cAAe,IAAMC,EAAaH,GAAU,MAAO,GAAI,WAAW,EAClE,MAAOA,EAAS,OAAS,GACzB,KAAMC,EAACG,EAAA,CAAK,KAAK,oBAAoB,UAAU,aAAa,EAC5D,QAAS,CACP,KAAM,SACN,OAAQ,CACN,QAAS,wCACT,MAAO,qBAAA,EAET,QAASC,EACP,WACA,4DACA,uDACA,4CAAA,CACF,EAGF,SAAAJ,EAAC,OAAI,UAAU,mDACZ,WAAS,SAAS,IAAKK,GAAU,CAChC,MAAMC,EAAS,EAAQD,EAAM,KAG7B,OACEE,EAAC,KAAA,CAAqB,UAAU,uBAC9B,SAAA,CAAAA,EAJUD,EAAS,IAAM,IAIxB,CACC,KAAMA,EAASD,EAAM,MAAM,KAAO,OAClC,UAAU,oEAET,SAAA,CAAAA,EAAM,MACPL,EAACG,EAAA,CAAK,KAAK,kBAAA,CAAmB,CAAA,CAAA,CAAA,EAE/BE,EAAM,SAAS,IAAKG,GACnBR,EAAC,KAAA,CAA0B,UAAU,gDACnC,SAAAA,EAAC,IAAA,CACC,cAAe,IAAME,EAAaM,GAAY,MAAOA,GAAY,MAAM,KAAM,WAAW,EACxF,KAAMA,EAAW,MAAM,KACvB,UAAU,SAET,SAAAA,EAAW,KAAA,CAAA,CACd,EAPOA,EAAW,KAQpB,CACD,CAAA,CAAA,EAlBMH,EAAM,KAmBf,CAEJ,CAAC,CAAA,CACH,CAAA,EA9CKN,EAAS,KA+ChB"}
@@ -1,2 +1,2 @@
1
- import{jsx as a,jsxs as d}from"react/jsx-runtime";import{useState as h,useMemo as x,createElement as b}from"react";import{SingleStep as u}from"./ui/SingleStep.js";import{StepperTabs as S}from"./ui/StepperTabs.js";import{cn as p}from"../../shared/utils/cn.js";import{StepperCarousel as g}from"./ui/StepperCarousel.js";import{ResponsiveContainer as k}from"../../shared/ui/responsiveContainer/ResponsiveContainer.js";const y=({steppers:t,headline:m,classes:e})=>{const s=t&&t?.length>1,[i,n]=h(s?t?.[0]?.tabName:""),l=x(()=>t?.map(({tabName:r})=>({tabName:r})),[t]),c=s?l?.findIndex(r=>r.tabName===i):0,o=t?.[c];return a("section",{id:"stepper","data-test-id":"stepper",className:p("w-full",e?.root),children:a(k,{className:p(e?.container),children:d("div",{className:p("flex flex-col gap-6 desktop:items-start desktop:gap-12",e?.wrapper),children:[a("div",{dangerouslySetInnerHTML:{__html:m},className:p("mob-headline-bold-s text-color-dark desktop:desk-headline-bold-m",e?.headline)}),d("div",{className:"flex flex-col gap-6 desktop:gap-10",children:[s&&a(S,{stepperTabs:l,activeStepper:i,setActiveStepper:n,classes:e?.stepperTabs}),o.withImages&&a(g,{classes:e?.stepperCarousel,currentStepper:o}),a("div",{className:p("flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",e?.stepsWrapper,{"mobile:hidden":o.withImages}),children:o?.details?.map((r,f)=>b(u,{...r,key:r.description,index:f+1,classes:e?.step}))})]})]})})},o.tabName)};export{y as Stepper,y as default};
1
+ import{jsx as o,jsxs as m}from"react/jsx-runtime";import{useState as h,useMemo as x,createElement as b}from"react";import{SingleStep as u}from"./ui/SingleStep.js";import{StepperTabs as S}from"./ui/StepperTabs.js";import{cn as p}from"../../shared/utils/cn.js";import{StepperCarousel as g}from"./ui/StepperCarousel.js";import{ResponsiveContainer as k}from"../../shared/ui/responsiveContainer/ResponsiveContainer.js";const y=({steppers:t,headline:i,classes:e})=>{const s=t&&t?.length>1,[l,n]=h(s?t?.[0]?.tabName:""),d=x(()=>t?.map(({tabName:r})=>({tabName:r})),[t]),c=s?d?.findIndex(r=>r.tabName===l):0,a=t?.[c];return o("section",{id:"stepper","data-test-id":"stepper",className:p("w-full",e?.root),children:o(k,{className:p(e?.container),children:m("div",{className:p("flex flex-col gap-6 desktop:items-start desktop:gap-12",e?.wrapper),children:[o("div",{dangerouslySetInnerHTML:{__html:i},className:p("mob-headline-bold-s text-color-dark desktop:desk-headline-bold-m",e?.headline)}),m("div",{className:"flex flex-col gap-6 desktop:gap-10",children:[s&&o(S,{headline:i,stepperTabs:d,activeStepper:l,setActiveStepper:n,classes:e?.stepperTabs}),a.withImages&&o(g,{classes:e?.stepperCarousel,currentStepper:a}),o("div",{className:p("flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",e?.stepsWrapper,{"mobile:hidden":a.withImages}),children:a?.details?.map((r,f)=>b(u,{...r,key:r.description,index:f+1,classes:e?.step}))})]})]})})},a.tabName)};export{y as Stepper,y as default};
2
2
  //# sourceMappingURL=Stepper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Stepper.js","sources":["../../../../lib/widgets/stepper/Stepper.tsx"],"sourcesContent":["import { type HTMLAttributes, type ReactElement, useMemo, useState } from 'react'\nimport { type SingleStepper } from './model/types'\nimport { StepperCarousel } from './ui'\nimport { SingleStep, type SingleStepClasses } from './ui/SingleStep'\nimport { type StepperCarouselClasses } from './ui/StepperCarousel'\nimport { StepperTabs, type StepperTabsClasses, type StepperTabValue } from './ui/StepperTabs'\nimport { ResponsiveContainer } from '$/shared/ui'\nimport { cn } from '$/shared/utils'\n\nexport type StepperClasses = {\n root?: string\n container?: string\n wrapper?: string\n headline?: string\n stepsWrapper?: string\n step?: SingleStepClasses\n stepperTabs?: StepperTabsClasses\n stepperCarousel?: StepperCarouselClasses\n}\n\nexport interface StepperProps<WithImages extends boolean> extends HTMLAttributes<HTMLDivElement> {\n headline: ReactElement | string\n steppers: SingleStepper<WithImages>[]\n classes?: StepperClasses\n}\n\nexport const Stepper = <WithImages extends boolean>({ steppers, headline, classes }: StepperProps<WithImages>) => {\n const shouldShowTabs = steppers && steppers?.length > 1\n const [activeStepper, setActiveStepper] = useState<StepperTabValue>(shouldShowTabs ? steppers?.[0]?.tabName : '')\n\n const steppersTabs = useMemo(() => steppers?.map(({ tabName }) => ({ tabName })), [steppers])\n\n const currentStepperIndex = shouldShowTabs ? steppersTabs?.findIndex((tab) => tab.tabName === activeStepper) : 0\n const currentStepper = steppers?.[currentStepperIndex]\n\n return (\n <section key={currentStepper.tabName} id='stepper' data-test-id='stepper' className={cn('w-full', classes?.root)}>\n <ResponsiveContainer className={cn(classes?.container)}>\n <div className={cn('flex flex-col gap-6 desktop:items-start desktop:gap-12', classes?.wrapper)}>\n <div\n dangerouslySetInnerHTML={{ __html: headline }}\n className={cn('mob-headline-bold-s text-color-dark desktop:desk-headline-bold-m', classes?.headline)}\n />\n\n <div className='flex flex-col gap-6 desktop:gap-10'>\n {shouldShowTabs && (\n <StepperTabs\n stepperTabs={steppersTabs}\n activeStepper={activeStepper}\n setActiveStepper={setActiveStepper}\n classes={classes?.stepperTabs}\n />\n )}\n\n {currentStepper.withImages && <StepperCarousel classes={classes?.stepperCarousel} currentStepper={currentStepper} />}\n\n <div\n className={cn(\n 'flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12',\n classes?.stepsWrapper,\n { ['mobile:hidden']: currentStepper.withImages }\n )}\n >\n {currentStepper?.details?.map((step, index) => (\n <SingleStep {...step} key={step.description} index={index + 1} classes={classes?.step} />\n ))}\n </div>\n </div>\n </div>\n </ResponsiveContainer>\n </section>\n )\n}\n\nexport default Stepper\n"],"names":["Stepper","steppers","headline","classes","shouldShowTabs","activeStepper","setActiveStepper","useState","steppersTabs","useMemo","tabName","currentStepperIndex","tab","currentStepper","jsx","cn","ResponsiveContainer","jsxs","StepperTabs","StepperCarousel","step","index","SingleStep"],"mappings":"8ZA0BO,MAAMA,EAAU,CAA6B,CAAE,SAAAC,EAAU,SAAAC,EAAU,QAAAC,KAAwC,CAChH,MAAMC,EAAiBH,GAAYA,GAAU,OAAS,EAChD,CAACI,EAAeC,CAAgB,EAAIC,EAA0BH,EAAiBH,IAAW,CAAC,GAAG,QAAU,EAAE,EAE1GO,EAAeC,EAAQ,IAAMR,GAAU,IAAI,CAAC,CAAE,QAAAS,CAAA,KAAe,CAAE,QAAAA,CAAA,EAAU,EAAG,CAACT,CAAQ,CAAC,EAEtFU,EAAsBP,EAAiBI,GAAc,UAAWI,GAAQA,EAAI,UAAYP,CAAa,EAAI,EACzGQ,EAAiBZ,IAAWU,CAAmB,EAErD,OACEG,EAAC,UAAA,CAAqC,GAAG,UAAU,eAAa,UAAU,UAAWC,EAAG,SAAUZ,GAAS,IAAI,EAC7G,SAAAW,EAACE,GAAoB,UAAWD,EAAGZ,GAAS,SAAS,EACnD,SAAAc,EAAC,MAAA,CAAI,UAAWF,EAAG,yDAA0DZ,GAAS,OAAO,EAC3F,SAAA,CAAAW,EAAC,MAAA,CACC,wBAAyB,CAAE,OAAQZ,CAAA,EACnC,UAAWa,EAAG,mEAAoEZ,GAAS,QAAQ,CAAA,CAAA,EAGrGc,EAAC,MAAA,CAAI,UAAU,qCACZ,SAAA,CAAAb,GACCU,EAACI,EAAA,CACC,YAAaV,EACb,cAAAH,EACA,iBAAAC,EACA,QAASH,GAAS,WAAA,CAAA,EAIrBU,EAAe,YAAcC,EAACK,GAAgB,QAAShB,GAAS,gBAAiB,eAAAU,EAAgC,EAElHC,EAAC,MAAA,CACC,UAAWC,EACT,6FACAZ,GAAS,aACT,CAAG,gBAAkBU,EAAe,UAAA,CAAW,EAGhD,YAAgB,SAAS,IAAI,CAACO,EAAMC,MAClCC,EAAA,CAAY,GAAGF,EAAM,IAAKA,EAAK,YAAa,MAAOC,EAAQ,EAAG,QAASlB,GAAS,KAAM,CACxF,CAAA,CAAA,CACH,CAAA,CACF,CAAA,CAAA,CACF,CAAA,CACF,GAjCYU,EAAe,OAkC7B,CAEJ"}
1
+ {"version":3,"file":"Stepper.js","sources":["../../../../lib/widgets/stepper/Stepper.tsx"],"sourcesContent":["import { type HTMLAttributes, useMemo, useState } from 'react'\nimport { type SingleStepper } from './model/types'\nimport { StepperCarousel } from './ui'\nimport { SingleStep, type SingleStepClasses } from './ui/SingleStep'\nimport { type StepperCarouselClasses } from './ui/StepperCarousel'\nimport { StepperTabs, type StepperTabsClasses, type StepperTabValue } from './ui/StepperTabs'\nimport { ResponsiveContainer } from '$/shared/ui'\nimport { cn } from '$/shared/utils'\n\nexport type StepperClasses = {\n root?: string\n container?: string\n wrapper?: string\n headline?: string\n stepsWrapper?: string\n step?: SingleStepClasses\n stepperTabs?: StepperTabsClasses\n stepperCarousel?: StepperCarouselClasses\n}\n\nexport interface StepperProps<WithImages extends boolean> extends HTMLAttributes<HTMLDivElement> {\n headline: string\n steppers: SingleStepper<WithImages>[]\n classes?: StepperClasses\n}\n\nexport const Stepper = <WithImages extends boolean>({ steppers, headline, classes }: StepperProps<WithImages>) => {\n const shouldShowTabs = steppers && steppers?.length > 1\n const [activeStepper, setActiveStepper] = useState<StepperTabValue>(shouldShowTabs ? steppers?.[0]?.tabName : '')\n\n const steppersTabs = useMemo(() => steppers?.map(({ tabName }) => ({ tabName })), [steppers])\n\n const currentStepperIndex = shouldShowTabs ? steppersTabs?.findIndex((tab) => tab.tabName === activeStepper) : 0\n const currentStepper = steppers?.[currentStepperIndex]\n\n return (\n <section key={currentStepper.tabName} id='stepper' data-test-id='stepper' className={cn('w-full', classes?.root)}>\n <ResponsiveContainer className={cn(classes?.container)}>\n <div className={cn('flex flex-col gap-6 desktop:items-start desktop:gap-12', classes?.wrapper)}>\n <div\n dangerouslySetInnerHTML={{ __html: headline }}\n className={cn('mob-headline-bold-s text-color-dark desktop:desk-headline-bold-m', classes?.headline)}\n />\n\n <div className='flex flex-col gap-6 desktop:gap-10'>\n {shouldShowTabs && (\n <StepperTabs\n headline={headline}\n stepperTabs={steppersTabs}\n activeStepper={activeStepper}\n setActiveStepper={setActiveStepper}\n classes={classes?.stepperTabs}\n />\n )}\n\n {currentStepper.withImages && <StepperCarousel classes={classes?.stepperCarousel} currentStepper={currentStepper} />}\n\n <div\n className={cn(\n 'flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12',\n classes?.stepsWrapper,\n { ['mobile:hidden']: currentStepper.withImages }\n )}\n >\n {currentStepper?.details?.map((step, index) => (\n <SingleStep {...step} key={step.description} index={index + 1} classes={classes?.step} />\n ))}\n </div>\n </div>\n </div>\n </ResponsiveContainer>\n </section>\n )\n}\n\nexport default Stepper\n"],"names":["Stepper","steppers","headline","classes","shouldShowTabs","activeStepper","setActiveStepper","useState","steppersTabs","useMemo","tabName","currentStepperIndex","tab","currentStepper","jsx","cn","ResponsiveContainer","jsxs","StepperTabs","StepperCarousel","step","index","SingleStep"],"mappings":"8ZA0BO,MAAMA,EAAU,CAA6B,CAAE,SAAAC,EAAU,SAAAC,EAAU,QAAAC,KAAwC,CAChH,MAAMC,EAAiBH,GAAYA,GAAU,OAAS,EAChD,CAACI,EAAeC,CAAgB,EAAIC,EAA0BH,EAAiBH,IAAW,CAAC,GAAG,QAAU,EAAE,EAE1GO,EAAeC,EAAQ,IAAMR,GAAU,IAAI,CAAC,CAAE,QAAAS,CAAA,KAAe,CAAE,QAAAA,CAAA,EAAU,EAAG,CAACT,CAAQ,CAAC,EAEtFU,EAAsBP,EAAiBI,GAAc,UAAWI,GAAQA,EAAI,UAAYP,CAAa,EAAI,EACzGQ,EAAiBZ,IAAWU,CAAmB,EAErD,OACEG,EAAC,UAAA,CAAqC,GAAG,UAAU,eAAa,UAAU,UAAWC,EAAG,SAAUZ,GAAS,IAAI,EAC7G,SAAAW,EAACE,GAAoB,UAAWD,EAAGZ,GAAS,SAAS,EACnD,SAAAc,EAAC,MAAA,CAAI,UAAWF,EAAG,yDAA0DZ,GAAS,OAAO,EAC3F,SAAA,CAAAW,EAAC,MAAA,CACC,wBAAyB,CAAE,OAAQZ,CAAA,EACnC,UAAWa,EAAG,mEAAoEZ,GAAS,QAAQ,CAAA,CAAA,EAGrGc,EAAC,MAAA,CAAI,UAAU,qCACZ,SAAA,CAAAb,GACCU,EAACI,EAAA,CACC,SAAAhB,EACA,YAAaM,EACb,cAAAH,EACA,iBAAAC,EACA,QAASH,GAAS,WAAA,CAAA,EAIrBU,EAAe,YAAcC,EAACK,GAAgB,QAAShB,GAAS,gBAAiB,eAAAU,EAAgC,EAElHC,EAAC,MAAA,CACC,UAAWC,EACT,6FACAZ,GAAS,aACT,CAAG,gBAAkBU,EAAe,UAAA,CAAW,EAGhD,YAAgB,SAAS,IAAI,CAACO,EAAMC,MAClCC,EAAA,CAAY,GAAGF,EAAM,IAAKA,EAAK,YAAa,MAAOC,EAAQ,EAAG,QAASlB,GAAS,KAAM,CACxF,CAAA,CAAA,CACH,CAAA,CACF,CAAA,CAAA,CACF,CAAA,CACF,GAlCYU,EAAe,OAmC7B,CAEJ"}
@@ -1,2 +1,2 @@
1
- import{jsx as e}from"react/jsx-runtime";import{memo as c}from"react";import{cn as t}from"../../../shared/utils/cn.js";const m=c(({stepperTabs:l,activeStepper:p,setActiveStepper:n,classes:r})=>e("div",{className:t("customScrollbar-y scrollHidden flex items-center gap-4 overflow-x-auto",r?.wrapper),children:l?.map(({tabName:o})=>e("button",{onClick:()=>n(o),className:t("mob-body-regular-m text-nowrap rounded-sm bg-color-blue-grey-100 px-3 py-1.5 text-color-secondary outline-1 outline-offset-4 outline-transparent desktop:desk-body-regular-l focus:outline-primary-focus desktop:px-4 desktop:py-3",{"bg-icon-primary-default text-color-white":p===o},r?.tab),children:o},o))}));export{m as StepperTabs};
1
+ import{jsx as e}from"react/jsx-runtime";import{memo as m}from"react";import{cn as t}from"../../../shared/utils/cn.js";import{pushToDlTab as s}from"../../../shared/dataLayers/utils.js";import{extractTextFromHtml as c}from"../../../shared/utils/extractTextFromHtml.js";const y=m(({stepperTabs:p,activeStepper:l,setActiveStepper:n,classes:r,headline:i})=>e("div",{className:t("customScrollbar-y scrollHidden flex items-center gap-4 overflow-x-auto",r?.wrapper),children:p?.map(({tabName:o})=>e("button",{onClick:()=>n(o),onPointerDown:()=>s(o,c(i),"stepper"),className:t("mob-body-regular-m text-nowrap rounded-sm bg-color-blue-grey-100 px-3 py-1.5 text-color-secondary outline-1 outline-offset-4 outline-transparent desktop:desk-body-regular-l focus:outline-primary-focus desktop:px-4 desktop:py-3",{"bg-icon-primary-default text-color-white":l===o},r?.tab),children:o},o))}));export{y as StepperTabs};
2
2
  //# sourceMappingURL=StepperTabs.js.map