md-components-mdigial-azamat 0.0.32 → 0.0.35
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.
- package/dist/Actions/downloadFile/downloadFile.js +28 -0
- package/dist/Actions/index.js +13 -0
- package/dist/Actions/types.js +9 -0
- package/dist/AllComponents.js +29 -9
- package/dist/AnimatedSwiper/Slide/Slide.js +29 -29
- package/dist/AnimatedSwiper/index.js +10 -137
- package/dist/Banner/Banner.js +152 -8
- package/dist/Banner/index.js +2 -2
- package/dist/BannerAndText/index.js +56 -27
- package/dist/CardIconList/CardIconList.js +81 -26
- package/dist/CardIconList/index.js +2 -2
- package/dist/CardImageList/CardImageList.js +75 -8
- package/dist/CardImageList/index.js +1 -1
- package/dist/CardImageSecondary/CardImageSecondary.js +57 -27
- package/dist/CardImageSecondary/index.js +2 -2
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +27 -4
- package/dist/CardImageSecondaryList/index.js +1 -1
- package/dist/CardInfoTable/index.js +187 -26
- package/dist/Cards/CardImage/CardImage.js +2 -2
- package/dist/Cards/ColoredCard/index.js +2 -2
- package/dist/Cards/ContentCard/ContentCard.js +38 -5
- package/dist/Cards/ContentCard/index.js +2 -2
- package/dist/Cards/FeaturesCard/index.js +3 -3
- package/dist/Cards/WarningCard/WarningCard.js +58 -6
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/Cards/WarningCard/model.js +39 -7
- package/dist/ComponentContainer-cdb2528c.js +16 -0
- package/dist/ContentCardList/ContentCardList.js +34 -25
- package/dist/ContentCardList/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +41 -5
- package/dist/DownloadFile/components/DownloadFileBanner/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileBright/index.js +74 -8
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +50 -5
- package/dist/DownloadFile/components/DownloadFileFull/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +46 -5
- package/dist/DownloadFile/components/DownloadFileHalf/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +56 -5
- package/dist/DownloadFile/components/DownloadFileMini/index.js +2 -2
- package/dist/Faq/Faq.js +44 -24
- package/dist/Faq/components/Collapse/Collapse.js +37 -19
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +1061 -4
- package/dist/Faq/components/FeedbackForm/index.js +2 -2
- package/dist/Faq/components/PlusMinusIcon/PlusMinusIcon.js +1 -1
- package/dist/Faq/index.js +2 -2
- package/dist/Footer/Footer.js +452 -0
- package/dist/Footer/components/ContactOfFooter/ContactOfFooter.js +34 -0
- package/dist/Footer/components/LinkToApp/LinkToApp.js +45 -0
- package/dist/Footer/components/LinkToAppMobile/LinkToAppMobile.js +28 -0
- package/dist/Footer/components/ListNavigation/ListNavigation.js +221 -0
- package/dist/Footer/components/NavigationFooter/NavigationFooter.js +31 -0
- package/dist/Footer/components/SocialButtonsList/SocialButtonsList.js +37 -0
- package/dist/Footer/types.js +1 -0
- package/dist/GooglePlayButton-35331c37.js +100 -0
- package/dist/Header/Header.js +8 -0
- package/dist/Header/components/HeaderCard/HeaderCard.js +37 -0
- package/dist/Header/components/HeaderCard/index.js +4 -0
- package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +208 -0
- package/dist/Header/components/HeaderMenu/HeaderMenu.js +41 -0
- package/dist/Header/components/HeaderMenu/index.js +1 -0
- package/dist/Header/components/HeaderMenuMobile/HeaderMenuMobile.js +47 -0
- package/dist/Header/components/HeaderMobile/HeaderMobile.js +11 -0
- package/dist/Header/components/HeaderMobile/index.js +4 -0
- package/dist/Header/components/HeaderResults/HeaderResults.js +46 -0
- package/dist/Header/components/HeaderResults/index.js +4 -0
- package/dist/Header/components/HeaderSearch/HeaderSearch.js +13 -0
- package/dist/Header/components/HeaderSearch/index.js +4 -0
- package/dist/Header/components/HeaderSearchMobile/HeaderSearchMobile.js +78 -0
- package/dist/Header/components/HeaderTab/HeaderTab.js +34 -0
- package/dist/Header/components/HeaderTab/index.js +4 -0
- package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +55 -0
- package/dist/Header/components/HeaderWeb/HeaderWeb.js +149 -0
- package/dist/Header/components/HeaderWeb/index.js +4 -0
- package/dist/Header/components/SelectLanguage/SelectLanguage.js +79 -0
- package/dist/Header/components/SelectLanguage/index.js +4 -0
- package/dist/Header/components/TabsOutlined/TabsOutlined.js +50 -0
- package/dist/Header/components/TabsOutlined/index.js +4 -0
- package/dist/Header/const.js +4 -0
- package/dist/Header/index.js +4 -0
- package/dist/Header/types.js +5 -0
- package/dist/HeroPossibilityBanner/index.js +1 -1
- package/dist/HtmlContent/HtmlContent.js +1 -1
- package/dist/Icon-70ea6cb8.js +187 -0
- package/dist/InfoBanner/index.js +89 -7
- package/dist/InfoBannerList/InfoBannerList.js +5 -5
- package/dist/InfoBannerList/index.js +2 -2
- package/dist/InstructionList/InstructionList.js +6 -4
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +47 -66
- package/dist/InstructionList/components/InstructionCard/index.js +1 -1
- package/dist/InstructionList/components/InstructionModal/InstructionModal.js +2 -2
- package/dist/InstructionList/index.js +1 -1
- package/dist/IntroBanner/IntroBanner.js +68 -6
- package/dist/IntroBanner/index.js +1 -1
- package/dist/MainBanner/MainBanner.js +84 -6
- package/dist/MainBanner/index.js +2 -2
- package/dist/MultiCards/index.js +88 -5
- package/dist/PageViewer/PageViewer.js +22 -5
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/Partners/Partners.js +2 -2
- package/dist/PartnersColors/PartnersColors.js +1 -1
- package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +1 -1
- package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +2 -2
- package/dist/PreviewList/PreviewList.js +4 -2
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +45 -3
- package/dist/PreviewList/components/PreviewCard/index.js +2 -2
- package/dist/PreviewList/index.js +1 -1
- package/dist/PromoPoster/PromoPoster.js +7 -48
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +11 -11
- package/dist/Segments/Segments.js +1 -1
- package/dist/StandartTable/components/CardMarkedRow/index.js +47 -73
- package/dist/StandartTable/components/CardWarning/index.js +87 -6
- package/dist/StandartTable/index.js +4 -4
- package/dist/Stepper/Stepper.js +50 -6
- package/dist/Stepper/index.js +1 -1
- package/dist/SwiperList/SwiperList.js +11 -97
- package/dist/SwiperList/components/Bullet/Bullet.js +1 -1
- package/dist/SwiperList/components/Slide/Slide.js +6 -6
- package/dist/SwiperList/index.js +1 -1
- package/dist/TasksBanner/TasksBanner.js +9 -123
- package/dist/TasksBanner/index.js +2 -2
- package/dist/TasksBannerList/TasksBannerList.js +5 -30
- package/dist/TasksBannerList/index.js +2 -2
- package/dist/Types/FiledTypes.js +1 -1
- package/dist/Video/VideoFull/VideoFull.js +1 -1
- package/dist/Video/VideoList/VideoList.js +1 -1
- package/dist/Video/VideoListMini/VideoListMini.js +1 -1
- package/dist/Video/components/VideoPlayer/VideoPlayer.js +1 -1
- package/dist/VideoMainBanner/VideoMainBanner.js +168 -7
- package/dist/VideoMainBanner/index.js +2 -2
- package/dist/assets/index.css +1 -1
- package/dist/{cn-d8c04b28.js → cn-6a4bf187.js} +521 -488
- package/dist/componentsMap-e2de87b6.js +68 -0
- package/dist/const-637b0dca.js +27 -0
- package/dist/data.mock-483400cb.js +1713 -0
- package/dist/header-97863d08.js +22 -0
- package/dist/{index-60dfa873.js → index-2265d593.js} +1 -1
- package/dist/index-2fb01942.js +925 -0
- package/dist/index-3a534581.js +261 -0
- package/dist/index-66837af1.js +313 -0
- package/dist/index-6af94f99.js +53 -0
- package/dist/{index-a379154f.js → index-815f0132.js} +2 -2
- package/dist/languages-list-8419e560.js +22 -0
- package/dist/logo-99aa20bd.js +27 -0
- package/dist/main.js +85 -66
- package/dist/mousewheel-865ae601.js +153 -0
- package/dist/palette-b47a76c9.js +46 -0
- package/dist/routes-382632ac.js +7 -0
- package/dist/search-dd4eb6f8.js +5 -0
- package/dist/{swiper-react-c049ea66.js → swiper-react-90953710.js} +760 -935
- package/dist/trash/HeroLargeCards/index.js +1 -1
- package/dist/useClickOutside-197b0df2.js +12 -0
- package/package.json +4 -2
- package/dist/ComponentContainer-0fcc2695.js +0 -16
- package/dist/componentsMap-71c9335f.js +0 -50
- package/dist/index-92f77047.js +0 -4865
- package/dist/model-9e50e351.js +0 -69
- /package/dist/assets/{swiper-react.css → index2.css} +0 -0
- /package/dist/assets/{TasksBanner.css → index3.css} +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsx as n, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import { useState as s } from "react";
|
|
3
|
+
import { a as f } from "../../../cn-6a4bf187.js";
|
|
4
|
+
import { I as x } from "../../../index-2265d593.js";
|
|
5
|
+
const b = ({ categories: e, activeSubcategory: l, openResult: p }) => {
|
|
6
|
+
const [a, d] = s(
|
|
7
|
+
e.length > 0 ? e[0].id : 1
|
|
8
|
+
), o = (t) => {
|
|
9
|
+
d(t), l(t), p(!0);
|
|
10
|
+
}, i = (t, r) => {
|
|
11
|
+
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), o(r));
|
|
12
|
+
};
|
|
13
|
+
return /* @__PURE__ */ n("div", { className: "flex flex-col gap-4 border-r border-[#E0E5E8] py-5 pl-5 pr-0 w-full max-w-[272px]", children: e == null ? void 0 : e.map((t) => /* @__PURE__ */ c(
|
|
14
|
+
"button",
|
|
15
|
+
{
|
|
16
|
+
type: "button",
|
|
17
|
+
onClick: () => o(t.id),
|
|
18
|
+
onKeyDown: (r) => i(r, t.id),
|
|
19
|
+
className: f(
|
|
20
|
+
"flex items-center gap-3 text-[#0E0F11] text-[15px] font-medium leading-[22px] cursor-pointer opacity-60 py-1.5 hover:opacity-100 bg-transparent border-none text-left w-full",
|
|
21
|
+
a === t.id && "opacity-100 border-r-2 border-green-600"
|
|
22
|
+
),
|
|
23
|
+
children: [
|
|
24
|
+
/* @__PURE__ */ n(
|
|
25
|
+
x,
|
|
26
|
+
{
|
|
27
|
+
src: t.icon,
|
|
28
|
+
alt: t.title,
|
|
29
|
+
width: 20,
|
|
30
|
+
height: 20
|
|
31
|
+
}
|
|
32
|
+
),
|
|
33
|
+
/* @__PURE__ */ n("span", { children: t.title })
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
t.id
|
|
37
|
+
)) });
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
b as default
|
|
41
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../const.js";
|
|
4
|
+
import "../../../ConfigProvider/index.js";
|
|
5
|
+
import "../../../Banner/Banner.js";
|
|
6
|
+
import "../../../BannerAndText/index.js";
|
|
7
|
+
import "../../../cn-6a4bf187.js";
|
|
8
|
+
import { g as T } from "../../../index-2fb01942.js";
|
|
9
|
+
import "../../../HtmlContent/HtmlContent.js";
|
|
10
|
+
import "../TabsOutlined/TabsOutlined.js";
|
|
11
|
+
import "../../../index-6af94f99.js";
|
|
12
|
+
import "../../../const-637b0dca.js";
|
|
13
|
+
import "../../../Stepper/Stepper.js";
|
|
14
|
+
import "../../../Segments/Segments.js";
|
|
15
|
+
import "../../../Video/VideoFull/VideoFull.js";
|
|
16
|
+
import "../../../Video/VideoList/VideoList.js";
|
|
17
|
+
import "../../../Video/VideoListMini/VideoListMini.js";
|
|
18
|
+
import "../../../ContentCardList/ContentCardList.js";
|
|
19
|
+
import "../../../CardIconList/CardIconList.js";
|
|
20
|
+
import "../../../MultiCards/index.js";
|
|
21
|
+
import "../../../Partners/Partners.js";
|
|
22
|
+
import "../../../CardImageList/CardImageList.js";
|
|
23
|
+
import "../../../MainBanner/MainBanner.js";
|
|
24
|
+
import "../../../Faq/Faq.js";
|
|
25
|
+
import "../../../HeroPossibilityBanner/index.js";
|
|
26
|
+
import "../../../PartnersColors/PartnersColors.js";
|
|
27
|
+
import "../../../Cards/CardImage/CardImage.js";
|
|
28
|
+
import "../../../Cards/ContentCard/ContentCard.js";
|
|
29
|
+
import "../../../Cards/WarningCard/WarningCard.js";
|
|
30
|
+
import "../../../Cards/ColoredCard/index.js";
|
|
31
|
+
import "../../../index-815f0132.js";
|
|
32
|
+
import "../../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
33
|
+
import "../../../DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
34
|
+
import "../../../DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
|
|
35
|
+
import "../../../DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
|
|
36
|
+
import "../../../Faq/components/Collapse/Collapse.js";
|
|
37
|
+
import "../../../index-66837af1.js";
|
|
38
|
+
import "../../../CardImageSecondaryList/CardImageSecondaryList.js";
|
|
39
|
+
import "../../../CardInfoTable/index.js";
|
|
40
|
+
import "../../../DownloadFile/components/DownloadFileBright/index.js";
|
|
41
|
+
import "../../../IntroBanner/IntroBanner.js";
|
|
42
|
+
import "../../../Space/Space.js";
|
|
43
|
+
import "../../../VideoMainBanner/VideoMainBanner.js";
|
|
44
|
+
import "../HeaderTabsMobile/HeaderTabsMobile.js";
|
|
45
|
+
export {
|
|
46
|
+
T as default
|
|
47
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../const.js";
|
|
4
|
+
import "../../../index-3a534581.js";
|
|
5
|
+
import "../../../cn-6a4bf187.js";
|
|
6
|
+
import "../HeaderMainMobile/HeaderMainMobile.js";
|
|
7
|
+
import { h as d } from "../../../index-2fb01942.js";
|
|
8
|
+
import "../HeaderSearchMobile/HeaderSearchMobile.js";
|
|
9
|
+
export {
|
|
10
|
+
d as HeaderMobile
|
|
11
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { jsxs as I, jsx as z } from "react/jsx-runtime";
|
|
2
|
+
import { I as g } from "../../../index-2265d593.js";
|
|
3
|
+
import D from "../HeaderCard/HeaderCard.js";
|
|
4
|
+
const T = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzgyNjVfMzgxMzIpIj4KPHBhdGggZD0iTTE1Ljg5MjYgMTUuODkyNkwxNS4zNjIzIDE1LjM2MjNMMTUuODkyNiAxNS44OTI2Wk00LjEwNzUyIDE1Ljg5MjZMMy41NzcxOSAxNi40MjNMNC4xMDc1MiAxNS44OTI2Wk00LjEwNzUyIDQuMTA3NTJMMy41NzcxOSAzLjU3NzE5TDQuMTA3NTIgNC4xMDc1MlpNMTUuMzYyMyA0LjYzNzg2QzE4LjMyMzggNy41OTkzMyAxOC4zMjM4IDEyLjQwMDggMTUuMzYyMyAxNS4zNjIzTDE2LjQyMyAxNi40MjNDMTkuOTcwMiAxMi44NzU3IDE5Ljk3MDIgNy4xMjQ0NiAxNi40MjMgMy41NzcxOUwxNS4zNjIzIDQuNjM3ODZaTTE1LjM2MjMgMTUuMzYyM0MxMi40MDA4IDE4LjMyMzggNy41OTkzMyAxOC4zMjM4IDQuNjM3ODYgMTUuMzYyM0wzLjU3NzE5IDE2LjQyM0M3LjEyNDQ2IDE5Ljk3MDIgMTIuODc1NyAxOS45NzAyIDE2LjQyMyAxNi40MjNMMTUuMzYyMyAxNS4zNjIzWk00LjYzNzg2IDE1LjM2MjNDMS42NzYzOCAxMi40MDA4IDEuNjc2MzggNy41OTkzMyA0LjYzNzg2IDQuNjM3ODZMMy41NzcxOSAzLjU3NzE5QzAuMDI5OTMyNiA3LjEyNDQ2IDAuMDI5OTMyMSAxMi44NzU3IDMuNTc3MTkgMTYuNDIzTDQuNjM3ODYgMTUuMzYyM1pNNC42Mzc4NiA0LjYzNzg2QzcuNTk5MzMgMS42NzYzOCAxMi40MDA4IDEuNjc2MzggMTUuMzYyMyA0LjYzNzg2TDE2LjQyMyAzLjU3NzE5QzEyLjg3NTcgMC4wMjk5MzI0IDcuMTI0NDYgMC4wMjk5MzI0IDMuNTc3MTkgMy41NzcxOUw0LjYzNzg2IDQuNjM3ODZaTTcuMTk3MDYgMTMuODYzOEwxMy4yMzMgNy44MjgyTDEyLjE3MjMgNi43Njc1MUw2LjEzNjQzIDEyLjgwMzFMNy4xOTcwNiAxMy44NjM4Wk0xMy4yMzMgNy44MjgyTDEzLjQ3NzEgNy41ODQxM0wxMi40MTY0IDYuNTIzNDRMMTIuMTcyMyA2Ljc2NzUxTDEzLjIzMyA3LjgyODJaTTEyLjE5NjcgOC43MjA0NVYxMS42NjY3SDEzLjY5NjdWOC43MjA0NUgxMi4xOTY3Wk04LjMzMzQyIDcuODAzNzhIMTEuMjgwMVY2LjMwMzc4SDguMzMzNDJWNy44MDM3OFpNMTMuNjk2NyA4LjcyMDQ1QzEzLjY5NjcgOC4zNDg4MSAxMy42OTgzIDcuOTk0NjMgMTMuNjU5NSA3LjcwNjExQzEzLjYxNzggNy4zOTYwMiAxMy41MTc2IDcuMDUyMTQgMTMuMjMzIDYuNzY3NTJMMTIuMTcyMyA3LjgyODE4QzEyLjEzMTggNy43ODc2NSAxMi4xNTM2IDcuNzYyMjMgMTIuMTcyOSA3LjkwNTk5QzEyLjE5NTEgOC4wNzEzMyAxMi4xOTY3IDguMzA2NDEgMTIuMTk2NyA4LjcyMDQ1SDEzLjY5NjdaTTExLjI4MDEgNy44MDM3OEMxMS42OTQxIDcuODAzNzggMTEuOTI5MiA3LjgwNTM3IDEyLjA5NDUgNy44Mjc2QzEyLjIzODMgNy44NDY5MyAxMi4yMTI5IDcuODY4NzMgMTIuMTcyMyA3LjgyODE5TDEzLjIzMyA2Ljc2NzUyQzEyLjk0ODQgNi40ODI5MSAxMi42MDQ1IDYuMzgyNjcgMTIuMjk0NCA2LjM0MDk4QzEyLjAwNTkgNi4zMDIxOSAxMS42NTE3IDYuMzAzNzggMTEuMjgwMSA2LjMwMzc4VjcuODAzNzhaTTEyLjE3MjMgNy44MjgxOEMxMi4xNzIzIDcuODI4MTggMTIuMTcyMyA3LjgyODE4IDEyLjE3MjMgNy44MjgxOEMxMi43MDI3IDcuMjk3ODUgMTMuMjMzIDYuNzY3NTIgMTMuMjMzIDYuNzY3NTJDMTMuMjMzIDYuNzY3NTIgMTMuMjMzIDYuNzY3NTIgMTMuMjMzIDYuNzY3NTJDMTMuMjMzIDYuNzY3NTIgMTMuMjMzIDYuNzY3NTIgMTMuMjMzIDYuNzY3NTJDMTMuMjMzIDYuNzY3NTIgMTMuMjMzIDYuNzY3NTIgMTMuMjMzIDYuNzY3NTJDMTMuMjMzIDYuNzY3NTIgMTMuMjMzIDYuNzY3NTIgMTMuMjMzIDYuNzY3NTJDMTMuMjMzIDYuNzY3NTIgMTIuNzAyNyA3LjI5Nzg1IDEyLjE3MjMgNy44MjgxOEMxMi4xNzIzIDcuODI4MTggMTIuMTcyMyA3LjgyODE4IDEyLjE3MjMgNy44MjgxOEMxMi4xNzIzIDcuODI4MTggMTIuMTcyMyA3LjgyODE4IDEyLjE3MjMgNy44MjgxOEwxMy4yMzMgNi43Njc1MkMxMy4yMzMgNi43Njc1MiAxMy4yMzMgNi43Njc1MiAxMy4yMzMgNi43Njc1MkMxMy4yMzMgNi43Njc1MiAxMy4yMzMgNi43Njc1MiAxMy4yMzMgNi43Njc1MkMxMi43MDI3IDcuMjk3ODUgMTIuMTcyMyA3LjgyODE4IDEyLjE3MjMgNy44MjgxOEMxMi4xNzIzIDcuODI4MTggMTIuMTcyMyA3LjgyODE4IDEyLjE3MjMgNy44MjgxOEMxMi4xNzIzIDcuODI4MTggMTIuMTcyMyA3LjgyODE4IDEyLjE3MjMgNy44MjgxOEMxMi4xNzIzIDcuODI4MTggMTIuMTcyMyA3LjgyODE4IDEyLjE3MjMgNy44MjgxOEMxMi4xNzIzIDcuODI4MTggMTIuNzAyNyA3LjI5Nzg1IDEzLjIzMyA2Ljc2NzUyQzEzLjIzMyA2Ljc2NzUyIDEzLjIzMyA2Ljc2NzUyIDEzLjIzMyA2Ljc2NzUyQzEzLjIzMyA2Ljc2NzUyIDEzLjIzMyA2Ljc2NzUyIDEzLjIzMyA2Ljc2NzUyQzEzLjIzMyA2Ljc2NzUyIDEzLjIzMyA2Ljc2NzUyIDEzLjIzMyA2Ljc2NzUyTDEyLjE3MjMgNy44MjgxOFoiIGZpbGw9IiMzQjgyRjYiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF84MjY1XzM4MTMyIj4KPHJlY3Qgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=", x = ({ data: N, onClick: j }) => {
|
|
5
|
+
var y;
|
|
6
|
+
return /* @__PURE__ */ I("div", { className: "flex justify-between w-full p-3 pt-3.5", children: [
|
|
7
|
+
/* @__PURE__ */ z("div", { className: "grid grid-flow-col grid-rows-6 gap-x-8 gap-y-0 h-fit", children: (y = N == null ? void 0 : N.subcategories) == null ? void 0 : y.map((M) => /* @__PURE__ */ z(
|
|
8
|
+
"div",
|
|
9
|
+
{
|
|
10
|
+
className: "box-border p-3",
|
|
11
|
+
children: M != null && M.is_page ? /* @__PURE__ */ I(
|
|
12
|
+
"a",
|
|
13
|
+
{
|
|
14
|
+
href: M == null ? void 0 : M.link,
|
|
15
|
+
onClick: j,
|
|
16
|
+
className: "flex items-center gap-1.5 text-blue-500 text-[15px] font-medium leading-[22px] text-deepBlue",
|
|
17
|
+
children: [
|
|
18
|
+
N == null ? void 0 : N.title,
|
|
19
|
+
/* @__PURE__ */ z(
|
|
20
|
+
g,
|
|
21
|
+
{
|
|
22
|
+
src: T,
|
|
23
|
+
alt: "circle-arrow",
|
|
24
|
+
width: 20,
|
|
25
|
+
height: 20
|
|
26
|
+
}
|
|
27
|
+
)
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
) : /* @__PURE__ */ z(
|
|
31
|
+
"a",
|
|
32
|
+
{
|
|
33
|
+
href: M == null ? void 0 : M.link,
|
|
34
|
+
onClick: j,
|
|
35
|
+
children: /* @__PURE__ */ z("span", { className: "text-[#40474F] text-[15px] font-normal leading-[22px] cursor-pointer transition-colors duration-500 hover:text-green-400", children: M == null ? void 0 : M.title })
|
|
36
|
+
}
|
|
37
|
+
)
|
|
38
|
+
},
|
|
39
|
+
M == null ? void 0 : M.id
|
|
40
|
+
)) }),
|
|
41
|
+
(N == null ? void 0 : N.banner_image) && /* @__PURE__ */ z(D, { data: N })
|
|
42
|
+
] });
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
x as default
|
|
46
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../../search-dd4eb6f8.js";
|
|
4
|
+
import "../../../HtmlContent/HtmlContent.js";
|
|
5
|
+
import { T as s, H as A } from "../../../index-3a534581.js";
|
|
6
|
+
import "../../../useClickOutside-197b0df2.js";
|
|
7
|
+
import "../../../index-2265d593.js";
|
|
8
|
+
import "../../../header-97863d08.js";
|
|
9
|
+
import "../TabsOutlined/TabsOutlined.js";
|
|
10
|
+
export {
|
|
11
|
+
s as TOTAL_QUANTITY,
|
|
12
|
+
A as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { jsx as a, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import { useState as h } from "react";
|
|
3
|
+
import { HeaderMobileRender as b } from "../../const.js";
|
|
4
|
+
import { HtmlContent as u } from "../../../HtmlContent/HtmlContent.js";
|
|
5
|
+
import { u as g } from "../../../useClickOutside-197b0df2.js";
|
|
6
|
+
import { c as f } from "../../../cn-6a4bf187.js";
|
|
7
|
+
import { f as v, g as w, a as T } from "../../../header-97863d08.js";
|
|
8
|
+
import { TabsOutlined as N } from "../TabsOutlined/TabsOutlined.js";
|
|
9
|
+
const y = 8, A = 8, S = ({ render: p, results: l, showResults: r }) => {
|
|
10
|
+
const [n, x] = h(A), { ref: s } = g(r, () => {
|
|
11
|
+
}), d = l ? v(l) : { arrays: {}, nonArrays: {} }, i = [...w(d)].sort(
|
|
12
|
+
(e, o) => e.title === "common_words.all" ? -1 : o.title === "common_words.all" ? 1 : 0
|
|
13
|
+
), t = T(
|
|
14
|
+
y,
|
|
15
|
+
n,
|
|
16
|
+
d,
|
|
17
|
+
i
|
|
18
|
+
), m = (e) => x(e);
|
|
19
|
+
return /* @__PURE__ */ a(
|
|
20
|
+
"div",
|
|
21
|
+
{
|
|
22
|
+
className: f(
|
|
23
|
+
"fixed -top-[100vh] left-0 right-0 w-full h-[calc(100vh-56px)] bg-white4 z-[9998] overflow-y-auto overflow-x-hidden transition-all duration-500 pb-12",
|
|
24
|
+
{
|
|
25
|
+
"top-14": p === b.SEARCH
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
children: /* @__PURE__ */ a("div", { className: "w-full pt-[7px]", children: r && (t != null && t.length ? /* @__PURE__ */ c(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
className: "flex flex-col gap-3 w-full py-2 px-4 rounded-[20px] z-[1000] bg-white animate-fadeInDropdown",
|
|
32
|
+
ref: s,
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ a("div", { className: "pt-3", children: /* @__PURE__ */ a(
|
|
35
|
+
N,
|
|
36
|
+
{
|
|
37
|
+
onClick: m,
|
|
38
|
+
activeTab: n,
|
|
39
|
+
navigation: i
|
|
40
|
+
}
|
|
41
|
+
) }),
|
|
42
|
+
/* @__PURE__ */ a("div", { className: "flex flex-col gap-2 bg-white/80 backdrop-blur-[15px]", children: t == null ? void 0 : t.map((e, o) => /* @__PURE__ */ c(
|
|
43
|
+
"a",
|
|
44
|
+
{
|
|
45
|
+
href: (e == null ? void 0 : e.link) || "#",
|
|
46
|
+
className: "flex flex-col gap-0.5 py-2 px-3 hover:rounded-xl hover:bg-white4",
|
|
47
|
+
children: [
|
|
48
|
+
/* @__PURE__ */ a("span", { className: "text-blackBG text-base font-medium leading-6", children: e == null ? void 0 : e.title }),
|
|
49
|
+
/* @__PURE__ */ a(
|
|
50
|
+
u,
|
|
51
|
+
{
|
|
52
|
+
className: "text-grayBlue text-sm leading-5 font-variant-numeric font-feature-settings [text-overflow:ellipsis] [&_div]:text-base [&_div]:leading-5",
|
|
53
|
+
data: (e == null ? void 0 : e.body) ?? ""
|
|
54
|
+
}
|
|
55
|
+
)
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
o
|
|
59
|
+
)) })
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
) : /* @__PURE__ */ a(
|
|
63
|
+
"div",
|
|
64
|
+
{
|
|
65
|
+
className: f(
|
|
66
|
+
"flex flex-col gap-3 w-full py-2 px-4 rounded-[20px] z-[1000] bg-white animate-fadeInDropdown text-sm font-medium"
|
|
67
|
+
),
|
|
68
|
+
ref: s,
|
|
69
|
+
children: "Не найдено"
|
|
70
|
+
}
|
|
71
|
+
)) })
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
};
|
|
75
|
+
export {
|
|
76
|
+
y as TOTAL_QUANTITY,
|
|
77
|
+
S as default
|
|
78
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
+
import { c as s } from "../../../cn-6a4bf187.js";
|
|
3
|
+
const l = ({
|
|
4
|
+
item: e,
|
|
5
|
+
activeTab: t,
|
|
6
|
+
onTabClick: o,
|
|
7
|
+
onTabHover: r,
|
|
8
|
+
onTabLeave: p,
|
|
9
|
+
className: a
|
|
10
|
+
}) => {
|
|
11
|
+
const d = (n) => {
|
|
12
|
+
(n.key === "Enter" || n.key === " ") && (n.preventDefault(), o(e.link));
|
|
13
|
+
};
|
|
14
|
+
return /* @__PURE__ */ x(
|
|
15
|
+
"div",
|
|
16
|
+
{
|
|
17
|
+
className: s(
|
|
18
|
+
"text-graySoft font-inter text-[15px] font-medium leading-[22px] cursor-pointer px-[14px] py-[8px]",
|
|
19
|
+
e.id === t && "bg-gray-100 rounded-[10px]",
|
|
20
|
+
a
|
|
21
|
+
),
|
|
22
|
+
role: "button",
|
|
23
|
+
tabIndex: 0,
|
|
24
|
+
onClick: () => o(e.link),
|
|
25
|
+
onKeyDown: d,
|
|
26
|
+
onMouseEnter: () => r({ id: e.id, type: e.type, data: e.categories }),
|
|
27
|
+
onMouseLeave: () => p(e.type),
|
|
28
|
+
children: e.title
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
l as HeaderTab
|
|
34
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect as f } from "react";
|
|
3
|
+
import { S as m, N as b, a as g, b as x } from "../../../swiper-react-90953710.js";
|
|
4
|
+
import { M as k } from "../../../mousewheel-865ae601.js";
|
|
5
|
+
import { R as S } from "../../../routes-382632ac.js";
|
|
6
|
+
import { c as y } from "../../../cn-6a4bf187.js";
|
|
7
|
+
import '../../../assets/swiper.css';/* empty css */m.use([b, k]);
|
|
8
|
+
const R = ({ sectionsData: r, setCategoriesData: i }) => {
|
|
9
|
+
f(() => {
|
|
10
|
+
r.length > 0 && i(r[0].categories);
|
|
11
|
+
}, [r, i]);
|
|
12
|
+
const s = (e, o, n) => {
|
|
13
|
+
if (o) {
|
|
14
|
+
window.location.href = o;
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
window.location.href = S.MAIN_PAGE, i(n);
|
|
18
|
+
}, a = window.location.pathname.startsWith("/") ? window.location.pathname.slice(1) : window.location.pathname, c = (e) => {
|
|
19
|
+
if (!e)
|
|
20
|
+
return "";
|
|
21
|
+
try {
|
|
22
|
+
return new URL(e).pathname;
|
|
23
|
+
} catch {
|
|
24
|
+
return e;
|
|
25
|
+
}
|
|
26
|
+
}, t = (e) => e ? c(e).replace(/^\//, "").split("?")[0].split("#")[0] : "", d = (e, o) => {
|
|
27
|
+
const n = t(a), p = t(e.link), w = r.some(
|
|
28
|
+
(h) => t(h.link) === n
|
|
29
|
+
), u = (e == null ? void 0 : e.link) && p === n || !(e != null && e.link) && (!w || !a) && o === 0;
|
|
30
|
+
return y(
|
|
31
|
+
"swiper-slide w-auto",
|
|
32
|
+
u && "bg-yellowLight rounded-xl [&_.tab]:bg-yellowLight [&_.tab]:rounded-xl"
|
|
33
|
+
);
|
|
34
|
+
};
|
|
35
|
+
return /* @__PURE__ */ l("div", { className: "py-2 mb-3 [&_.swiper-slide]:w-auto", children: /* @__PURE__ */ l(
|
|
36
|
+
g,
|
|
37
|
+
{
|
|
38
|
+
spaceBetween: 8,
|
|
39
|
+
slidesPerView: "auto",
|
|
40
|
+
mousewheel: !0,
|
|
41
|
+
children: r == null ? void 0 : r.map((e, o) => /* @__PURE__ */ l(
|
|
42
|
+
x,
|
|
43
|
+
{
|
|
44
|
+
className: d(e, o),
|
|
45
|
+
onClick: () => s(e.id, e.link, e.categories),
|
|
46
|
+
children: /* @__PURE__ */ l("div", { className: "py-2.5 px-4 rounded-xl bg-[#f4f6f7] text-[#0e0f11] text-sm font-medium leading-5 tab", children: e.title })
|
|
47
|
+
},
|
|
48
|
+
o
|
|
49
|
+
))
|
|
50
|
+
}
|
|
51
|
+
) });
|
|
52
|
+
};
|
|
53
|
+
export {
|
|
54
|
+
R as default
|
|
55
|
+
};
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as o, useMemo as c } from "react";
|
|
3
|
+
import { M as z, G as D } from "../../../logo-99aa20bd.js";
|
|
4
|
+
import { S as W } from "../../../search-dd4eb6f8.js";
|
|
5
|
+
import { a as A } from "../../../cn-6a4bf187.js";
|
|
6
|
+
import { R as h } from "../../../routes-382632ac.js";
|
|
7
|
+
import { u as E } from "../../../useClickOutside-197b0df2.js";
|
|
8
|
+
import { I as k } from "../../../index-2265d593.js";
|
|
9
|
+
import O from "../HeaderMenu/HeaderMenu.js";
|
|
10
|
+
import P from "../HeaderResults/HeaderResults.js";
|
|
11
|
+
import { H as q } from "../../../index-3a534581.js";
|
|
12
|
+
import { HeaderTab as H } from "../HeaderTab/HeaderTab.js";
|
|
13
|
+
import B from "../SelectLanguage/SelectLanguage.js";
|
|
14
|
+
const F = "category", I = "link", se = ({ sections: r, darkTheme: p }) => {
|
|
15
|
+
const [g, i] = o(null), [m, b] = o(!1), [f, a] = o(!1), [l, x] = o(
|
|
16
|
+
[]
|
|
17
|
+
), [d, u] = o(0), { ref: T } = E(f, () => {
|
|
18
|
+
a(!1), i(null), u(0);
|
|
19
|
+
}), y = (e) => {
|
|
20
|
+
window.location.href = e || "/";
|
|
21
|
+
}, w = (e) => {
|
|
22
|
+
const { type: N, id: G, data: _ } = e;
|
|
23
|
+
N === F && (x(_), a(!0)), N === I && (a(!1), x([])), i(G);
|
|
24
|
+
}, v = (e) => {
|
|
25
|
+
e === I && i(null);
|
|
26
|
+
}, S = () => {
|
|
27
|
+
b(!m), a(!1);
|
|
28
|
+
}, M = () => {
|
|
29
|
+
u(0), a(!1), i(null);
|
|
30
|
+
}, C = c(() => l.find((e) => e.id === d), [d, l]), L = window.location.pathname.startsWith(h.ISLAM), n = c(() => Array.isArray(r) ? r : r ? [r] : [], [r]), R = c(() => n.filter((e) => !e.is_left), [n]), j = c(() => n.filter((e) => e.is_left), [n]);
|
|
31
|
+
return /* @__PURE__ */ s(
|
|
32
|
+
"header",
|
|
33
|
+
{
|
|
34
|
+
className: A(
|
|
35
|
+
"relative w-full container bg-white",
|
|
36
|
+
p && "bg-gray-900 text-white transition-all duration-500",
|
|
37
|
+
f && p && "bg-white text-gray-700"
|
|
38
|
+
),
|
|
39
|
+
children: [
|
|
40
|
+
!m && /* @__PURE__ */ s("div", { className: "flex items-center h-13 px-6 lg:px-0 max-w-[1200px] mx-auto", children: [
|
|
41
|
+
/* @__PURE__ */ t(
|
|
42
|
+
"a",
|
|
43
|
+
{
|
|
44
|
+
href: L ? h.ISLAM : h.MAIN_PAGE,
|
|
45
|
+
className: "flex items-center gap-6 mr-12 cursor-pointer",
|
|
46
|
+
children: /* @__PURE__ */ t(
|
|
47
|
+
k,
|
|
48
|
+
{
|
|
49
|
+
src: z,
|
|
50
|
+
alt: "Logo",
|
|
51
|
+
width: 120,
|
|
52
|
+
height: 34
|
|
53
|
+
}
|
|
54
|
+
)
|
|
55
|
+
}
|
|
56
|
+
),
|
|
57
|
+
/* @__PURE__ */ s("div", { className: "flex items-center justify-between flex-grow", children: [
|
|
58
|
+
/* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: R.map((e) => /* @__PURE__ */ t(
|
|
59
|
+
H,
|
|
60
|
+
{
|
|
61
|
+
item: e,
|
|
62
|
+
activeTab: g,
|
|
63
|
+
onTabClick: y,
|
|
64
|
+
onTabHover: w,
|
|
65
|
+
onTabLeave: v
|
|
66
|
+
},
|
|
67
|
+
e.id
|
|
68
|
+
)) }),
|
|
69
|
+
/* @__PURE__ */ s("div", { className: "flex items-center gap-2", children: [
|
|
70
|
+
/* @__PURE__ */ t("div", { className: "flex items-center gap-2 pr-6 border-r border-gray-300 mr-4", children: j.map((e) => /* @__PURE__ */ t(
|
|
71
|
+
H,
|
|
72
|
+
{
|
|
73
|
+
item: e,
|
|
74
|
+
activeTab: g,
|
|
75
|
+
onTabClick: y,
|
|
76
|
+
onTabHover: w,
|
|
77
|
+
onTabLeave: v
|
|
78
|
+
},
|
|
79
|
+
e.id
|
|
80
|
+
)) }),
|
|
81
|
+
/* @__PURE__ */ t(B, {}),
|
|
82
|
+
/* @__PURE__ */ t(
|
|
83
|
+
"button",
|
|
84
|
+
{
|
|
85
|
+
onClick: S,
|
|
86
|
+
className: "flex items-center justify-center w-9 h-9 p-1.5 rounded-full bg-gray-200",
|
|
87
|
+
children: /* @__PURE__ */ t(
|
|
88
|
+
k,
|
|
89
|
+
{
|
|
90
|
+
src: W,
|
|
91
|
+
alt: "search icon",
|
|
92
|
+
width: 18,
|
|
93
|
+
height: 18
|
|
94
|
+
}
|
|
95
|
+
)
|
|
96
|
+
}
|
|
97
|
+
),
|
|
98
|
+
/* @__PURE__ */ t(
|
|
99
|
+
"button",
|
|
100
|
+
{
|
|
101
|
+
"aria-label": "Открыть режим для слабовидящих",
|
|
102
|
+
className: "flex items-center justify-center w-9 h-9 p-1.5 rounded-full bg-gray-200",
|
|
103
|
+
children: /* @__PURE__ */ t(D, { size: 16 })
|
|
104
|
+
}
|
|
105
|
+
)
|
|
106
|
+
] })
|
|
107
|
+
] })
|
|
108
|
+
] }),
|
|
109
|
+
m && /* @__PURE__ */ t(
|
|
110
|
+
q,
|
|
111
|
+
{
|
|
112
|
+
closeSearch: S,
|
|
113
|
+
onClick: () => b(!1)
|
|
114
|
+
}
|
|
115
|
+
),
|
|
116
|
+
/* @__PURE__ */ s(
|
|
117
|
+
"div",
|
|
118
|
+
{
|
|
119
|
+
className: A(
|
|
120
|
+
"flex bg-white rounded-2xl backdrop-blur-md w-full shadow-lg absolute top-[75px] left-0 z-50 transition-all duration-300 ease-out",
|
|
121
|
+
f ? "opacity-100 translate-y-0 pointer-events-auto visible" : "opacity-0 -translate-y-5 pointer-events-none invisible"
|
|
122
|
+
),
|
|
123
|
+
ref: T,
|
|
124
|
+
children: [
|
|
125
|
+
/* @__PURE__ */ t(
|
|
126
|
+
O,
|
|
127
|
+
{
|
|
128
|
+
categories: l,
|
|
129
|
+
activeSubcategory: u,
|
|
130
|
+
openResult: a
|
|
131
|
+
}
|
|
132
|
+
),
|
|
133
|
+
/* @__PURE__ */ t(
|
|
134
|
+
P,
|
|
135
|
+
{
|
|
136
|
+
data: C || l[d],
|
|
137
|
+
onClick: M
|
|
138
|
+
}
|
|
139
|
+
)
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
)
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
);
|
|
146
|
+
};
|
|
147
|
+
export {
|
|
148
|
+
se as default
|
|
149
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { jsxs as v, jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { useState as d, useEffect as _ } from "react";
|
|
3
|
+
import { L as r } from "../../../languages-list-8419e560.js";
|
|
4
|
+
import { u as E } from "../../../useClickOutside-197b0df2.js";
|
|
5
|
+
import { c as l } from "../../../cn-6a4bf187.js";
|
|
6
|
+
const u = "app_language", N = ({ rightPosition: g = !1, className: i }) => {
|
|
7
|
+
var x;
|
|
8
|
+
const [s, a] = d(!1), [o, f] = d(
|
|
9
|
+
r[0] || { key: "ru", title: "Русский" }
|
|
10
|
+
);
|
|
11
|
+
_(() => {
|
|
12
|
+
const e = localStorage.getItem(u);
|
|
13
|
+
if (e) {
|
|
14
|
+
const t = r.find((n) => n.key === e);
|
|
15
|
+
t && f(t);
|
|
16
|
+
}
|
|
17
|
+
}, []);
|
|
18
|
+
const c = (e) => {
|
|
19
|
+
a(!1);
|
|
20
|
+
const t = r.find((n) => n.key === e);
|
|
21
|
+
t && (f(t), localStorage.setItem(u, e), window.dispatchEvent(
|
|
22
|
+
new CustomEvent("languageChange", { detail: e })
|
|
23
|
+
));
|
|
24
|
+
}, h = (e) => {
|
|
25
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), a((t) => !t));
|
|
26
|
+
}, b = (e, t) => {
|
|
27
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), c(t));
|
|
28
|
+
}, y = () => {
|
|
29
|
+
a(!s);
|
|
30
|
+
}, { ref: k } = E(s, () => a(!1));
|
|
31
|
+
return /* @__PURE__ */ v(
|
|
32
|
+
"div",
|
|
33
|
+
{
|
|
34
|
+
ref: k,
|
|
35
|
+
role: "button",
|
|
36
|
+
tabIndex: 0,
|
|
37
|
+
onClick: y,
|
|
38
|
+
onKeyDown: h,
|
|
39
|
+
className: l(
|
|
40
|
+
"relative flex items-center justify-center rounded-full p-2 bg-[#f4f6f7] w-[36px] h-[36px] cursor-pointer",
|
|
41
|
+
i
|
|
42
|
+
),
|
|
43
|
+
children: [
|
|
44
|
+
/* @__PURE__ */ p("span", { className: "text-[#0e0f11] text-[14px] font-semibold leading-[20px] uppercase", children: o.key }),
|
|
45
|
+
s && /* @__PURE__ */ p(
|
|
46
|
+
"div",
|
|
47
|
+
{
|
|
48
|
+
className: l(
|
|
49
|
+
"absolute top-[42px] flex flex-col gap-[4px] rounded-[16px] bg-white p-2 z-[10000] shadow-[0_25px_15px_rgba(55,65,81,0.03),0_11px_11px_rgba(55,65,81,0.04),0_3px_6px_rgba(55,65,81,0.05)]",
|
|
50
|
+
"animate-dropdown",
|
|
51
|
+
g ? "left-0" : "right-0"
|
|
52
|
+
),
|
|
53
|
+
children: (x = r) == null ? void 0 : x.map((e, t) => {
|
|
54
|
+
const n = (e == null ? void 0 : e.key) === (o == null ? void 0 : o.key);
|
|
55
|
+
return /* @__PURE__ */ p(
|
|
56
|
+
"div",
|
|
57
|
+
{
|
|
58
|
+
role: "button",
|
|
59
|
+
tabIndex: 0,
|
|
60
|
+
onClick: () => c(e == null ? void 0 : e.key),
|
|
61
|
+
onKeyDown: (w) => b(w, e == null ? void 0 : e.key),
|
|
62
|
+
className: l(
|
|
63
|
+
"text-[#0b0f19] px-2 py-[10px] text-[16px] leading-[24px] min-w-[164px] cursor-pointer relative rounded-[8px]",
|
|
64
|
+
n && 'bg-[#f4f5f6] after:absolute after:top-[9px] after:right-[10px] after:w-[24px] after:h-[24px] after:bg-[url("/checked.svg")] after:bg-center after:bg-no-repeat'
|
|
65
|
+
),
|
|
66
|
+
children: e == null ? void 0 : e.title
|
|
67
|
+
},
|
|
68
|
+
t
|
|
69
|
+
);
|
|
70
|
+
})
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
};
|
|
77
|
+
export {
|
|
78
|
+
N as default
|
|
79
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { S as p, N as u, a as d, b as i } from "../../../swiper-react-90953710.js";
|
|
3
|
+
import { M as c } from "../../../mousewheel-865ae601.js";
|
|
4
|
+
import { c as f } from "../../../cn-6a4bf187.js";
|
|
5
|
+
p.use([u, c]);
|
|
6
|
+
const w = ({
|
|
7
|
+
navigation: r,
|
|
8
|
+
onClick: l,
|
|
9
|
+
activeTab: n
|
|
10
|
+
}) => !r || (r == null ? void 0 : r.length) === 0 ? null : /* @__PURE__ */ t("div", { className: "relative border-b border-[#CAD1D7]", children: /* @__PURE__ */ t(
|
|
11
|
+
d,
|
|
12
|
+
{
|
|
13
|
+
spaceBetween: 0,
|
|
14
|
+
slidesPerView: "auto",
|
|
15
|
+
mousewheel: !0,
|
|
16
|
+
children: r.map((e) => {
|
|
17
|
+
if (!e.count)
|
|
18
|
+
return null;
|
|
19
|
+
const o = n === e.id;
|
|
20
|
+
return /* @__PURE__ */ t(
|
|
21
|
+
i,
|
|
22
|
+
{
|
|
23
|
+
className: "!w-auto",
|
|
24
|
+
children: /* @__PURE__ */ a("div", { className: "mr-6 pb-2 flex items-center gap-2", children: [
|
|
25
|
+
/* @__PURE__ */ t(
|
|
26
|
+
"button",
|
|
27
|
+
{
|
|
28
|
+
type: "button",
|
|
29
|
+
onClick: () => l(e.id),
|
|
30
|
+
onKeyDown: (s) => {
|
|
31
|
+
(s.key === "Enter" || s.key === " ") && (s.preventDefault(), l(e.id));
|
|
32
|
+
},
|
|
33
|
+
className: f(
|
|
34
|
+
"text-[16px] font-medium cursor-pointer select-none m-0 inline-flex items-center justify-center text-[#3E454C] leading-[24px] relative bg-transparent border-none p-0",
|
|
35
|
+
o && "text-[#0E0F11] font-medium after:absolute after:top-[30px] after:right-0 after:w-full after:border-b-[1.5px] after:border-[#16A34A]"
|
|
36
|
+
),
|
|
37
|
+
children: e.title
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
/* @__PURE__ */ t("span", { className: "text-[#0E0F11] text-[14px] leading-[20px] px-2 py-[2px] rounded-full bg-[#DDE2E6] font-['tabular-nums']", children: e.count })
|
|
41
|
+
] })
|
|
42
|
+
},
|
|
43
|
+
e.id
|
|
44
|
+
);
|
|
45
|
+
})
|
|
46
|
+
}
|
|
47
|
+
) });
|
|
48
|
+
export {
|
|
49
|
+
w as TabsOutlined
|
|
50
|
+
};
|