@hhgtech/hhg-components 1.27.64 → 1.27.65-beta-1
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/build/babyGrowth.js +24 -24
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/index.d.ts +0 -2
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-36b70a72.js → core-c6e46663.js} +1 -1
- package/build/{dataTransform-fb9d2eaa.js → dataTransform-9659e9f8.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +24 -24
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/index.d.ts +0 -2
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-26252874.js → core-435a9757.js} +1 -1
- package/build/esm/{dataTransform-584a8942.js → dataTransform-1efe87c7.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/fixedBottomAdBlock-67036e03.js +1 -0
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-8bbcfc64.js +1 -0
- package/build/esm/{getSocialList-964f1d26.js → getSocialList-13616a3f.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/icons/index.d.ts +1 -10
- package/build/esm/{index-3cd612ba.js → index-05df5c39.js} +1 -1
- package/build/esm/index-115c9957.js +7 -0
- package/build/esm/index-4ea72ac1.js +1 -0
- package/build/esm/{index-5568265c.js → index-568344cb.js} +165 -165
- package/build/esm/index-77de871e.js +112 -0
- package/build/esm/{index-fab041f7.js → index-7d206d36.js} +1 -1
- package/build/esm/index-80c08ea3.js +1 -0
- package/build/esm/{index-a4cd52e2.js → index-8e70c931.js} +1 -1
- package/build/esm/{index-c048cc84.js → index-911f99d1.js} +1 -1
- package/build/esm/index-9496ba09.js +1 -0
- package/build/esm/index-9f08feee.js +53 -0
- package/build/esm/index-a201656a.js +1 -0
- package/build/esm/index-a46aad44.js +177 -0
- package/build/esm/{index-1edc629f.js → index-a6fd1083.js} +1 -1
- package/build/esm/{index-33b4eeca.js → index-b3e93f2e.js} +1 -1
- package/build/esm/{index-7b18af53.js → index-b8c74aae.js} +1 -1
- package/build/esm/index-bcd8093a.js +1 -0
- package/build/esm/{index-b54d6ed4.js → index-cfa3922a.js} +1 -1
- package/build/esm/index-d1d42d5e.js +93 -0
- package/build/esm/index-d1da6c31.js +1 -0
- package/build/esm/index-d2d90c6e.js +1 -0
- package/build/esm/{index-0c9bddd5.js → index-e57de2a9.js} +1 -1
- package/build/esm/index-e5ef589f.js +1 -0
- package/build/esm/{index-a965ea18.js → index-ebb5427c.js} +1 -1
- package/build/esm/{index-0da327c2.js → index-f18f86bb.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/index.styled-05ef0d58.js +69 -0
- package/build/esm/{index.styled-3ecad288.js → index.styled-21e0ebce.js} +4 -4
- package/build/esm/{index.styled-80ad3b8e.js → index.styled-c2900e76.js} +5 -5
- package/build/esm/{index.styled-e5feba36.js → index.styled-d6e645cb.js} +4 -4
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/pwg.js +3 -3
- package/build/esm/{routing-eb8a078e.js → routing-dac302ab.js} +1 -1
- package/build/esm/{screenSizeContext-3337bf90.js → screenSizeContext-1f204ab9.js} +3 -3
- package/build/esm/together.js +1 -1
- package/build/esm/{types-30d034e9.js → types-3764896b.js} +1 -1
- package/build/esm/types-c22068f7.js +3078 -0
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-92db8113.js +1 -0
- package/build/esm/{useRafState-a399c00f.js → useRafState-34b01d31.js} +1 -1
- package/build/esm/{useTranslations-16eca5b5.js → useTranslations-3663beec.js} +1 -1
- package/build/esm/utils-bfbc2fde.js +1007 -0
- package/build/esm/{utils-588386e1.js → utils-ee4ad902.js} +1 -1
- package/build/esm/vaccination.js +49 -49
- package/build/fixedBottomAdBlock-f65d2d6f.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-6034f06a.js → getDynamicHealthTool-87429707.js} +1 -1
- package/build/{getSocialList-378966a9.js → getSocialList-a16b5091.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/icons/index.d.ts +1 -10
- package/build/index-0811c4a8.js +1 -0
- package/build/{index-ad80e678.js → index-0c92b23e.js} +1 -1
- package/build/index-112eba4d.js +1 -0
- package/build/{index-5ca35179.js → index-18a28fa0.js} +180 -180
- package/build/index-2284659e.js +112 -0
- package/build/index-2c8f09b3.js +1 -0
- package/build/index-30a1618d.js +1 -0
- package/build/index-32b93b37.js +1 -0
- package/build/{index-75eccc5e.js → index-3862d2a0.js} +1 -1
- package/build/{index-33b0c279.js → index-3a7fa03d.js} +1 -1
- package/build/index-3b22c77d.js +1 -0
- package/build/index-3ba8b7f8.js +177 -0
- package/build/{index-70171072.js → index-5eb6c558.js} +1 -1
- package/build/{index-509a0b0a.js → index-71d5f659.js} +1 -1
- package/build/index-7ee8b163.js +7 -0
- package/build/{index-9c887f7f.js → index-80c3a79d.js} +1 -1
- package/build/{index-7de88c1c.js → index-8446893a.js} +1 -1
- package/build/{index-9a15f4f9.js → index-8c90469b.js} +1 -1
- package/build/index-90b2b2ab.js +93 -0
- package/build/index-936be83a.js +1 -0
- package/build/{index-2a4ce365.js → index-9992e091.js} +1 -1
- package/build/{index-27b37035.js → index-d1654e2b.js} +1 -1
- package/build/index-d7f87c6e.js +1 -0
- package/build/index-f9114392.js +53 -0
- package/build/index-f9afaa93.js +1 -0
- package/build/index.js +1 -1
- package/build/index.styled-3d922e82.js +50 -0
- package/build/{index.styled-4dba8b73.js → index.styled-864b18ab.js} +3 -3
- package/build/{index.styled-2f40cf9b.js → index.styled-a4e578a2.js} +1 -1
- package/build/index.styled-fa1e62c2.js +69 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +16 -16
- package/build/pwg.js +3 -3
- package/build/{routing-02efe154.js → routing-70ed84c4.js} +1 -1
- package/build/{screenSizeContext-6187e101.js → screenSizeContext-ce407dc9.js} +1 -1
- package/build/together.js +1 -1
- package/build/{types-1c50147e.js → types-75a7fca6.js} +8 -8
- package/build/{types-9313bf01.js → types-cb33f5dd.js} +129 -129
- package/build/types.js +1 -1
- package/build/useHealthToolCache-aeecad76.js +1 -0
- package/build/{useRafState-2d31dfc5.js → useRafState-c7d9ba80.js} +1 -1
- package/build/{useTranslations-5cc61c9f.js → useTranslations-587f52f7.js} +1 -1
- package/build/utils-3ef222b0.js +1 -0
- package/build/utils-ec4454fe.js +1007 -0
- package/build/vaccination.js +12 -12
- package/package.json +2 -1
- package/build/components/atoms/icons/ACharacter.d.ts +0 -4
- package/build/components/atoms/icons/Activities.d.ts +0 -4
- package/build/components/atoms/icons/ArrowDown.d.ts +0 -4
- package/build/components/atoms/icons/ArrowLeft.d.ts +0 -4
- package/build/components/atoms/icons/ArrowRight.d.ts +0 -4
- package/build/components/atoms/icons/Article.d.ts +0 -4
- package/build/components/atoms/icons/Ask.d.ts +0 -4
- package/build/components/atoms/icons/BabyBoyMB.d.ts +0 -4
- package/build/components/atoms/icons/BabyGirlMB.d.ts +0 -4
- package/build/components/atoms/icons/BarChart.d.ts +0 -4
- package/build/components/atoms/icons/Booking.d.ts +0 -4
- package/build/components/atoms/icons/Bookmark.d.ts +0 -4
- package/build/components/atoms/icons/Boy.d.ts +0 -4
- package/build/components/atoms/icons/Business.d.ts +0 -4
- package/build/components/atoms/icons/Calendar.d.ts +0 -4
- package/build/components/atoms/icons/CalendarMB.d.ts +0 -4
- package/build/components/atoms/icons/CameraCircle.d.ts +0 -4
- package/build/components/atoms/icons/Chat.d.ts +0 -4
- package/build/components/atoms/icons/Check.d.ts +0 -4
- package/build/components/atoms/icons/CheckActiveMB.d.ts +0 -4
- package/build/components/atoms/icons/CircleBorder.d.ts +0 -4
- package/build/components/atoms/icons/Clickable.d.ts +0 -4
- package/build/components/atoms/icons/ClinicPin.d.ts +0 -4
- package/build/components/atoms/icons/Close.d.ts +0 -4
- package/build/components/atoms/icons/Comment.d.ts +0 -4
- package/build/components/atoms/icons/Community.d.ts +0 -4
- package/build/components/atoms/icons/CrossLogo.d.ts +0 -4
- package/build/components/atoms/icons/Current.d.ts +0 -4
- package/build/components/atoms/icons/EditSpecial.d.ts +0 -4
- package/build/components/atoms/icons/Endorse.d.ts +0 -4
- package/build/components/atoms/icons/Envelop.d.ts +0 -4
- package/build/components/atoms/icons/Family.d.ts +0 -4
- package/build/components/atoms/icons/Font.d.ts +0 -4
- package/build/components/atoms/icons/FullScreen.d.ts +0 -4
- package/build/components/atoms/icons/GenderBoy.d.ts +0 -4
- package/build/components/atoms/icons/GenderChooseBoy.d.ts +0 -4
- package/build/components/atoms/icons/GenderChooseGirl.d.ts +0 -4
- package/build/components/atoms/icons/GenderGirl.d.ts +0 -4
- package/build/components/atoms/icons/Girl.d.ts +0 -4
- package/build/components/atoms/icons/GroupPeople.d.ts +0 -4
- package/build/components/atoms/icons/GroupPeopleSolid.d.ts +0 -4
- package/build/components/atoms/icons/Heart.d.ts +0 -4
- package/build/components/atoms/icons/Home.d.ts +0 -4
- package/build/components/atoms/icons/Hospital.d.ts +0 -4
- package/build/components/atoms/icons/Info.d.ts +0 -4
- package/build/components/atoms/icons/Kebab.d.ts +0 -4
- package/build/components/atoms/icons/Like.d.ts +0 -4
- package/build/components/atoms/icons/Link.d.ts +0 -4
- package/build/components/atoms/icons/Minus.d.ts +0 -4
- package/build/components/atoms/icons/Missed.d.ts +0 -4
- package/build/components/atoms/icons/MyCommunity.d.ts +0 -4
- package/build/components/atoms/icons/MyHealth.d.ts +0 -4
- package/build/components/atoms/icons/Oppose.d.ts +0 -4
- package/build/components/atoms/icons/Parents.d.ts +0 -4
- package/build/components/atoms/icons/Plus.d.ts +0 -5
- package/build/components/atoms/icons/PlusSpecial.d.ts +0 -4
- package/build/components/atoms/icons/Post.d.ts +0 -4
- package/build/components/atoms/icons/Recalculate.d.ts +0 -4
- package/build/components/atoms/icons/Reply.d.ts +0 -4
- package/build/components/atoms/icons/Scale.d.ts +0 -4
- package/build/components/atoms/icons/Screener.d.ts +0 -4
- package/build/components/atoms/icons/Share.d.ts +0 -4
- package/build/components/atoms/icons/ShieldCheck.d.ts +0 -4
- package/build/components/atoms/icons/Smile.d.ts +0 -4
- package/build/components/atoms/icons/Sparkle.d.ts +0 -4
- package/build/components/atoms/icons/Star.d.ts +0 -4
- package/build/components/atoms/icons/Stethoscope.d.ts +0 -4
- package/build/components/atoms/icons/StethoscopeActive.d.ts +0 -4
- package/build/components/atoms/icons/ToggleOff.d.ts +0 -4
- package/build/components/atoms/icons/ToggleOn.d.ts +0 -4
- package/build/components/atoms/icons/Trash.d.ts +0 -4
- package/build/components/atoms/icons/Upcoming.d.ts +0 -4
- package/build/components/atoms/icons/User.d.ts +0 -4
- package/build/components/atoms/icons/UserCheck.d.ts +0 -4
- package/build/components/atoms/icons/Vaccinated.d.ts +0 -4
- package/build/components/atoms/icons/Video.d.ts +0 -4
- package/build/components/atoms/icons/VideoCall.d.ts +0 -4
- package/build/components/atoms/icons/Woman.d.ts +0 -4
- package/build/components/atoms/icons/index.d.ts +0 -70
- package/build/esm/components/atoms/icons/ACharacter.d.ts +0 -4
- package/build/esm/components/atoms/icons/Activities.d.ts +0 -4
- package/build/esm/components/atoms/icons/ArrowDown.d.ts +0 -4
- package/build/esm/components/atoms/icons/ArrowLeft.d.ts +0 -4
- package/build/esm/components/atoms/icons/ArrowRight.d.ts +0 -4
- package/build/esm/components/atoms/icons/Article.d.ts +0 -4
- package/build/esm/components/atoms/icons/Ask.d.ts +0 -4
- package/build/esm/components/atoms/icons/BabyBoyMB.d.ts +0 -4
- package/build/esm/components/atoms/icons/BabyGirlMB.d.ts +0 -4
- package/build/esm/components/atoms/icons/BarChart.d.ts +0 -4
- package/build/esm/components/atoms/icons/Booking.d.ts +0 -4
- package/build/esm/components/atoms/icons/Bookmark.d.ts +0 -4
- package/build/esm/components/atoms/icons/Boy.d.ts +0 -4
- package/build/esm/components/atoms/icons/Business.d.ts +0 -4
- package/build/esm/components/atoms/icons/Calendar.d.ts +0 -4
- package/build/esm/components/atoms/icons/CalendarMB.d.ts +0 -4
- package/build/esm/components/atoms/icons/CameraCircle.d.ts +0 -4
- package/build/esm/components/atoms/icons/Chat.d.ts +0 -4
- package/build/esm/components/atoms/icons/Check.d.ts +0 -4
- package/build/esm/components/atoms/icons/CheckActiveMB.d.ts +0 -4
- package/build/esm/components/atoms/icons/CircleBorder.d.ts +0 -4
- package/build/esm/components/atoms/icons/Clickable.d.ts +0 -4
- package/build/esm/components/atoms/icons/ClinicPin.d.ts +0 -4
- package/build/esm/components/atoms/icons/Close.d.ts +0 -4
- package/build/esm/components/atoms/icons/Comment.d.ts +0 -4
- package/build/esm/components/atoms/icons/Community.d.ts +0 -4
- package/build/esm/components/atoms/icons/CrossLogo.d.ts +0 -4
- package/build/esm/components/atoms/icons/Current.d.ts +0 -4
- package/build/esm/components/atoms/icons/EditSpecial.d.ts +0 -4
- package/build/esm/components/atoms/icons/Endorse.d.ts +0 -4
- package/build/esm/components/atoms/icons/Envelop.d.ts +0 -4
- package/build/esm/components/atoms/icons/Family.d.ts +0 -4
- package/build/esm/components/atoms/icons/Font.d.ts +0 -4
- package/build/esm/components/atoms/icons/FullScreen.d.ts +0 -4
- package/build/esm/components/atoms/icons/GenderBoy.d.ts +0 -4
- package/build/esm/components/atoms/icons/GenderChooseBoy.d.ts +0 -4
- package/build/esm/components/atoms/icons/GenderChooseGirl.d.ts +0 -4
- package/build/esm/components/atoms/icons/GenderGirl.d.ts +0 -4
- package/build/esm/components/atoms/icons/Girl.d.ts +0 -4
- package/build/esm/components/atoms/icons/GroupPeople.d.ts +0 -4
- package/build/esm/components/atoms/icons/GroupPeopleSolid.d.ts +0 -4
- package/build/esm/components/atoms/icons/Heart.d.ts +0 -4
- package/build/esm/components/atoms/icons/Home.d.ts +0 -4
- package/build/esm/components/atoms/icons/Hospital.d.ts +0 -4
- package/build/esm/components/atoms/icons/Info.d.ts +0 -4
- package/build/esm/components/atoms/icons/Kebab.d.ts +0 -4
- package/build/esm/components/atoms/icons/Like.d.ts +0 -4
- package/build/esm/components/atoms/icons/Link.d.ts +0 -4
- package/build/esm/components/atoms/icons/Minus.d.ts +0 -4
- package/build/esm/components/atoms/icons/Missed.d.ts +0 -4
- package/build/esm/components/atoms/icons/MyCommunity.d.ts +0 -4
- package/build/esm/components/atoms/icons/MyHealth.d.ts +0 -4
- package/build/esm/components/atoms/icons/Oppose.d.ts +0 -4
- package/build/esm/components/atoms/icons/Parents.d.ts +0 -4
- package/build/esm/components/atoms/icons/Plus.d.ts +0 -5
- package/build/esm/components/atoms/icons/PlusSpecial.d.ts +0 -4
- package/build/esm/components/atoms/icons/Post.d.ts +0 -4
- package/build/esm/components/atoms/icons/Recalculate.d.ts +0 -4
- package/build/esm/components/atoms/icons/Reply.d.ts +0 -4
- package/build/esm/components/atoms/icons/Scale.d.ts +0 -4
- package/build/esm/components/atoms/icons/Screener.d.ts +0 -4
- package/build/esm/components/atoms/icons/Share.d.ts +0 -4
- package/build/esm/components/atoms/icons/ShieldCheck.d.ts +0 -4
- package/build/esm/components/atoms/icons/Smile.d.ts +0 -4
- package/build/esm/components/atoms/icons/Sparkle.d.ts +0 -4
- package/build/esm/components/atoms/icons/Star.d.ts +0 -4
- package/build/esm/components/atoms/icons/Stethoscope.d.ts +0 -4
- package/build/esm/components/atoms/icons/StethoscopeActive.d.ts +0 -4
- package/build/esm/components/atoms/icons/ToggleOff.d.ts +0 -4
- package/build/esm/components/atoms/icons/ToggleOn.d.ts +0 -4
- package/build/esm/components/atoms/icons/Trash.d.ts +0 -4
- package/build/esm/components/atoms/icons/Upcoming.d.ts +0 -4
- package/build/esm/components/atoms/icons/User.d.ts +0 -4
- package/build/esm/components/atoms/icons/UserCheck.d.ts +0 -4
- package/build/esm/components/atoms/icons/Vaccinated.d.ts +0 -4
- package/build/esm/components/atoms/icons/Video.d.ts +0 -4
- package/build/esm/components/atoms/icons/VideoCall.d.ts +0 -4
- package/build/esm/components/atoms/icons/Woman.d.ts +0 -4
- package/build/esm/components/atoms/icons/index.d.ts +0 -70
- package/build/esm/fixedBottomAdBlock-60979769.js +0 -1
- package/build/esm/getDynamicHealthTool-5a5304d0.js +0 -1
- package/build/esm/icons/Cambodia.d.ts +0 -4
- package/build/esm/icons/India.d.ts +0 -4
- package/build/esm/icons/Indonesia.d.ts +0 -4
- package/build/esm/icons/Malaysia.d.ts +0 -4
- package/build/esm/icons/Myanmar.d.ts +0 -4
- package/build/esm/icons/Phillipines.d.ts +0 -4
- package/build/esm/icons/Taiwan.d.ts +0 -4
- package/build/esm/icons/Thailand.d.ts +0 -4
- package/build/esm/icons/Vietnam.d.ts +0 -4
- package/build/esm/index-03812bdc.js +0 -1
- package/build/esm/index-0f134243.js +0 -1
- package/build/esm/index-1d68ad86.js +0 -1
- package/build/esm/index-2c89ccd4.js +0 -1
- package/build/esm/index-5b595e94.js +0 -53
- package/build/esm/index-7c07fc3f.js +0 -75
- package/build/esm/index-85277962.js +0 -1
- package/build/esm/index-b8de3b3e.js +0 -1
- package/build/esm/index-c6368912.js +0 -1
- package/build/esm/index-ddcb3128.js +0 -177
- package/build/esm/types-89cc0ffb.js +0 -3078
- package/build/esm/useHealthToolCache-c4e915e2.js +0 -1
- package/build/esm/utils-e90f7b7a.js +0 -1214
- package/build/fixedBottomAdBlock-5d31f76e.js +0 -1
- package/build/icons/Cambodia.d.ts +0 -4
- package/build/icons/India.d.ts +0 -4
- package/build/icons/Indonesia.d.ts +0 -4
- package/build/icons/Malaysia.d.ts +0 -4
- package/build/icons/Myanmar.d.ts +0 -4
- package/build/icons/Phillipines.d.ts +0 -4
- package/build/icons/Taiwan.d.ts +0 -4
- package/build/icons/Thailand.d.ts +0 -4
- package/build/icons/Vietnam.d.ts +0 -4
- package/build/index-38402874.js +0 -1
- package/build/index-3daba579.js +0 -1
- package/build/index-4ab65948.js +0 -1
- package/build/index-53e8f11c.js +0 -1
- package/build/index-5ee72b9c.js +0 -75
- package/build/index-63b91e27.js +0 -1
- package/build/index-7c68db10.js +0 -1
- package/build/index-973817ad.js +0 -1
- package/build/index-a28a6d36.js +0 -177
- package/build/index-a44d34cc.js +0 -53
- package/build/index-ecfef562.js +0 -1
- package/build/index.styled-69804a49.js +0 -50
- package/build/useHealthToolCache-a6b67a0b.js +0 -1
- package/build/utils-26319b1a.js +0 -1214
- package/build/utils-bcdb95ca.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-883a7d5d.js → BMI_BOYS.percentile.monthly-778fde94.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-3431cbf3.js → BMI_BOYS.percentile.weekly-11cf3b39.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-d18e4941.js → BMI_BOYS.percentile.yearly-edfd1b3a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-7b6a101a.js → BMI_BOYS.zscore.monthly-80d858e4.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-a5217019.js → BMI_BOYS.zscore.weekly-d11e3751.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-11ef12f2.js → BMI_BOYS.zscore.yearly-6a236f02.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-f5e716c3.js → BMI_GIRLS.percentile.monthly-d6ead9f6.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-398b5137.js → BMI_GIRLS.percentile.weekly-b43a5429.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-180759a7.js → BMI_GIRLS.percentile.yearly-54c10be8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-b10cdadc.js → BMI_GIRLS.zscore.monthly-84bf9392.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-1d938a35.js → BMI_GIRLS.zscore.weekly-4a33ff93.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-bae676a9.js → BMI_GIRLS.zscore.yearly-ed8ad03b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-eaf2fb40.js → HEAD CIRCUM_BOYS.percentile.monthly-6f25da7d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-61326f41.js → HEAD CIRCUM_BOYS.percentile.weekly-c2621908.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-babe5336.js → HEAD CIRCUM_BOYS.percentile.yearly-2a9f2e5f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-103f72d4.js → HEAD CIRCUM_BOYS.zscore.monthly-2e417311.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-aa255ea6.js → HEAD CIRCUM_BOYS.zscore.weekly-29aff10c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-49964835.js → HEAD CIRCUM_BOYS.zscore.yearly-70e90ac8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-0f804779.js → HEAD CIRCUM_GIRLS.percentile.monthly-69cda97f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-42269a91.js → HEAD CIRCUM_GIRLS.percentile.weekly-a3b17ccb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-477b46d4.js → HEAD CIRCUM_GIRLS.percentile.yearly-e6995daa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c8349198.js → HEAD CIRCUM_GIRLS.zscore.monthly-58950baf.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-effd5b38.js → HEAD CIRCUM_GIRLS.zscore.weekly-467571e1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-ff63ab65.js → HEAD CIRCUM_GIRLS.zscore.yearly-3af77b90.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-100312ef.js → HEIGHT_BOYS.percentile.monthly-fac587d4.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-25804e10.js → HEIGHT_BOYS.percentile.weekly-8bde9175.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-790abaab.js → HEIGHT_BOYS.percentile.yearly-3e660390.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-1937cd05.js → HEIGHT_BOYS.zscore.monthly-37b1007d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-b30e141c.js → HEIGHT_BOYS.zscore.weekly-bf22b59c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-b206a8f2.js → HEIGHT_BOYS.zscore.yearly-6a617b28.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-2e0489e9.js → HEIGHT_GIRLS.percentile.monthly-f0cca055.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-4d76b68d.js → HEIGHT_GIRLS.percentile.weekly-4eaacea1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-2bd725ca.js → HEIGHT_GIRLS.percentile.yearly-33d578c4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-e3a97b8c.js → HEIGHT_GIRLS.zscore.monthly-71afe3ef.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-26aa77b5.js → HEIGHT_GIRLS.zscore.weekly-25e12fef.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-25699d17.js → HEIGHT_GIRLS.zscore.yearly-287b9195.js} +0 -0
- /package/build/{Onboarding-5e479463.js → Onboarding-e8480a3f.js} +0 -0
- /package/build/{Visible-963cc805.js → Visible-b066c015.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-f5ec350e.js → WEIGHT_BOYS.percentile.monthly-ac2e7922.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-d3225a3e.js → WEIGHT_BOYS.percentile.weekly-9ab08385.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-90a29085.js → WEIGHT_BOYS.percentile.yearly-fb032b2f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-57ac1f4c.js → WEIGHT_BOYS.zscore.monthly-92c5185a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-efc0c806.js → WEIGHT_BOYS.zscore.weekly-91275afb.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-cf3d5e7f.js → WEIGHT_BOYS.zscore.yearly-14c29c29.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-58c7aa25.js → WEIGHT_GIRLS.percentile.monthly-e79e5744.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-117867ba.js → WEIGHT_GIRLS.percentile.weekly-6dcc9880.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-e52005a0.js → WEIGHT_GIRLS.percentile.yearly-be81aae5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-cb0632b8.js → WEIGHT_GIRLS.zscore.monthly-41be0f6e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-e4a924c1.js → WEIGHT_GIRLS.zscore.weekly-f91998af.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-c4a4bb3e.js → WEIGHT_GIRLS.zscore.yearly-eee34a18.js} +0 -0
- /package/build/{constants-e6dfdef6.js → constants-d54bff11.js} +0 -0
- /package/build/{cookieHelper-254d109b.js → cookieHelper-4c28f684.js} +0 -0
- /package/build/{dataTransform-8faadee4.js → dataTransform-8e65f0ae.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-325f5ebe.js → BMI_BOYS.percentile.monthly-8eff36b1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-56ac91ef.js → BMI_BOYS.percentile.weekly-c1c20791.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-3b7b04ab.js → BMI_BOYS.percentile.yearly-b71b42bf.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-90ff64f1.js → BMI_BOYS.zscore.monthly-ccd48659.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-4f6a6684.js → BMI_BOYS.zscore.weekly-975133c5.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-528465ad.js → BMI_BOYS.zscore.yearly-ed47635c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-fc8dbf70.js → BMI_GIRLS.percentile.monthly-6bd5cc14.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-25c529f5.js → BMI_GIRLS.percentile.weekly-279a4454.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-f8e41e97.js → BMI_GIRLS.percentile.yearly-b6aa4d2e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-4a2056f8.js → BMI_GIRLS.zscore.monthly-9087fc3f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-cef72585.js → BMI_GIRLS.zscore.weekly-99470f2b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-ed430c3d.js → BMI_GIRLS.zscore.yearly-6bd7348e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-07bca9f8.js → HEAD CIRCUM_BOYS.percentile.monthly-03fad309.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-51ed6bd7.js → HEAD CIRCUM_BOYS.percentile.weekly-af13e66e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-2312ef41.js → HEAD CIRCUM_BOYS.percentile.yearly-771bd9d9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ea118459.js → HEAD CIRCUM_BOYS.zscore.monthly-ab175da6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-35d84ac7.js → HEAD CIRCUM_BOYS.zscore.weekly-b8764405.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-827dbe4a.js → HEAD CIRCUM_BOYS.zscore.yearly-899130aa.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-9653cba0.js → HEAD CIRCUM_GIRLS.percentile.monthly-6a199f3b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-55417ee8.js → HEAD CIRCUM_GIRLS.percentile.weekly-503768a0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-aae78d36.js → HEAD CIRCUM_GIRLS.percentile.yearly-64cb2f25.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-1fabf8df.js → HEAD CIRCUM_GIRLS.zscore.monthly-c1e0c956.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-be584760.js → HEAD CIRCUM_GIRLS.zscore.weekly-5dfe1744.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-fb88c238.js → HEAD CIRCUM_GIRLS.zscore.yearly-99ef478a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-ef9a1b5b.js → HEIGHT_BOYS.percentile.monthly-6a8406fe.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-b5648877.js → HEIGHT_BOYS.percentile.weekly-524566b3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d90d3425.js → HEIGHT_BOYS.percentile.yearly-e77ae24f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a3438cd2.js → HEIGHT_BOYS.zscore.monthly-e1ed40d7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-e7901014.js → HEIGHT_BOYS.zscore.weekly-f9ab03ff.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-2c5b855b.js → HEIGHT_BOYS.zscore.yearly-d8cb9559.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-0a6208b7.js → HEIGHT_GIRLS.percentile.monthly-09e87d65.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-9a054278.js → HEIGHT_GIRLS.percentile.weekly-89fef7c6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-0cae0852.js → HEIGHT_GIRLS.percentile.yearly-80814338.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-86ec4817.js → HEIGHT_GIRLS.zscore.monthly-33d8b755.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-cc2e6824.js → HEIGHT_GIRLS.zscore.weekly-0de09380.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-88a5cc2e.js → HEIGHT_GIRLS.zscore.yearly-42e67fe0.js} +0 -0
- /package/build/esm/{Onboarding-815a1838.js → Onboarding-d65212e9.js} +0 -0
- /package/build/esm/{Visible-8c624f0f.js → Visible-9382e1a1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-1b81ebeb.js → WEIGHT_BOYS.percentile.monthly-b84ae654.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7b54b1ff.js → WEIGHT_BOYS.percentile.weekly-a5d34ac7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-96c126da.js → WEIGHT_BOYS.percentile.yearly-b324f396.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c02237fe.js → WEIGHT_BOYS.zscore.monthly-e1db2e9d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-7523460f.js → WEIGHT_BOYS.zscore.weekly-d38657ac.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-19567e91.js → WEIGHT_BOYS.zscore.yearly-c8cf52fe.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-37d959fb.js → WEIGHT_GIRLS.percentile.monthly-fdea673f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-7371a10b.js → WEIGHT_GIRLS.percentile.weekly-bdf121a1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-15f75ac8.js → WEIGHT_GIRLS.percentile.yearly-c43856a1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-a0bbc77f.js → WEIGHT_GIRLS.zscore.monthly-6f29934c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-bb87503f.js → WEIGHT_GIRLS.zscore.weekly-c51f9694.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-547a1fbc.js → WEIGHT_GIRLS.zscore.yearly-546e1b5b.js} +0 -0
- /package/build/esm/{constants-36505bfb.js → constants-554d1b8e.js} +0 -0
- /package/build/esm/{cookieHelper-c0937aad.js → cookieHelper-e4ea7c58.js} +0 -0
- /package/build/esm/{dataTransform-0646d6c4.js → dataTransform-bba9a756.js} +0 -0
- /package/build/esm/{index-6aded33a.js → index-039a03de.js} +0 -0
- /package/build/esm/{isProduction-f91b95cd.js → isProduction-e0ddb380.js} +0 -0
- /package/build/esm/{localizeNumberFormat-0da4e43f.js → localizeNumberFormat-01e2fedc.js} +0 -0
- /package/build/esm/{normalizeLink-083ce503.js → normalizeLink-f5519f4a.js} +0 -0
- /package/build/esm/{paths-5e16c4a6.js → paths-f5c63a3f.js} +0 -0
- /package/build/esm/{theme-c780a012.js → theme-a9aa3182.js} +0 -0
- /package/build/esm/{translationsContext-b1bd96cb.js → translationsContext-abf38c7d.js} +0 -0
- /package/build/esm/{tslib.es6-9c1790be.js → tslib.es6-e3cdf2bc.js} +0 -0
- /package/build/esm/{types-1f213f81.js → types-92fccdaa.js} +0 -0
- /package/build/esm/{useIsInit-fb358274.js → useIsInit-87a2289b.js} +0 -0
- /package/build/esm/{useOutsideClick-086d4bef.js → useOutsideClick-bf5eb0b5.js} +0 -0
- /package/build/esm/{useScrollbarSize-2b796e8b.js → useScrollbarSize-05cf5c5f.js} +0 -0
- /package/build/esm/{useUniqueId-eef5d661.js → useUniqueId-fab61983.js} +0 -0
- /package/build/esm/{utils-35a508ae.js → utils-2fec0962.js} +0 -0
- /package/build/{index-1d2d6c71.js → index-7e862d25.js} +0 -0
- /package/build/{isProduction-517872ce.js → isProduction-dd2eed50.js} +0 -0
- /package/build/{localizeNumberFormat-6a3526e0.js → localizeNumberFormat-ab51ae1d.js} +0 -0
- /package/build/{normalizeLink-ef31244a.js → normalizeLink-93463883.js} +0 -0
- /package/build/{paths-597a9110.js → paths-5dead899.js} +0 -0
- /package/build/{theme-791de2a4.js → theme-deb6edaf.js} +0 -0
- /package/build/{translationsContext-84598533.js → translationsContext-80c50abb.js} +0 -0
- /package/build/{tslib.es6-5cc34723.js → tslib.es6-1d1dd39b.js} +0 -0
- /package/build/{types-f385e06e.js → types-d782ce0a.js} +0 -0
- /package/build/{useIsInit-c4d6088c.js → useIsInit-3057483a.js} +0 -0
- /package/build/{useOutsideClick-5185a271.js → useOutsideClick-21df25f4.js} +0 -0
- /package/build/{useScrollbarSize-2cfc3ebb.js → useScrollbarSize-1c8ca92c.js} +0 -0
- /package/build/{useUniqueId-9b2409a5.js → useUniqueId-cb44424a.js} +0 -0
- /package/build/{utils-1d3a9504.js → utils-a146b136.js} +0 -0
|
@@ -0,0 +1,1007 @@
|
|
|
1
|
+
"use strict";var e=require("styled-components"),t=require("./theme-deb6edaf.js"),r=require("./utils-a146b136.js"),o=require("./tslib.es6-1d1dd39b.js"),a=require("react"),i=require("@mantine/core"),l=require("./index-71d5f659.js"),n=require("./index-90b2b2ab.js"),s=require("./index-0c92b23e.js"),d=require("./screenSizeContext-ce407dc9.js"),c=require("react-keyed-flatten-children"),p=require("./cookieHelper-4c28f684.js"),u=require("slugify");require("./index-8c90469b.js");var h=require("string-format"),m=require("./isProduction-dd2eed50.js");function g(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var b=g(e),_=g(a),x=g(c),f=g(u),E=g(h);const v=b.default.div`
|
|
2
|
+
background-color: var(--background-color, transparent);
|
|
3
|
+
color: white;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
img {
|
|
6
|
+
--width: var(--width-prop, 40px);
|
|
7
|
+
--height: var(--height-prop, 40px);
|
|
8
|
+
width: var(--width);
|
|
9
|
+
height: var(--height);
|
|
10
|
+
}
|
|
11
|
+
&[data-has-max='true'] {
|
|
12
|
+
img {
|
|
13
|
+
max-width: var(--width);
|
|
14
|
+
max-height: var(--height);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&[data-avatar-type='square'] {
|
|
19
|
+
img {
|
|
20
|
+
--width: var(--width-prop, 72px);
|
|
21
|
+
--height: var(--height-prop, 72px);
|
|
22
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&[data-avatar-type='rounded'] {
|
|
27
|
+
img {
|
|
28
|
+
border-radius: 50%;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&[data-custom-size='true'] {
|
|
33
|
+
display: flex;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
width: var(--size);
|
|
37
|
+
height: var(--size);
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
background-size: cover;
|
|
41
|
+
font-size: calc(var(--size) / 2);
|
|
42
|
+
font-weight: bold;
|
|
43
|
+
&[data-avatar-type='square'] {
|
|
44
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
45
|
+
}
|
|
46
|
+
&[data-avatar-type='rounded'] {
|
|
47
|
+
border-radius: 50%;
|
|
48
|
+
img {
|
|
49
|
+
--width: 100%;
|
|
50
|
+
--height: 100%;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
img {
|
|
54
|
+
object-fit: cover;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
`,y=b.default.div`
|
|
58
|
+
position: relative;
|
|
59
|
+
|
|
60
|
+
> div {
|
|
61
|
+
width: max-content;
|
|
62
|
+
position: relative;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
span {
|
|
66
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
67
|
+
display: flex;
|
|
68
|
+
justify-content: center;
|
|
69
|
+
align-items: center;
|
|
70
|
+
|
|
71
|
+
${e=>((e,r,o,a)=>{let i="";if("numeric"===e)switch(r){case"medium":i="\n height: 16px;\n font-size: 11px;\n padding: 1px 6px;\n ";case"large":i="\n height: 24px;\n font-size: 13px;\n padding: 1px 10px;\n "}let l,n="";o&&(n="\n position: absolute;\n top: 0;\n left: 75%;\n "),o&&(l=`\n left: 70%;\n\n ${"large"===r?"\n top: -7px;\n ":"medium"===r?"\n top: -2px;\n width: 16px;\n height: 16px;\n ":""}\n `);let s="";switch(a){case"primary":s=`\n background: ${t.theme.colors.primary50};\n color: ${t.theme.colors.primary600}; \n `;break;case"error":s=`\n background: ${t.theme.colors.error};\n color: white;\n `}switch(e){case"dot":return`\n ${n}\n width: 8px;\n height: 8px;\n font-size: 0px;\n border-radius: 50%;\n ${s}\n `;case"numeric":return`\n ${n}\n width: max-content;\n border-radius: 32px;\n ${i}\n ${l}\n ${s}\n `}})(e.notificationType,e.notificationSize,e.hasIcon,e.notificationColor)}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
${e=>e.hasIcon&&"\n svg {\n width: 40px;\n height: 40px;\n }\n "}
|
|
75
|
+
`,w=b.default.h4`
|
|
76
|
+
position: relative;
|
|
77
|
+
line-height: 18px;
|
|
78
|
+
|
|
79
|
+
&:after {
|
|
80
|
+
position: absolute;
|
|
81
|
+
top: 1px;
|
|
82
|
+
left: 0;
|
|
83
|
+
width: 4px;
|
|
84
|
+
height: 18px;
|
|
85
|
+
background-color: ${e=>e.theme.colors.primaryBase};
|
|
86
|
+
content: '';
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&[data-size='lg'] {
|
|
90
|
+
font-size: 18px;
|
|
91
|
+
padding-left: 12px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&[data-size='sm'] {
|
|
95
|
+
font-size: 14px;
|
|
96
|
+
padding-left: 8px;
|
|
97
|
+
|
|
98
|
+
&::after {
|
|
99
|
+
width: 2px;
|
|
100
|
+
height: 15px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&[data-type='bold'] {
|
|
105
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
106
|
+
}
|
|
107
|
+
&[data-type='semiBold'] {
|
|
108
|
+
font-weight: ${e=>e.theme.sizes.fwSemiBold};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&[data-uppercase] {
|
|
112
|
+
text-transform: uppercase;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
${r.MediaQueries.mbDown} {
|
|
116
|
+
&[data-size='lg'] {
|
|
117
|
+
font-size: 16px;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
`,T=b.default.hr`
|
|
121
|
+
border-width: 1px;
|
|
122
|
+
border-color: ${e=>e.theme.colors.neutral200};
|
|
123
|
+
border-style: ${e=>e.dividerType};
|
|
124
|
+
`,O=b.default.div`
|
|
125
|
+
position: relative;
|
|
126
|
+
box-sizing: border-box;
|
|
127
|
+
border: 1px solid ${e=>e.theme.colors.gray200};
|
|
128
|
+
background: url('../../../public/bgSvg/arrow-down.svg') no-repeat;
|
|
129
|
+
background-position: right 16px center;
|
|
130
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
131
|
+
|
|
132
|
+
&[data-has-icons='true'] {
|
|
133
|
+
border: none;
|
|
134
|
+
background: ${e=>e.theme.colors.gray100};
|
|
135
|
+
|
|
136
|
+
img,
|
|
137
|
+
svg {
|
|
138
|
+
display: inline-block;
|
|
139
|
+
max-width: 16px;
|
|
140
|
+
margin-right: 6px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
span {
|
|
144
|
+
vertical-align: middle;
|
|
145
|
+
display: inline-block;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&:hover {
|
|
149
|
+
box-shadow: none;
|
|
150
|
+
}
|
|
151
|
+
> div {
|
|
152
|
+
position: relative;
|
|
153
|
+
width: 100%;
|
|
154
|
+
display: flex;
|
|
155
|
+
align-items: center;
|
|
156
|
+
box-sizing: border-box;
|
|
157
|
+
}
|
|
158
|
+
> div::after {
|
|
159
|
+
content: '';
|
|
160
|
+
right: 12px;
|
|
161
|
+
top: 50%;
|
|
162
|
+
background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
|
|
163
|
+
width: 10px;
|
|
164
|
+
height: 8px;
|
|
165
|
+
position: absolute;
|
|
166
|
+
background-repeat: no-repeat;
|
|
167
|
+
transform: translateY(-50%);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&:hover {
|
|
172
|
+
box-shadow: 0 0 2px 2px
|
|
173
|
+
${e=>e.theme.colors.primary200};
|
|
174
|
+
}
|
|
175
|
+
`,A=b.default.div`
|
|
176
|
+
padding: 12px 18px 12px 16px;
|
|
177
|
+
cursor: pointer;
|
|
178
|
+
&[data-dropdown-open] {
|
|
179
|
+
padding: 11px 15px 11px 15px;
|
|
180
|
+
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
181
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
182
|
+
box-shadow: 0 0 2px 2px
|
|
183
|
+
${e=>e.theme.colors.primary200};
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
& > svg {
|
|
187
|
+
height: 16px;
|
|
188
|
+
width: 16px;
|
|
189
|
+
}
|
|
190
|
+
`,I=b.default.ul`
|
|
191
|
+
position: absolute;
|
|
192
|
+
top: 100%;
|
|
193
|
+
right: 0;
|
|
194
|
+
left: 0;
|
|
195
|
+
display: block;
|
|
196
|
+
margin-top: 4px;
|
|
197
|
+
background: ${e=>e.theme.colors.white};
|
|
198
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
199
|
+
box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),
|
|
200
|
+
-2px 2px 5px rgba(67, 86, 100, 0.123689);
|
|
201
|
+
cursor: pointer;
|
|
202
|
+
|
|
203
|
+
&[data-has-icons='true'] {
|
|
204
|
+
background: white;
|
|
205
|
+
box-shadow: none;
|
|
206
|
+
border: 1px solid ${e=>e.theme.colors.gray200};
|
|
207
|
+
filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));
|
|
208
|
+
}
|
|
209
|
+
`,S=b.default.li`
|
|
210
|
+
margin: 8px;
|
|
211
|
+
padding: 12px 18px 12px 16px;
|
|
212
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
213
|
+
display: flex;
|
|
214
|
+
&:hover,
|
|
215
|
+
:active {
|
|
216
|
+
background: ${e=>e.theme.colors.gray100};
|
|
217
|
+
}
|
|
218
|
+
`,L=b.default.div`
|
|
219
|
+
display: flex;
|
|
220
|
+
align-items: center;
|
|
221
|
+
margin-right: 8px;
|
|
222
|
+
|
|
223
|
+
& > svg {
|
|
224
|
+
height: 16px;
|
|
225
|
+
width: 16px;
|
|
226
|
+
}
|
|
227
|
+
`,R=b.default.div`
|
|
228
|
+
--columns-count: ${e=>e.theme.columns};
|
|
229
|
+
--columns-count-desktop: ${e=>e.theme.columnsDesktop};
|
|
230
|
+
|
|
231
|
+
--grid-template-columns: ${e=>e.theme.gridTemplateColumns};
|
|
232
|
+
--grid-template-columns-desktop: ${e=>e.theme.gridTemplateColumnsDesktop};
|
|
233
|
+
|
|
234
|
+
--columns: var(--grid-template-columns, repeat(var(--columns-count), 1fr));
|
|
235
|
+
--columns-desktop: var(--grid-template-columns-desktop, repeat(var(--columns-count-desktop), 1fr));
|
|
236
|
+
|
|
237
|
+
--justify-children: ${e=>e.theme.justifyChildren};
|
|
238
|
+
--grid-gap: ${e=>e.theme.gap};
|
|
239
|
+
--align-items: ${e=>e.theme.alignItems};
|
|
240
|
+
|
|
241
|
+
display: grid;
|
|
242
|
+
grid-template-columns: var(--columns);
|
|
243
|
+
grid-gap: var(--grid-gap);
|
|
244
|
+
align-items: var(--align-items);
|
|
245
|
+
|
|
246
|
+
${r.MediaQueries.tdUp} {
|
|
247
|
+
grid-template-columns: var(--columns-desktop);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
> * {
|
|
251
|
+
justify-self: var(--justify-children);
|
|
252
|
+
}
|
|
253
|
+
`;var k="xzO2I0N";const $=i.createStyles((()=>({root:{}}))),D=b.default.div`
|
|
254
|
+
display: flex;
|
|
255
|
+
align-items: center;
|
|
256
|
+
justify-content: space-between;
|
|
257
|
+
user-select: none;
|
|
258
|
+
li {
|
|
259
|
+
transition: all 0.3s ease;
|
|
260
|
+
}
|
|
261
|
+
[data-page-active] {
|
|
262
|
+
background: ${e=>e.theme.colors.primaryBase};
|
|
263
|
+
color: ${e=>e.theme.colors.white};
|
|
264
|
+
|
|
265
|
+
> a {
|
|
266
|
+
color: ${e=>e.theme.colors.white};
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
`,C=b.default.div`
|
|
270
|
+
display: flex;
|
|
271
|
+
width: 32px;
|
|
272
|
+
height: 32px;
|
|
273
|
+
box-sizing: border-box;
|
|
274
|
+
align-items: center;
|
|
275
|
+
justify-content: center;
|
|
276
|
+
border: 1px solid ${e=>e.theme.colors.gray200};
|
|
277
|
+
margin: 0 2px;
|
|
278
|
+
border-radius: 4px;
|
|
279
|
+
color: ${e=>e.theme.colors.gray800};
|
|
280
|
+
cursor: pointer;
|
|
281
|
+
font-size: 14px;
|
|
282
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
283
|
+
|
|
284
|
+
&[data-last-page] {
|
|
285
|
+
border: none;
|
|
286
|
+
background-color: ${e=>e.theme.colors.gray100};
|
|
287
|
+
cursor: not-allowed;
|
|
288
|
+
pointer-events: none;
|
|
289
|
+
|
|
290
|
+
svg {
|
|
291
|
+
path {
|
|
292
|
+
stroke: ${e=>e.theme.colors.gray300};
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
`,P=b.default.li`
|
|
297
|
+
display: flex;
|
|
298
|
+
width: 32px;
|
|
299
|
+
height: 32px;
|
|
300
|
+
align-items: center;
|
|
301
|
+
justify-content: center;
|
|
302
|
+
margin: 0 2px;
|
|
303
|
+
border-radius: 4px;
|
|
304
|
+
color: ${e=>e.theme.colors.gray800};
|
|
305
|
+
cursor: pointer;
|
|
306
|
+
font-size: 14px;
|
|
307
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
308
|
+
|
|
309
|
+
> a {
|
|
310
|
+
color: ${e=>e.theme.colors.gray800};
|
|
311
|
+
text-decoration: unset;
|
|
312
|
+
display: block;
|
|
313
|
+
width: 100%;
|
|
314
|
+
height: 100%;
|
|
315
|
+
line-height: 32px;
|
|
316
|
+
text-align: center;
|
|
317
|
+
}
|
|
318
|
+
`,N=b.default.div`
|
|
319
|
+
position: relative;
|
|
320
|
+
width: 100%;
|
|
321
|
+
|
|
322
|
+
&[data-has-error] {
|
|
323
|
+
input {
|
|
324
|
+
border-color: ${e=>e.theme.colors.red700};
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
input {
|
|
329
|
+
width: 100%;
|
|
330
|
+
padding: 12px 16px;
|
|
331
|
+
border: solid 1px ${e=>e.theme.colors.gray200};
|
|
332
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
333
|
+
|
|
334
|
+
&:active,
|
|
335
|
+
&:focus,
|
|
336
|
+
.focused & {
|
|
337
|
+
border-color: ${e=>e.theme.colors.primaryBase};
|
|
338
|
+
box-shadow: 0px 0px 2px 2px
|
|
339
|
+
${e=>e.theme.colors.primary200};
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
&:disabled {
|
|
343
|
+
background-color: ${e=>e.theme.colors.gray100};
|
|
344
|
+
cursor: not-allowed;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
&[data-has-action-icon] {
|
|
349
|
+
input {
|
|
350
|
+
padding: 12px 48px 12px 16px;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
&[data-has-display-icon] {
|
|
354
|
+
input {
|
|
355
|
+
padding: 12px 16px 12px 48px;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
&[data-has-action-icon][data-has-display-icon] {
|
|
360
|
+
input {
|
|
361
|
+
padding: 12px 48px;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
&[data-size='lg'] {
|
|
366
|
+
input {
|
|
367
|
+
font-size: 16px;
|
|
368
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
369
|
+
${r.MediaQueries.mbDown} {
|
|
370
|
+
font-size: 22px;
|
|
371
|
+
line-height: 1.2;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
${r.MediaQueries.mbUp} {
|
|
375
|
+
font-size: 26px;
|
|
376
|
+
line-height: 1.2;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
&[data-size='md'] {
|
|
381
|
+
input {
|
|
382
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
383
|
+
${r.MediaQueries.mbDown} {
|
|
384
|
+
font-size: 14px;
|
|
385
|
+
line-height: 1.2;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
${r.MediaQueries.mbUp} {
|
|
389
|
+
font-size: 16px;
|
|
390
|
+
line-height: 1.2;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
&[data-size='sm'] {
|
|
395
|
+
input {
|
|
396
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
397
|
+
${r.MediaQueries.mbDown} {
|
|
398
|
+
font-size: 13px;
|
|
399
|
+
line-height: 1.5;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
${r.MediaQueries.mbUp} {
|
|
403
|
+
font-size: 13px;
|
|
404
|
+
line-height: 1.5;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
`;b.default.label`
|
|
409
|
+
display: inline-block;
|
|
410
|
+
margin-bottom: 4px;
|
|
411
|
+
color: ${e=>e.theme.colors.gray600};
|
|
412
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
413
|
+
`;const G=b.default.label`
|
|
414
|
+
color: ${e=>e.theme.colors.red700};
|
|
415
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
416
|
+
`,M=b.default.div`
|
|
417
|
+
position: absolute;
|
|
418
|
+
top: 50%;
|
|
419
|
+
right: 16px;
|
|
420
|
+
display: inline-flex;
|
|
421
|
+
cursor: pointer;
|
|
422
|
+
transform: translateY(-50%);
|
|
423
|
+
`,B=b.default.div`
|
|
424
|
+
position: absolute;
|
|
425
|
+
top: 50%;
|
|
426
|
+
left: 16px;
|
|
427
|
+
display: inline-flex;
|
|
428
|
+
cursor: default;
|
|
429
|
+
transform: translateY(-50%);
|
|
430
|
+
`,U=_.default.forwardRef(((e,t)=>{var{name:r,errorMessage:i,autoComplete:n="off",defaultValue:s,actionIcon:d,displayIcon:c,isDeleteAction:p,onActionClick:u,label:h,placeholder:m,className:g,onChange:b,onKeyPress:x,isDisabled:f,CustomInput:E,size:v,style:y,autoFocus:w,type:T="text",isNumerousKeyboard:O=!1,onFocus:A,enterKeyHint:I,nativeOnChange:S}=e,L=o.__rest(e,["name","errorMessage","autoComplete","defaultValue","actionIcon","displayIcon","isDeleteAction","onActionClick","label","placeholder","className","onChange","onKeyPress","isDisabled","CustomInput","size","style","autoFocus","type","isNumerousKeyboard","onFocus","enterKeyHint","nativeOnChange"]);const[R,k]=a.useState(s);return _.default.createElement(N,{"data-size":v,className:g,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!c||void 0,"data-has-error":i&&i.length>0||void 0,style:y},h&&_.default.createElement(l.Label,{size:"label2",htmlFor:r,className:"inputLabel"},h),_.default.createElement("div",{style:{position:"relative"}},E||_.default.createElement("input",Object.assign({id:r,name:r,placeholder:m,onChange:null!=S?S:e=>{return t=e.target.value,k(t),void b(t);var t},onKeyPress:x,type:T,"aria-label":T,disabled:f,value:R,autoComplete:n,ref:t,autoFocus:w,inputMode:O||"number"===T?"numeric":T,pattern:O?"[0-9]*":".*",onFocus:A,enterKeyHint:I},L)),c&&_.default.createElement(B,{className:"displayIcon"},c),d&&_.default.createElement(M,{className:"actionIcon",onClick:()=>{var e;p&&(k(""),null===(e=t.current)||void 0===e||e.focus()),u&&u()}},d)),i&&i.length>0&&_.default.createElement(G,{className:"errorLabel"},i))}));U.displayName="PureInput";const z=b.default.div`
|
|
431
|
+
&[data-type='circle'] {
|
|
432
|
+
position: relative;
|
|
433
|
+
display: flex;
|
|
434
|
+
align-items: center;
|
|
435
|
+
cursor: pointer;
|
|
436
|
+
|
|
437
|
+
input {
|
|
438
|
+
position: relative;
|
|
439
|
+
width: 20px;
|
|
440
|
+
height: 20px;
|
|
441
|
+
flex-shrink: 0;
|
|
442
|
+
border: solid 1px ${e=>e.theme.colors.gray500};
|
|
443
|
+
margin-right: 8px;
|
|
444
|
+
border-radius: 100%;
|
|
445
|
+
cursor: inherit;
|
|
446
|
+
transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
|
|
447
|
+
|
|
448
|
+
&:hover,
|
|
449
|
+
&:active {
|
|
450
|
+
border-color: ${e=>e.theme.colors.primaryBase};
|
|
451
|
+
box-shadow: 0 0 2px 2px
|
|
452
|
+
${e=>e.theme.colors.primary600};
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
&:checked {
|
|
456
|
+
display: flex;
|
|
457
|
+
align-items: center;
|
|
458
|
+
justify-content: center;
|
|
459
|
+
border-color: ${e=>e.theme.colors.primaryBase};
|
|
460
|
+
&:after {
|
|
461
|
+
position: absolute;
|
|
462
|
+
top: 50%;
|
|
463
|
+
left: 50%;
|
|
464
|
+
width: 14px;
|
|
465
|
+
height: 14px;
|
|
466
|
+
//left: 3px;
|
|
467
|
+
//position: absolute;
|
|
468
|
+
//top: 4px;
|
|
469
|
+
background-color: ${e=>e.theme.colors.primaryBase};
|
|
470
|
+
border-radius: 50%;
|
|
471
|
+
content: '';
|
|
472
|
+
transform: translate(-50%, -50%);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
label {
|
|
478
|
+
width: calc(100% - 24px);
|
|
479
|
+
cursor: inherit;
|
|
480
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
&[data-disabled='true'] {
|
|
484
|
+
color: ${e=>e.theme.colors.gray300};
|
|
485
|
+
cursor: not-allowed;
|
|
486
|
+
input {
|
|
487
|
+
border-color: ${e=>e.theme.colors.gray300};
|
|
488
|
+
|
|
489
|
+
&:hover {
|
|
490
|
+
border-color: ${e=>e.theme.colors.gray300};
|
|
491
|
+
box-shadow: none;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
&[data-type='rectangle'] {
|
|
498
|
+
input {
|
|
499
|
+
display: none;
|
|
500
|
+
|
|
501
|
+
&:checked ~ label {
|
|
502
|
+
border-color: ${e=>e.theme.colors.primary600};
|
|
503
|
+
background-color: ${e=>e.theme.colors.primary600};
|
|
504
|
+
color: ${e=>e.theme.colors.white};
|
|
505
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
label {
|
|
510
|
+
display: inline-block;
|
|
511
|
+
width: auto;
|
|
512
|
+
box-sizing: border-box;
|
|
513
|
+
flex-shrink: 0;
|
|
514
|
+
border: solid 1px ${e=>e.theme.colors.gray300};
|
|
515
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
516
|
+
color: ${e=>e.theme.colors.gray800};
|
|
517
|
+
cursor: pointer;
|
|
518
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
519
|
+
text-align: center;
|
|
520
|
+
|
|
521
|
+
&:hover,
|
|
522
|
+
&:active {
|
|
523
|
+
border-color: ${e=>e.theme.colors.primary600};
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
&[data-disabled='true'] {
|
|
528
|
+
input {
|
|
529
|
+
cursor: not-allowed;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
label {
|
|
533
|
+
color: ${e=>e.theme.colors.gray300};
|
|
534
|
+
cursor: not-allowed;
|
|
535
|
+
|
|
536
|
+
&:hover {
|
|
537
|
+
border-color: ${e=>e.theme.colors.gray300};
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
&[data-size='small'] {
|
|
543
|
+
label {
|
|
544
|
+
height: 32px;
|
|
545
|
+
padding: 6px 12px;
|
|
546
|
+
font-size: 13px;
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
&[data-size='large'] {
|
|
551
|
+
label {
|
|
552
|
+
height: 48px;
|
|
553
|
+
padding: 13px 16px;
|
|
554
|
+
font-size: 14px;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
`,H=b.default.div`
|
|
559
|
+
--padding-horizontal: 8px;
|
|
560
|
+
--pading-vertical: 2px;
|
|
561
|
+
display: flex;
|
|
562
|
+
align-items: center;
|
|
563
|
+
justify-content: center;
|
|
564
|
+
padding: var(--pading-vertical) var(--padding-horizontal);
|
|
565
|
+
border-radius: 24px;
|
|
566
|
+
|
|
567
|
+
${e=>"sponsored"===e.tagType&&`\n --offset-size: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: content-box;\n position: relative;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);\n border-radius: 0 4px 18px 0;\n height: 24px;\n width: 90px;\n border-left: var(--offset-size) solid ${t.theme.colors.accentLight};\n padding: 0;\n margin-left: calc(var(--offset-size) * -1);\n\n p {\n font-weight: ${t.theme.sizes.fwBold};\n color: var(\n --text-props-color,\n ${t.theme.colors.secondaryDark}\n );\n font-size: 11px;\n margin-left: calc(var(--offset-size) * -1);\n }\n\n &::after {\n width: calc(var(--offset-size) * 2);\n height: var(--offset-size);\n background: ${t.theme.colors.accentMain};\n position: absolute;\n left: calc(var(--offset-size) * -1);\n bottom: calc(var(--offset-size) * -1);\n clip-path: polygon(0 1%, 100% 0%, 100% 100%);\n content: '';\n }\n `}
|
|
568
|
+
|
|
569
|
+
${e=>e.isInline&&"\n display: inline-block;\n "}
|
|
570
|
+
|
|
571
|
+
${e=>e.tagHasMorePadding&&"\n &[data-has-more-padding] {\n padding: calc(var(--pading-vertical) + 5px) var(--padding-horizontal);\n }\n "}
|
|
572
|
+
|
|
573
|
+
p {
|
|
574
|
+
${e=>e.tagIsLight?"\n color: var(--text-props-color, #000);\n ":`\n color: var(--text-props-color, ${t.theme.colors.white});\n `}
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
${e=>((e,r)=>{switch(e){case"yellow":return`\n background: ${r?t.theme.colors.yellow50:t.theme.colors.yellow600};\n p {\n color: var(\n --text-props-color,\n ${t.theme.colors.gray800}\n );\n }\n `;case"standard":return`\n background: ${t.theme.colors.white};\n border: 1px solid ${t.theme.colors.gray200};\n \n p {\n color: var(\n --text-props-color,\n ${t.theme.colors.gray800}\n );\n }\n \n &:hover {\n background: ${t.theme.colors.gray100};\n }\n `;case"red":return`\n background: ${r?t.theme.colors.red50:t.theme.colors.red500};\n `;case"green":return`\n background: ${r?t.theme.colors.green50:t.theme.colors.green500};\n `;case"blue":return`\n background: ${r?t.theme.colors.primary50:t.theme.colors.primaryBase};\n `;case"teal":return`\n background: ${r?t.theme.colors.teal100:t.theme.colors.teal600};\n `;case"pink":return`\n background: ${r?t.theme.colors.pink200:t.theme.colors.pink800};\n `;case"violet":return`\n background: ${r?t.theme.colors.violet100:t.theme.colors.violet500};\n `;case"grey":return`\n background: ${r?t.theme.colors.gray100:t.theme.colors.gray600};\n `}})(e.tagType,e.tagIsLight)}
|
|
578
|
+
|
|
579
|
+
${e=>e.tagIsSquared&&"sponsored"!==e.tagType&&"\n border-radius: 4px;\n "}
|
|
580
|
+
|
|
581
|
+
${e=>e.tagIsALink&&"\n cursor: pointer;\n "}
|
|
582
|
+
|
|
583
|
+
&[data-is-selected],
|
|
584
|
+
&:active {
|
|
585
|
+
background: ${e=>e.theme.colors.primary50};
|
|
586
|
+
}
|
|
587
|
+
`,j=(e,t)=>a.forwardRef(((r,a)=>{var{className:i}=r,l=o.__rest(r,["className"]);return _.default.createElement(e,Object.assign({ref:a,className:`${t} ${i||""}`},l))})),F="24px",K="hhgcomp-toggle-icon",V=j(b.default.span`
|
|
588
|
+
position: relative;
|
|
589
|
+
display: block;
|
|
590
|
+
width: 40px;
|
|
591
|
+
height: ${F};
|
|
592
|
+
background: #c3cbd4;
|
|
593
|
+
border-radius: 100px;
|
|
594
|
+
cursor: pointer;
|
|
595
|
+
|
|
596
|
+
&:after {
|
|
597
|
+
position: absolute;
|
|
598
|
+
top: 2px;
|
|
599
|
+
left: 2px;
|
|
600
|
+
width: 20px;
|
|
601
|
+
height: 20px;
|
|
602
|
+
background: #fff;
|
|
603
|
+
border-radius: 90px;
|
|
604
|
+
content: '';
|
|
605
|
+
transition: 0.3s;
|
|
606
|
+
}
|
|
607
|
+
`,K),Y=b.default.span`
|
|
608
|
+
padding-left: 15px;
|
|
609
|
+
`,W=b.default.div`
|
|
610
|
+
height: ${F};
|
|
611
|
+
|
|
612
|
+
input[type='checkbox'] {
|
|
613
|
+
width: 0;
|
|
614
|
+
height: 0;
|
|
615
|
+
visibility: hidden;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
label {
|
|
619
|
+
cursor: pointer;
|
|
620
|
+
display: inline-flex;
|
|
621
|
+
color: ${e=>e.theme.colors.gray600};
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
input:checked + label .${K} {
|
|
625
|
+
background: ${e=>e.theme.colors.primaryBase};
|
|
626
|
+
&:after {
|
|
627
|
+
left: calc(100% - 2px);
|
|
628
|
+
transform: translateX(-100%);
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
`,q=b.default.div`
|
|
632
|
+
textarea {
|
|
633
|
+
width: 100%;
|
|
634
|
+
height: var(--textarea-height, 116px);
|
|
635
|
+
padding: 1rem;
|
|
636
|
+
border: 1px solid ${e=>e.theme.colors.gray200};
|
|
637
|
+
border-radius: 6px;
|
|
638
|
+
color: ${e=>e.theme.colors.gray800};
|
|
639
|
+
font-size: 14px;
|
|
640
|
+
resize: none;
|
|
641
|
+
|
|
642
|
+
&:focus {
|
|
643
|
+
box-shadow: 0px 0px 2px 2px #91caff;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
&::placeholder {
|
|
647
|
+
color: ${e=>e.theme.colors.gray500};
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
&:disabled {
|
|
651
|
+
background-color: ${e=>e.theme.colors.neutral50};
|
|
652
|
+
cursor: not-allowed;
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
`,X=_.default.forwardRef((({height:e,placeholder:t,labelText:r,labelColor:o,id:a,name:i,onChange:n,value:s,className:d,onKeyPress:c,disabled:p=!1},u)=>_.default.createElement(q,{className:d,style:{"--textarea-height":e||"116px"}},r&&_.default.createElement(l.Label,{size:"label2",style:{color:o||"#595959"},htmlFor:a},r),_.default.createElement("textarea",{name:i,ref:u,placeholder:t,id:a,onChange:e=>n&&n(e.target.value),onKeyPress:e=>c&&c(e),value:s,disabled:p})))),Q=b.default.div`
|
|
656
|
+
display: flex;
|
|
657
|
+
cursor: pointer;
|
|
658
|
+
|
|
659
|
+
&[data-theme='marryBaby'] {
|
|
660
|
+
input {
|
|
661
|
+
width: 20px;
|
|
662
|
+
height: 20px;
|
|
663
|
+
border: 1.3px solid ${e=>e.theme.mbColors.midGray};
|
|
664
|
+
border-radius: 9px;
|
|
665
|
+
|
|
666
|
+
cursor: inherit;
|
|
667
|
+
transition: border-color 0.4s, box-shadow 0.4s;
|
|
668
|
+
|
|
669
|
+
&:hover,
|
|
670
|
+
&:active {
|
|
671
|
+
border-color: ${e=>e.theme.mbColors.cobalt};
|
|
672
|
+
box-shadow: 0 0 2px 2px
|
|
673
|
+
${e=>e.theme.mbColors.cobalt};
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
&:focus-visible {
|
|
677
|
+
border: 2px solid ${e=>e.theme.mbColors.cobalt};
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
&:checked {
|
|
681
|
+
border: 0;
|
|
682
|
+
background: ${e=>e.theme.mbColors.cobalt}
|
|
683
|
+
url("data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
|
|
684
|
+
no-repeat center center;
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
label {
|
|
689
|
+
max-width: 15rem;
|
|
690
|
+
margin-left: 8px;
|
|
691
|
+
width: calc(100% - 24px);
|
|
692
|
+
cursor: inherit;
|
|
693
|
+
font-weight: 600;
|
|
694
|
+
font-size: 12px;
|
|
695
|
+
line-height: 20px;
|
|
696
|
+
letter-spacing: -0.2px;
|
|
697
|
+
color: ${e=>e.theme.mbColors.gray};
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
input {
|
|
701
|
+
width: 20px;
|
|
702
|
+
height: 20px;
|
|
703
|
+
border: solid 1px ${e=>e.theme.colors.gray500};
|
|
704
|
+
border-radius: 2px;
|
|
705
|
+
|
|
706
|
+
cursor: inherit;
|
|
707
|
+
transition: border-color 0.4s, box-shadow 0.4s;
|
|
708
|
+
|
|
709
|
+
&:hover,
|
|
710
|
+
&:active {
|
|
711
|
+
border-color: ${e=>e.theme.colors.primaryBase};
|
|
712
|
+
box-shadow: 0 0 2px 2px
|
|
713
|
+
${e=>e.theme.colors.primary200};
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
&:focus-visible {
|
|
717
|
+
border: 2px solid
|
|
718
|
+
${e=>e.theme.colors.primaryActive};
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
&:checked {
|
|
722
|
+
border: 0;
|
|
723
|
+
background: ${e=>e.theme.colors.primaryBase}
|
|
724
|
+
url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
|
|
725
|
+
no-repeat center center;
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
label {
|
|
730
|
+
max-width: 15rem;
|
|
731
|
+
margin-left: 8px;
|
|
732
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
733
|
+
width: calc(100% - 24px);
|
|
734
|
+
cursor: inherit;
|
|
735
|
+
|
|
736
|
+
${r.MediaQueries.mbDown} {
|
|
737
|
+
font-size: 14px;
|
|
738
|
+
line-height: 24px;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
${r.MediaQueries.mbUp} {
|
|
742
|
+
font-size: 16px;
|
|
743
|
+
line-height: 22px;
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
&[data-is-rectangle] > input {
|
|
748
|
+
position: relative;
|
|
749
|
+
width: unset;
|
|
750
|
+
height: unset;
|
|
751
|
+
padding: 5px 12px;
|
|
752
|
+
border: 1px solid ${e=>e.theme.colors.neutral100};
|
|
753
|
+
border-radius: 32px;
|
|
754
|
+
|
|
755
|
+
&::after {
|
|
756
|
+
color: ${e=>e.theme.colors.gray800};
|
|
757
|
+
content: attr(data-label-text);
|
|
758
|
+
font-size: 13px;
|
|
759
|
+
}
|
|
760
|
+
&:checked {
|
|
761
|
+
border-color: ${e=>e.theme.colors.primary50};
|
|
762
|
+
&::after {
|
|
763
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
&:checked {
|
|
767
|
+
background: ${e=>e.theme.colors.primary50};
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
&[data-disabled] {
|
|
772
|
+
color: ${e=>e.theme.colors.gray300};
|
|
773
|
+
cursor: not-allowed;
|
|
774
|
+
input {
|
|
775
|
+
border-color: ${e=>e.theme.colors.gray300};
|
|
776
|
+
&:hover {
|
|
777
|
+
border-color: ${e=>e.theme.colors.gray300};
|
|
778
|
+
box-shadow: none;
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
`,Z=b.default.div`
|
|
783
|
+
background-color: var(--neutral50);
|
|
784
|
+
padding: 12px 0;
|
|
785
|
+
box-shadow: inset 0px 1px 0px #e4e8ec;
|
|
786
|
+
|
|
787
|
+
> * {
|
|
788
|
+
display: grid;
|
|
789
|
+
grid-template-columns: 32px 1fr;
|
|
790
|
+
align-content: center;
|
|
791
|
+
|
|
792
|
+
p {
|
|
793
|
+
font-weight: 600;
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
.icon-wrapper {
|
|
798
|
+
display: flex;
|
|
799
|
+
align-items: center;
|
|
800
|
+
}
|
|
801
|
+
`,J=b.default.div`
|
|
802
|
+
display: inline-flex;
|
|
803
|
+
|
|
804
|
+
gap: calc(var(--gap) * 1px);
|
|
805
|
+
> svg {
|
|
806
|
+
width: calc(var(--star-size) * 1px);
|
|
807
|
+
height: calc(var(--star-size) * 1px);
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
&[data-selectable='true'] {
|
|
811
|
+
> svg {
|
|
812
|
+
cursor: pointer;
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
`,ee="600ms",te=b.default.div`
|
|
816
|
+
position: fixed;
|
|
817
|
+
inset: 0;
|
|
818
|
+
z-index: ${t.theme.zIndexes.drawer};
|
|
819
|
+
pointer-events: ${e=>e.open?"auto":"none"};
|
|
820
|
+
`,re=b.default.div`
|
|
821
|
+
position: fixed;
|
|
822
|
+
z-index: 300;
|
|
823
|
+
background: #ffffff;
|
|
824
|
+
visibility: ${e=>e.open?"visible":"hidden"};
|
|
825
|
+
max-height: calc(100vh - 100px);
|
|
826
|
+
display: flex;
|
|
827
|
+
flex-direction: column;
|
|
828
|
+
.title {
|
|
829
|
+
display: flex;
|
|
830
|
+
align-items: center;
|
|
831
|
+
justify-content: space-between;
|
|
832
|
+
padding: 16px;
|
|
833
|
+
${r=>r.hasTitle?e.css`
|
|
834
|
+
border-bottom: 1px solid ${t.theme.colors.neutral100};
|
|
835
|
+
`:null}
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.close-button {
|
|
839
|
+
margin-left: auto;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
${t=>((t,r)=>{switch(t){case"top":return e.css`
|
|
843
|
+
top: 0;
|
|
844
|
+
width: 100%;
|
|
845
|
+
border-radius: 0px 0px 6px 6px;
|
|
846
|
+
${r?e.css`
|
|
847
|
+
animation: ${d.slideInDown} ${ee} ease-in-out forwards;
|
|
848
|
+
`:null}
|
|
849
|
+
|
|
850
|
+
&.slideOut {
|
|
851
|
+
animation: ${d.slideOutUp} ${ee} ease-in-out forwards;
|
|
852
|
+
}
|
|
853
|
+
`;case"right":return e.css`
|
|
854
|
+
right: 0;
|
|
855
|
+
height: 100%;
|
|
856
|
+
min-width: 300px;
|
|
857
|
+
border-radius: 6px 0px 0px 6px;
|
|
858
|
+
|
|
859
|
+
${r?e.css`
|
|
860
|
+
animation: ${d.slideInRight} ${ee} ease-in-out forwards;
|
|
861
|
+
`:null}
|
|
862
|
+
|
|
863
|
+
&.slideOut {
|
|
864
|
+
animation: ${d.slideOutRight} ${ee} ease-in-out forwards;
|
|
865
|
+
}
|
|
866
|
+
`;case"bottom":return e.css`
|
|
867
|
+
bottom: 0;
|
|
868
|
+
width: 100%;
|
|
869
|
+
border-radius: 6px 6px 0px 0px;
|
|
870
|
+
${r?e.css`
|
|
871
|
+
animation: ${d.slideInUp} ${ee} ease-in-out forwards;
|
|
872
|
+
`:null}
|
|
873
|
+
|
|
874
|
+
&.slideOut {
|
|
875
|
+
animation: ${d.slideOutDown} ${ee} ease-in-out forwards;
|
|
876
|
+
}
|
|
877
|
+
`;case"left":return e.css`
|
|
878
|
+
left: 0;
|
|
879
|
+
height: 100%;
|
|
880
|
+
min-width: 300px;
|
|
881
|
+
border-radius: 0px 6px 6px 0px;
|
|
882
|
+
|
|
883
|
+
${r?e.css`
|
|
884
|
+
animation: ${d.slideInLeft} ${ee} ease-in-out forwards;
|
|
885
|
+
`:null}
|
|
886
|
+
|
|
887
|
+
&.slideOut {
|
|
888
|
+
animation: ${d.slideOutLeft} ${ee} ease-in-out forwards;
|
|
889
|
+
}
|
|
890
|
+
`;default:return e.css`
|
|
891
|
+
left: 0;
|
|
892
|
+
height: 100%;
|
|
893
|
+
min-width: 300px;
|
|
894
|
+
border-radius: 0px 6px 6px 0px;
|
|
895
|
+
|
|
896
|
+
${r?e.css`
|
|
897
|
+
animation: ${d.slideInUp} ${ee} ease-in-out forwards;
|
|
898
|
+
`:null}
|
|
899
|
+
|
|
900
|
+
&.slideOut {
|
|
901
|
+
animation: ${d.slideOutDown} ${ee} ease-in-out forwards;
|
|
902
|
+
}
|
|
903
|
+
`}})(t.placement,t.open)}
|
|
904
|
+
`,oe=b.default.div`
|
|
905
|
+
min-height: 200px;
|
|
906
|
+
padding: 16px;
|
|
907
|
+
overflow-y: auto;
|
|
908
|
+
`,ae=b.default.div`
|
|
909
|
+
position: fixed;
|
|
910
|
+
inset: 0;
|
|
911
|
+
display: flex;
|
|
912
|
+
align-items: center;
|
|
913
|
+
justify-content: center;
|
|
914
|
+
width: 100%;
|
|
915
|
+
height: 100%;
|
|
916
|
+
overflow-x: hidden;
|
|
917
|
+
overflow-y: auto;
|
|
918
|
+
outline: 0;
|
|
919
|
+
background-color: rgba(38, 38, 38, 0.3);
|
|
920
|
+
z-index: 1;
|
|
921
|
+
&[data-open='false'] {
|
|
922
|
+
visibility: hidden;
|
|
923
|
+
pointer-events: none;
|
|
924
|
+
}
|
|
925
|
+
&[data-open='true'] {
|
|
926
|
+
visibility: visible;
|
|
927
|
+
pointer-events: auto;
|
|
928
|
+
}
|
|
929
|
+
`,ie=b.default.div`
|
|
930
|
+
display: flex;
|
|
931
|
+
width: 100%;
|
|
932
|
+
|
|
933
|
+
&[data-direction='vertical'] {
|
|
934
|
+
flex-direction: column;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
&[data-direction='horizontal'] {
|
|
938
|
+
flex-wrap: wrap;
|
|
939
|
+
}
|
|
940
|
+
`,le=b.default.div`
|
|
941
|
+
display: flex;
|
|
942
|
+
|
|
943
|
+
padding: 8px;
|
|
944
|
+
|
|
945
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
946
|
+
cursor: pointer;
|
|
947
|
+
|
|
948
|
+
& > div {
|
|
949
|
+
display: flex;
|
|
950
|
+
width: 100%;
|
|
951
|
+
height: 100%;
|
|
952
|
+
flex-direction: column;
|
|
953
|
+
align-items: center;
|
|
954
|
+
justify-content: flex-start;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
&[data-is-mb='false'] {
|
|
958
|
+
&[data-selected='true'] {
|
|
959
|
+
border: 1px solid #2d87f3;
|
|
960
|
+
background: white;
|
|
961
|
+
}
|
|
962
|
+
&[data-selected='false'] {
|
|
963
|
+
border: 1px solid #f2f2f2;
|
|
964
|
+
box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
&[data-is-mb='true'] {
|
|
969
|
+
border-radius: 16px;
|
|
970
|
+
background: white;
|
|
971
|
+
padding: 16px auto;
|
|
972
|
+
|
|
973
|
+
&[data-selected='true'] {
|
|
974
|
+
border: 1px solid ${e=>e.theme.mbColors.mint};
|
|
975
|
+
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06);
|
|
976
|
+
}
|
|
977
|
+
&[data-selected='false'] {
|
|
978
|
+
border: none;
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
&[data-disabled='true'] {
|
|
983
|
+
cursor: auto;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
.radio-group-item-heading {
|
|
987
|
+
margin-top: 8px;
|
|
988
|
+
//height: 48px;
|
|
989
|
+
text-align: center;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
.gender-image {
|
|
993
|
+
width: 70px;
|
|
994
|
+
height: 70px;
|
|
995
|
+
&[data-is-mobile='true'] {
|
|
996
|
+
width: 40px;
|
|
997
|
+
height: 40px;
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
`;var ne=i.createStyles((e=>({root:{display:"inline-block",flexShrink:0,padding:"2px 0.5rem",marginLeft:"4px",borderRadius:e.radius.xs,fontSize:"12px",fontWeight:400,lineHeight:"18px",'&[data-label-type="admin"]':{background:e.primaryColor[0],color:e.primaryColor[9]},'&[data-label-type="local admin"]':{background:e.primaryColor[8]},'&[data-label-type="ambassador"]':{background:e.colors.green[4]},'&[data-label-type="expert"]':{background:e.colors.yellow[6]},'&[data-label-type="moderator"]':{background:e.colors.red[0],color:e.colors.red[8]},'&[data-label-type="sponsor"]':{background:e.colors.teal[4]},'&[data-label-type="guide"]':{background:e.colors.teal[4]},'&[data-label-type="influencer"]':{background:e.colors.teal[4]}}})));const se=a.createContext({currentStep:0,setCurrentStep:()=>!1,setMaxStep:()=>!1,nextStep:()=>!1,prevStep:()=>!1});
|
|
1001
|
+
/*!
|
|
1002
|
+
* cookie
|
|
1003
|
+
* Copyright(c) 2012-2014 Roman Shtylman
|
|
1004
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
1005
|
+
* MIT Licensed
|
|
1006
|
+
*/
|
|
1007
|
+
var de=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var r={},o=(t||{}).decode||he,a=0;for(;a<e.length;){var i=e.indexOf("=",a);if(-1===i)break;var l=e.indexOf(";",a);if(-1===l)l=e.length;else if(l<i){a=e.lastIndexOf(";",i-1)+1;continue}var n=e.slice(a,i).trim();if(void 0===r[n]){var s=e.slice(i+1,l).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),r[n]=ge(s,o)}a=l+1}return r},ce=function(e,t,r){var o=r||{},a=o.encode||me;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ue.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!ue.test(i))throw new TypeError("argument val is invalid");var l=e+"="+i;if(null!=o.maxAge){var n=o.maxAge-0;if(isNaN(n)||!isFinite(n))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(n)}if(o.domain){if(!ue.test(o.domain))throw new TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!ue.test(o.path))throw new TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===pe.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");l+="; Expires="+s.toUTCString()}o.httpOnly&&(l+="; HttpOnly");o.secure&&(l+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return l},pe=Object.prototype.toString,ue=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function he(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function me(e){return encodeURIComponent(e)}function ge(e,t){try{return t(e)}catch(t){return e}}var be={parse:de,serialize:ce};const _e={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"}},xe={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},fe=a.createContext({data:xe,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});exports.GlobalData=xe;const Ee="DD/MM/YYYY",ve="/images/avatar.jpg",ye="/images/default-image.jpg",we={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},Te={"id-ID":{"kalkulator-bmi":we.BMI,"kebutuhan-kalori":we.BMR,"kalkulator-hari-perkiraan-lahir":we.DUE_DATE,"kalkulator-masa-subur-2":we.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":we.PWG,"kalkulator-detak-jantung-saat-olahraga":we.THR},"ms-MY":{"kalkulator-bmi":we.BMI,"kalkulator-bmr":we.BMR,"kalkulator-tarikh-bersalin":we.DUE_DATE,"kalkulator-kesuburan":we.OVULATION,"kalkulator-tambah-berat-badan-hamil":we.PWG,"target-heart-rate-calculator":we.THR},"vi-VN":{"cach-tinh-chi-so-bmi":we.BMI,"tinh-chi-so-bmr":we.BMR,"cong-cu-tinh-ngay-du-sinh":we.DUE_DATE,"tinh-ngay-rung-trung":we.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":we.PWG,"cong-cu-do-nhip-tim":we.THR},"zh-TW":{"bmi-calculator":we.BMI,"bmr-calculator":we.BMR,"due-date-calculator":we.DUE_DATE,"ovulation-calculator":we.OVULATION,"pregnancy-weight-gain-calculator":we.PWG,"target-heart-rate-calculator":we.THR},"en-PH":{"bmi-calculator":we.BMI,"bmr-calculator":we.BMR,"due-date-calculator":we.DUE_DATE,"ovulation-calculator":we.OVULATION,"pregnancy-weight-gain-calculator":we.PWG,"target-heart-rate-calculator":we.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":we.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":we.BMR,"เครื่องมือคำนวณกำหนดคลอด":we.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":we.OVULATION,"เครื่องคำนวณน้ำหนักตัว":we.PWG,"เครื่องวัดอัตราการเต้น":we.THR},"hi-IN":{"bmi-calculator-en":we.BMI,"bmi-calculator":we.BMI,"bmr-calculator":we.BMR,"delivery-date-calculator":we.DUE_DATE,"ovulation-calculator":we.OVULATION,"pregnancy-weight-gain-calculator":we.PWG,"target-heart-rate-calculator":we.THR},"km-KH":{"គណនា-bmi":we.BMI,"គណនា-bmr":we.BMR,"គណនាថ្ងៃសម្រាលកូន":we.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":we.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":we.PWG,"គណនារកចង្វាក់បេះដូងល្អ":we.THR},"my-MM":{"bmi-calculator":we.BMI,"bmr-calculator":we.BMR,"due-date-calendar":we.DUE_DATE,"ovulation-calculator":we.OVULATION,"pregnaancy-weight-calculator":we.PWG,"target-heartrate":we.THR,"pregnancy-weight-calculator":we.PWG,"target-heart-rate":we.THR}},Oe="hhg_user_token",Ae="together_admin_token",Ie={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},Se={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},Le={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}};var Re=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:Ee,DEFAULT_AVATAR_IMG:ve,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:ye,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:we,LOCALE_HEALTH_TOOLS:Te,BEARER_TOKEN_COOKIE:Oe,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:Ae,Z_INDEX:Ie,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:Se,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:Le});const ke={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},$e={"vi-VN":"marrybaby.vn"},De=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Ce=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;return`https://${t?$e[e]:ke[e]}`},Pe=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Ne=(e,t,r)=>{let o="";r&&(o=Object.keys(r).map((e=>e+"="+r[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let i=E.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Ce(String(t._locale))}:{}),t));return i+=`${i.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Pe(i)},Ge=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),Me=(e,t,r,a=!1)=>o.__awaiter(void 0,void 0,void 0,(function*(){var o,i,l,n;try{const o=yield fetch(a?e:(n=e,encodeURI(n).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},Ge(r)),{headers:Object.assign({},null==r?void 0:r.headers)})).then((e=>e.json()));if(o)return o}catch(t){return console.log(t),console.log({url:e,status:null===(o=null==t?void 0:t.response)||void 0===o?void 0:o.status,statusText:null===(i=null==t?void 0:t.response)||void 0===i?void 0:i.statusText}),(null===(l=null==t?void 0:t.response)||void 0===l?void 0:l.data)||null}return null})),Be=(e,t,r,a)=>o.__awaiter(void 0,void 0,void 0,(function*(){try{const o=be.parse(a||""),i=o[Oe]||p.getCookie(Oe);if(i&&i.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ge(r)),{headers:Object.assign({Authorization:"Bearer "+i},null==r?void 0:r.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null}));function Ue(e,t,r){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+r+"$2"):e+a+t+"="+r}const ze=(e,t,r,o)=>r&&t?`${r}-${t}`:`${f.default(e||"",{lower:!0,locale:o||De})}-${t}`;exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.BEARER_TOKEN_COOKIE=Oe,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=ve,exports.DEFAULT_IMG=ye,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=Ee,exports.DefaultComponentGlobalContextData=xe,exports.HEALTH_TOOL_TYPE=we,exports.Heading=e=>{var t,{as:r,tag:a,className:i,children:l,title:n,color:s,style:d,fontWeight:c,dataEventCategory:p,dataEventAction:u,dataEventLabel:h}=e,m=o.__rest(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const g=r||a,{theme:b}=$(void 0,{name:"Heading"});return _.default.createElement(g,Object.assign({title:n,style:Object.assign({"--custom-heading-color":s||("mb"===(null===(t=null==b?void 0:b.other)||void 0===t?void 0:t.template)?b.colors.gray[9]:b.colors.gray[8])},d),"data-tag":a,"data-font-weight":c||void 0,"data-event-category":p,"data-event-action":u,"data-event-label":h,className:`${k} ${i||""}`},m),l)},exports.MAX_IMAGE_UPLOADS=20,exports.PATHS=_e,exports.PureInput=U,exports.REPORT_REASON_MAP=Se,exports.StepRenderer=({children:e,onStepChange:t})=>{const[r,o]=a.useState(0),[i,l]=a.useState(0),n=_.default.Children.count(e);a.useEffect((()=>{l(n-1)}),[n]),a.useEffect((()=>{null==t||t(r)}),[r]);return _.default.createElement(se.Provider,{value:{currentStep:r,setCurrentStep:o,setMaxStep:l,nextStep:()=>r+1<=i&&o(r+1),prevStep:()=>r-1>=0&&o(r-1)}},x.default(e).map(((e,t)=>{const o=t===r;return _.default.createElement(a.Fragment,{key:t},_.default.isValidElement(e)?e.props.alwaysRender||o?_.default.cloneElement(e,{isActive:t===r,stepIndex:t}):null:o?e:null)})))},exports.StepRendererContext=se,exports.StyledAvatar=v,exports.StyledBackdrop=ae,exports.StyledBadge=y,exports.StyledBorderHeading=w,exports.StyledCheckbox=Q,exports.StyledDivider=T,exports.StyledDrawer=te,exports.StyledDrawerContent=oe,exports.StyledDrawerPanel=re,exports.StyledDropdown=O,exports.StyledDropdownList=I,exports.StyledDropdownName=A,exports.StyledDropdownOption=S,exports.StyledGrid=R,exports.StyledIcon=L,exports.StyledPageBlock=C,exports.StyledPagination=D,exports.StyledPaginationBlock=P,exports.StyledRadio=z,exports.StyledRadioImageGroup=ie,exports.StyledRadioImageItem=le,exports.StyledRateStars=J,exports.StyledTag=H,exports.StyledToggle=W,exports.StyledToggleIcon=V,exports.StyledToggleLabel=Y,exports.TextArea=X,exports.TextDivider=({children:e,icon:t,className:r,style:o})=>_.default.createElement(Z,{style:o,className:r},_.default.createElement(n.Container,null,_.default.createElement("div",{className:"icon-wrapper"},t),_.default.createElement(s.Text,{size:"c1",color:"var(--neutral800)"},e))),exports.TogetherComponentGlobalContext=fe,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:r,router:o,env:i={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:l=(e=>e),pushNotifications:n=(()=>!1)})=>{const[s,d]=a.useState();return exports.GlobalData={userInfo:r,locale:e,togetherUserId:s,router:o,env:i},a.useEffect((()=>{(null==r?void 0:r.id)&&Be(Ne(_e.PROFILE,{_locale:e}),"GET").then((e=>{var t;d(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==r?void 0:r.id]),_.default.createElement(fe.Provider,{value:{data:{userInfo:r,locale:e,togetherUserId:s,router:o,env:i},action:{pushNotifications:n,sanitizeFunction:l}}},t)},exports.Z_INDEX=Ie,exports.callApi=Me,exports.callApiWithAdminAuth=(e,t,r,a)=>o.__awaiter(void 0,void 0,void 0,(function*(){try{const o=be.parse(a||""),i=o[Ae]||p.getCookie(Ae);if(i&&i.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ge(r)),{headers:Object.assign({Authorization:"Bearer "+i},null==r?void 0:r.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),exports.callApiWithAuth=Be,exports.callApiWithOptionalAuth=(e,t="GET",r,a)=>o.__awaiter(void 0,void 0,void 0,(function*(){var o,i,l,n,s,d;try{const n="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,d=be.parse(a||""),c=d[Oe]||p.getCookie(Oe);if(!c||!c.length)return Me(s||n,t,r);try{const e=yield fetch(n,Object.assign(Object.assign({method:t},Ge(r)),{headers:Object.assign({Authorization:"Bearer "+c},null==r?void 0:r.headers)})).then((e=>e.json()));if(null===(o=null==e?void 0:e.messages)||void 0===o?void 0:o.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return Me(s||n,t,r);if(e)return e}catch(e){return console.log({status:null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),Me(s||n,t,r)}}catch(e){return console.log({status:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),(null===(d=null==e?void 0:e.response)||void 0===d?void 0:d.data)||null}return null})),exports.constants=Re,exports.domainLocales=ke,exports.domainLocalesMarryBaby=$e,exports.getApiPath=Ne,exports.getCareDoctorUrl=({name:e,id:t,locale:r})=>{var o;return`/care/${null===(o=Le[r||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${ze(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:r,locale:o})=>{var a;return`/care/${null===(a=Le[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${ze(e,t,r)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:r=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(r||"https://service-health-care.hellohealthgroup.com/")+Pe(E.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const r="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${r?t?"fe.":"discover.":t?"www.":""}${ke[e]}`},exports.getDefaultClassWrapper=j,exports.getDiscoverApiPath=(e,t,r)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(!m.isProduction&&r?a:o)+"wp-json/api/"+Pe(E.default(e,Object.assign({},t)))},exports.getMarryBabyApiPath=(e,t,r)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(r&&!m.isProduction?a:o)+"wp-json/api/"+Pe(E.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,r="/community")=>{const o=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:r}=exports.GlobalData.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ue(o,e,t[e])})),Ue(o,"source","communities"),r?`${r}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${r}/on-boarding?return=${encodeURIComponent(o)}`,t)},exports.useStyles=ne;
|