@hhgtech/hhg-components 1.27.64 → 1.27.65-beta-2
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-763b54fa.js} +1 -1
- package/build/{dataTransform-fb9d2eaa.js → dataTransform-f5948a58.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-efdef837.js} +1 -1
- package/build/esm/{dataTransform-584a8942.js → dataTransform-6aa95a39.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/fixedBottomAdBlock-c4a91d7a.js +1 -0
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-5a5304d0.js → getDynamicHealthTool-97e251f7.js} +1 -1
- package/build/esm/{getSocialList-964f1d26.js → getSocialList-23c19fd1.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-029546cb.js +93 -0
- package/build/esm/index-12b93ed8.js +1 -0
- package/build/esm/index-18f58c7e.js +1 -0
- package/build/esm/{index-7b18af53.js → index-1cdf8081.js} +1 -1
- package/build/esm/{index-c048cc84.js → index-2598d0c7.js} +1 -1
- package/build/esm/index-411c20c8.js +112 -0
- package/build/esm/{index-3cd612ba.js → index-465c8f9e.js} +1 -1
- package/build/esm/index-8d74b861.js +1 -0
- package/build/esm/index-9018b474.js +177 -0
- package/build/esm/index-923dfdb7.js +53 -0
- package/build/esm/{index-0da327c2.js → index-98380cb9.js} +1 -1
- package/build/esm/{index-fab041f7.js → index-996acb3e.js} +1 -1
- package/build/esm/index-9a009b1d.js +1 -0
- package/build/esm/index-9e7d6180.js +1 -0
- package/build/esm/{index-b54d6ed4.js → index-a9c2e48a.js} +1 -1
- package/build/esm/index-b94bc93c.js +1 -0
- package/build/esm/{index-0c9bddd5.js → index-cb7a9119.js} +1 -1
- package/build/esm/{index-5568265c.js → index-d0959e22.js} +165 -165
- package/build/esm/{index-a965ea18.js → index-d21af823.js} +1 -1
- package/build/esm/index-df543f13.js +1 -0
- package/build/esm/{index-33b4eeca.js → index-e4812d20.js} +1 -1
- package/build/esm/index-e7d6e830.js +7 -0
- package/build/esm/{index-a4cd52e2.js → index-e98f31d7.js} +1 -1
- package/build/esm/{index-1edc629f.js → index-eb1a4887.js} +1 -1
- package/build/esm/index-f1aace59.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-e5feba36.js → index.styled-17595aea.js} +6 -6
- package/build/esm/index.styled-981d78a5.js +69 -0
- package/build/esm/index.styled-9e4cadd8.js +50 -0
- package/build/esm/{index.styled-80ad3b8e.js → index.styled-d1d9c048.js} +11 -11
- 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 +5 -5
- package/build/esm/{routing-eb8a078e.js → routing-fa2151ce.js} +1 -1
- package/build/esm/{screenSizeContext-3337bf90.js → screenSizeContext-5f576b5e.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-30d034e9.js → types-6c2f31f7.js} +38 -38
- package/build/esm/types-e648681a.js +3078 -0
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-5602e3e3.js +1 -0
- package/build/esm/{useRafState-a399c00f.js → useRafState-570c1b76.js} +1 -1
- package/build/esm/{useTranslations-16eca5b5.js → useTranslations-2385fea4.js} +1 -1
- package/build/esm/utils-3f362f4a.js +1007 -0
- package/build/esm/{utils-588386e1.js → utils-e3fbb648.js} +1 -1
- package/build/esm/vaccination.js +49 -49
- package/build/fixedBottomAdBlock-53c35c63.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-6034f06a.js → getDynamicHealthTool-39dd9d21.js} +1 -1
- package/build/{getSocialList-378966a9.js → getSocialList-08caebd1.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-ad80e678.js → index-0a72960b.js} +1 -1
- package/build/{index-75eccc5e.js → index-2bb0ba67.js} +1 -1
- package/build/{index-27b37035.js → index-348021cf.js} +1 -1
- package/build/{index-5ca35179.js → index-3f70ccbb.js} +180 -180
- package/build/{index-9a15f4f9.js → index-41572290.js} +1 -1
- package/build/index-4ccdec0b.js +1 -0
- package/build/{index-7c68db10.js → index-5759710e.js} +1 -1
- package/build/index-57abacba.js +1 -0
- package/build/index-65980b77.js +177 -0
- package/build/{index-70171072.js → index-71d9ef87.js} +1 -1
- package/build/index-7abf9020.js +1 -0
- package/build/index-8a99f0a5.js +1 -0
- package/build/index-91f6edd8.js +93 -0
- package/build/index-9a55e0a5.js +1 -0
- package/build/index-a7a02ac7.js +112 -0
- package/build/index-c1a611ee.js +53 -0
- package/build/{index-ecfef562.js → index-c310aa9e.js} +1 -1
- package/build/index-c7a10d88.js +1 -0
- package/build/{index-7de88c1c.js → index-ca8dee00.js} +1 -1
- package/build/{index-9c887f7f.js → index-d6933006.js} +1 -1
- package/build/index-dec6a6a2.js +7 -0
- package/build/{index-2a4ce365.js → index-e9529498.js} +1 -1
- package/build/index-e9aa1872.js +1 -0
- package/build/{index-509a0b0a.js → index-eb76c6cd.js} +1 -1
- package/build/{index-33b0c279.js → index-edc6e25c.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-4dba8b73.js → index.styled-31db04c3.js} +1 -1
- package/build/{index.styled-69804a49.js → index.styled-c9f04808.js} +5 -5
- package/build/index.styled-d7151bf1.js +69 -0
- package/build/{index.styled-2f40cf9b.js → index.styled-e2a5b29f.js} +1 -1
- 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-55c39105.js} +1 -1
- package/build/{screenSizeContext-6187e101.js → screenSizeContext-98a7e739.js} +10 -10
- package/build/together.js +1 -1
- package/build/{types-9313bf01.js → types-315dce17.js} +129 -129
- package/build/{types-1c50147e.js → types-427cc7b6.js} +1 -1
- package/build/types.js +1 -1
- package/build/useHealthToolCache-47b887f0.js +1 -0
- package/build/{useRafState-2d31dfc5.js → useRafState-57b7fc09.js} +1 -1
- package/build/{useTranslations-5cc61c9f.js → useTranslations-f53c2791.js} +1 -1
- package/build/{utils-bcdb95ca.js → utils-05a45ba4.js} +1 -1
- package/build/utils-638acfb5.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/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/index.styled-3ecad288.js +0 -50
- 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-973817ad.js +0 -1
- package/build/index-a28a6d36.js +0 -177
- package/build/index-a44d34cc.js +0 -53
- package/build/useHealthToolCache-a6b67a0b.js +0 -1
- package/build/utils-26319b1a.js +0 -1214
- /package/build/{BMI_BOYS.percentile.monthly-883a7d5d.js → BMI_BOYS.percentile.monthly-8afc7878.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-3431cbf3.js → BMI_BOYS.percentile.weekly-f428e40a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-d18e4941.js → BMI_BOYS.percentile.yearly-741dcd56.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-7b6a101a.js → BMI_BOYS.zscore.monthly-ed3e80d6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-a5217019.js → BMI_BOYS.zscore.weekly-d5bcd31f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-11ef12f2.js → BMI_BOYS.zscore.yearly-35f5c235.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-f5e716c3.js → BMI_GIRLS.percentile.monthly-2289b859.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-398b5137.js → BMI_GIRLS.percentile.weekly-acb983ce.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-180759a7.js → BMI_GIRLS.percentile.yearly-4fbc7494.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-b10cdadc.js → BMI_GIRLS.zscore.monthly-301d49ab.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-1d938a35.js → BMI_GIRLS.zscore.weekly-9d1747ea.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-bae676a9.js → BMI_GIRLS.zscore.yearly-01ede9e9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-eaf2fb40.js → HEAD CIRCUM_BOYS.percentile.monthly-9710cfd7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-61326f41.js → HEAD CIRCUM_BOYS.percentile.weekly-48139e49.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-babe5336.js → HEAD CIRCUM_BOYS.percentile.yearly-fb08f855.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-103f72d4.js → HEAD CIRCUM_BOYS.zscore.monthly-65715db2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-aa255ea6.js → HEAD CIRCUM_BOYS.zscore.weekly-83794495.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-49964835.js → HEAD CIRCUM_BOYS.zscore.yearly-90fb0ead.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-0f804779.js → HEAD CIRCUM_GIRLS.percentile.monthly-f191752c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-42269a91.js → HEAD CIRCUM_GIRLS.percentile.weekly-2891c4f0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-477b46d4.js → HEAD CIRCUM_GIRLS.percentile.yearly-78651706.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c8349198.js → HEAD CIRCUM_GIRLS.zscore.monthly-7a99a0b9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-effd5b38.js → HEAD CIRCUM_GIRLS.zscore.weekly-a0192299.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-ff63ab65.js → HEAD CIRCUM_GIRLS.zscore.yearly-9dac8df9.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-100312ef.js → HEIGHT_BOYS.percentile.monthly-1dc812e6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-25804e10.js → HEIGHT_BOYS.percentile.weekly-312bc8c1.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-790abaab.js → HEIGHT_BOYS.percentile.yearly-642f9282.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-1937cd05.js → HEIGHT_BOYS.zscore.monthly-e8a2be5f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-b30e141c.js → HEIGHT_BOYS.zscore.weekly-f70f7b84.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-b206a8f2.js → HEIGHT_BOYS.zscore.yearly-30375b15.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-2e0489e9.js → HEIGHT_GIRLS.percentile.monthly-f39d082e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-4d76b68d.js → HEIGHT_GIRLS.percentile.weekly-1e02e928.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-2bd725ca.js → HEIGHT_GIRLS.percentile.yearly-952ecbcd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-e3a97b8c.js → HEIGHT_GIRLS.zscore.monthly-1be036d0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-26aa77b5.js → HEIGHT_GIRLS.zscore.weekly-5656600f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-25699d17.js → HEIGHT_GIRLS.zscore.yearly-b76be5a5.js} +0 -0
- /package/build/{Onboarding-5e479463.js → Onboarding-27496331.js} +0 -0
- /package/build/{Visible-963cc805.js → Visible-62ffb62a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-f5ec350e.js → WEIGHT_BOYS.percentile.monthly-7b0ae92d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-d3225a3e.js → WEIGHT_BOYS.percentile.weekly-429aaecf.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-90a29085.js → WEIGHT_BOYS.percentile.yearly-1f0211d5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-57ac1f4c.js → WEIGHT_BOYS.zscore.monthly-e8535ef2.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-efc0c806.js → WEIGHT_BOYS.zscore.weekly-3c5c1d78.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-cf3d5e7f.js → WEIGHT_BOYS.zscore.yearly-ce055f25.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-58c7aa25.js → WEIGHT_GIRLS.percentile.monthly-7fbb227d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-117867ba.js → WEIGHT_GIRLS.percentile.weekly-f7b9e0ba.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-e52005a0.js → WEIGHT_GIRLS.percentile.yearly-9232ee87.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-cb0632b8.js → WEIGHT_GIRLS.zscore.monthly-733df5ef.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-e4a924c1.js → WEIGHT_GIRLS.zscore.weekly-7f1fb8c2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-c4a4bb3e.js → WEIGHT_GIRLS.zscore.yearly-addfd8d5.js} +0 -0
- /package/build/{constants-e6dfdef6.js → constants-a166cd98.js} +0 -0
- /package/build/{cookieHelper-254d109b.js → cookieHelper-ebd65c0b.js} +0 -0
- /package/build/{dataTransform-8faadee4.js → dataTransform-38842674.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-325f5ebe.js → BMI_BOYS.percentile.monthly-dda45594.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-56ac91ef.js → BMI_BOYS.percentile.weekly-10e00427.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-3b7b04ab.js → BMI_BOYS.percentile.yearly-bebc85e9.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-90ff64f1.js → BMI_BOYS.zscore.monthly-bef477fe.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-4f6a6684.js → BMI_BOYS.zscore.weekly-3452c69b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-528465ad.js → BMI_BOYS.zscore.yearly-b967e8ef.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-fc8dbf70.js → BMI_GIRLS.percentile.monthly-5c6d6296.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-25c529f5.js → BMI_GIRLS.percentile.weekly-d5660965.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-f8e41e97.js → BMI_GIRLS.percentile.yearly-4eb34fd2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-4a2056f8.js → BMI_GIRLS.zscore.monthly-2512388a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-cef72585.js → BMI_GIRLS.zscore.weekly-9a3bad3f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-ed430c3d.js → BMI_GIRLS.zscore.yearly-eaaa1b36.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-07bca9f8.js → HEAD CIRCUM_BOYS.percentile.monthly-7de2cc43.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-51ed6bd7.js → HEAD CIRCUM_BOYS.percentile.weekly-aabb78e6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-2312ef41.js → HEAD CIRCUM_BOYS.percentile.yearly-0972fe71.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ea118459.js → HEAD CIRCUM_BOYS.zscore.monthly-80d84c3f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-35d84ac7.js → HEAD CIRCUM_BOYS.zscore.weekly-fa3b5f9f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-827dbe4a.js → HEAD CIRCUM_BOYS.zscore.yearly-85b9f982.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-9653cba0.js → HEAD CIRCUM_GIRLS.percentile.monthly-d04423be.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-55417ee8.js → HEAD CIRCUM_GIRLS.percentile.weekly-55334f1a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-aae78d36.js → HEAD CIRCUM_GIRLS.percentile.yearly-85368c5b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-1fabf8df.js → HEAD CIRCUM_GIRLS.zscore.monthly-15a32ab2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-be584760.js → HEAD CIRCUM_GIRLS.zscore.weekly-dc97489e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-fb88c238.js → HEAD CIRCUM_GIRLS.zscore.yearly-028a7431.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-ef9a1b5b.js → HEIGHT_BOYS.percentile.monthly-0a30dd44.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-b5648877.js → HEIGHT_BOYS.percentile.weekly-227e6b2c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d90d3425.js → HEIGHT_BOYS.percentile.yearly-8f128d80.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a3438cd2.js → HEIGHT_BOYS.zscore.monthly-afdc5b8e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-e7901014.js → HEIGHT_BOYS.zscore.weekly-f0887c4e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-2c5b855b.js → HEIGHT_BOYS.zscore.yearly-76fd0afd.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-0a6208b7.js → HEIGHT_GIRLS.percentile.monthly-08224472.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-9a054278.js → HEIGHT_GIRLS.percentile.weekly-dcb10923.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-0cae0852.js → HEIGHT_GIRLS.percentile.yearly-a0116636.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-86ec4817.js → HEIGHT_GIRLS.zscore.monthly-f6728475.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-cc2e6824.js → HEIGHT_GIRLS.zscore.weekly-6a80234c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-88a5cc2e.js → HEIGHT_GIRLS.zscore.yearly-454e21c4.js} +0 -0
- /package/build/esm/{Onboarding-815a1838.js → Onboarding-0b5898ff.js} +0 -0
- /package/build/esm/{Visible-8c624f0f.js → Visible-d81537c9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-1b81ebeb.js → WEIGHT_BOYS.percentile.monthly-f39cba16.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7b54b1ff.js → WEIGHT_BOYS.percentile.weekly-2843e415.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-96c126da.js → WEIGHT_BOYS.percentile.yearly-a8fba475.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c02237fe.js → WEIGHT_BOYS.zscore.monthly-ec93d4ee.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-7523460f.js → WEIGHT_BOYS.zscore.weekly-7a27c31d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-19567e91.js → WEIGHT_BOYS.zscore.yearly-cbf80eb3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-37d959fb.js → WEIGHT_GIRLS.percentile.monthly-25fea4ce.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-7371a10b.js → WEIGHT_GIRLS.percentile.weekly-01cb2f97.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-15f75ac8.js → WEIGHT_GIRLS.percentile.yearly-a135373f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-a0bbc77f.js → WEIGHT_GIRLS.zscore.monthly-bafd0b43.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-bb87503f.js → WEIGHT_GIRLS.zscore.weekly-d5f00d97.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-547a1fbc.js → WEIGHT_GIRLS.zscore.yearly-7e5127c9.js} +0 -0
- /package/build/esm/{constants-36505bfb.js → constants-29f14897.js} +0 -0
- /package/build/esm/{cookieHelper-c0937aad.js → cookieHelper-f6947524.js} +0 -0
- /package/build/esm/{dataTransform-0646d6c4.js → dataTransform-3263e2f9.js} +0 -0
- /package/build/esm/{index-6aded33a.js → index-75f55f3c.js} +0 -0
- /package/build/esm/{isProduction-f91b95cd.js → isProduction-9d4c0f3f.js} +0 -0
- /package/build/esm/{localizeNumberFormat-0da4e43f.js → localizeNumberFormat-81204106.js} +0 -0
- /package/build/esm/{normalizeLink-083ce503.js → normalizeLink-5f7706dd.js} +0 -0
- /package/build/esm/{paths-5e16c4a6.js → paths-623dc3b1.js} +0 -0
- /package/build/esm/{theme-c780a012.js → theme-5b4959a5.js} +0 -0
- /package/build/esm/{translationsContext-b1bd96cb.js → translationsContext-a28763ba.js} +0 -0
- /package/build/esm/{tslib.es6-9c1790be.js → tslib.es6-10ffb9de.js} +0 -0
- /package/build/esm/{types-1f213f81.js → types-27d3a6ab.js} +0 -0
- /package/build/esm/{useIsInit-fb358274.js → useIsInit-1b63b6c8.js} +0 -0
- /package/build/esm/{useOutsideClick-086d4bef.js → useOutsideClick-50827e40.js} +0 -0
- /package/build/esm/{useScrollbarSize-2b796e8b.js → useScrollbarSize-426ce893.js} +0 -0
- /package/build/esm/{useUniqueId-eef5d661.js → useUniqueId-d3bdbb83.js} +0 -0
- /package/build/esm/{utils-35a508ae.js → utils-51b81e68.js} +0 -0
- /package/build/{index-1d2d6c71.js → index-5929835a.js} +0 -0
- /package/build/{isProduction-517872ce.js → isProduction-963a1d78.js} +0 -0
- /package/build/{localizeNumberFormat-6a3526e0.js → localizeNumberFormat-8df6f055.js} +0 -0
- /package/build/{normalizeLink-ef31244a.js → normalizeLink-c710c0ad.js} +0 -0
- /package/build/{paths-597a9110.js → paths-bb7653fe.js} +0 -0
- /package/build/{theme-791de2a4.js → theme-87c3f78b.js} +0 -0
- /package/build/{translationsContext-84598533.js → translationsContext-cf4742ce.js} +0 -0
- /package/build/{tslib.es6-5cc34723.js → tslib.es6-be72f1e6.js} +0 -0
- /package/build/{types-f385e06e.js → types-d5ccdcec.js} +0 -0
- /package/build/{useIsInit-c4d6088c.js → useIsInit-d81ca963.js} +0 -0
- /package/build/{useOutsideClick-5185a271.js → useOutsideClick-bded39f3.js} +0 -0
- /package/build/{useScrollbarSize-2cfc3ebb.js → useScrollbarSize-49148dd5.js} +0 -0
- /package/build/{useUniqueId-9b2409a5.js → useUniqueId-6950d103.js} +0 -0
- /package/build/{utils-1d3a9504.js → utils-e1084570.js} +0 -0
|
@@ -0,0 +1,1007 @@
|
|
|
1
|
+
import e,{css as t}from"styled-components";import{t as o}from"./theme-5b4959a5.js";import{M as r}from"./utils-51b81e68.js";import{_ as a,a as i}from"./tslib.es6-10ffb9de.js";import n,{useState as s,forwardRef as l,createContext as d,useEffect as c,Fragment as p}from"react";import{createStyles as u}from"@mantine/core";import{L as h}from"./index-e4812d20.js";import{C as m}from"./index-029546cb.js";import{T as g}from"./index-2598d0c7.js";import{s as b,e as _,b as x,f as E,c as v,g as f,a as w,d as y}from"./screenSizeContext-5f576b5e.js";import T from"react-keyed-flatten-children";import{g as O}from"./cookieHelper-f6947524.js";import A from"slugify";import"./index-e98f31d7.js";import I from"string-format";import{i as L}from"./isProduction-9d4c0f3f.js";const S=e.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
|
+
`,$=e.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,t,r,a)=>{let i="";if("numeric"===e)switch(t){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 n,s="";r&&(s="\n position: absolute;\n top: 0;\n left: 75%;\n "),r&&(n=`\n left: 70%;\n\n ${"large"===t?"\n top: -7px;\n ":"medium"===t?"\n top: -2px;\n width: 16px;\n height: 16px;\n ":""}\n `);let l="";switch(a){case"primary":l=`\n background: ${o.colors.primary50};\n color: ${o.colors.primary600}; \n `;break;case"error":l=`\n background: ${o.colors.error};\n color: white;\n `}switch(e){case"dot":return`\n ${s}\n width: 8px;\n height: 8px;\n font-size: 0px;\n border-radius: 50%;\n ${l}\n `;case"numeric":return`\n ${s}\n width: max-content;\n border-radius: 32px;\n ${i}\n ${n}\n ${l}\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
|
+
`,k=e.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.mbDown} {
|
|
116
|
+
&[data-size='lg'] {
|
|
117
|
+
font-size: 16px;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
`,R=e.hr`
|
|
121
|
+
border-width: 1px;
|
|
122
|
+
border-color: ${e=>e.theme.colors.neutral200};
|
|
123
|
+
border-style: ${e=>e.dividerType};
|
|
124
|
+
`,C=e.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
|
+
`,P=e.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
|
+
`,N=e.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
|
+
`,D=e.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
|
+
`,G=e.div`
|
|
219
|
+
display: flex;
|
|
220
|
+
align-items: center;
|
|
221
|
+
margin-right: 8px;
|
|
222
|
+
|
|
223
|
+
& > svg {
|
|
224
|
+
height: 16px;
|
|
225
|
+
width: 16px;
|
|
226
|
+
}
|
|
227
|
+
`,M=e.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.tdUp} {
|
|
247
|
+
grid-template-columns: var(--columns-desktop);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
> * {
|
|
251
|
+
justify-self: var(--justify-children);
|
|
252
|
+
}
|
|
253
|
+
`;var B="xzO2I0N";const U=u((()=>({root:{}}))),z=e=>{var t,{as:o,tag:r,className:i,children:s,title:l,color:d,style:c,fontWeight:p,dataEventCategory:u,dataEventAction:h,dataEventLabel:m}=e,g=a(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const b=o||r,{theme:_}=U(void 0,{name:"Heading"});return n.createElement(b,Object.assign({title:l,style:Object.assign({"--custom-heading-color":d||("mb"===(null===(t=null==_?void 0:_.other)||void 0===t?void 0:t.template)?_.colors.gray[9]:_.colors.gray[8])},c),"data-tag":r,"data-font-weight":p||void 0,"data-event-category":u,"data-event-action":h,"data-event-label":m,className:`${B} ${i||""}`},g),s)},H=e.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
|
+
`,j=e.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
|
+
`,F=e.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
|
+
`,K=e.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.mbDown} {
|
|
370
|
+
font-size: 22px;
|
|
371
|
+
line-height: 1.2;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
${r.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.mbDown} {
|
|
384
|
+
font-size: 14px;
|
|
385
|
+
line-height: 1.2;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
${r.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.mbDown} {
|
|
398
|
+
font-size: 13px;
|
|
399
|
+
line-height: 1.5;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
${r.mbUp} {
|
|
403
|
+
font-size: 13px;
|
|
404
|
+
line-height: 1.5;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
`;e.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 V=e.label`
|
|
414
|
+
color: ${e=>e.theme.colors.red700};
|
|
415
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
416
|
+
`,Y=e.div`
|
|
417
|
+
position: absolute;
|
|
418
|
+
top: 50%;
|
|
419
|
+
right: 16px;
|
|
420
|
+
display: inline-flex;
|
|
421
|
+
cursor: pointer;
|
|
422
|
+
transform: translateY(-50%);
|
|
423
|
+
`,W=e.div`
|
|
424
|
+
position: absolute;
|
|
425
|
+
top: 50%;
|
|
426
|
+
left: 16px;
|
|
427
|
+
display: inline-flex;
|
|
428
|
+
cursor: default;
|
|
429
|
+
transform: translateY(-50%);
|
|
430
|
+
`,X=n.forwardRef(((e,t)=>{var{name:o,errorMessage:r,autoComplete:i="off",defaultValue:l,actionIcon:d,displayIcon:c,isDeleteAction:p,onActionClick:u,label:m,placeholder:g,className:b,onChange:_,onKeyPress:x,isDisabled:E,CustomInput:v,size:f,style:w,autoFocus:y,type:T="text",isNumerousKeyboard:O=!1,onFocus:A,enterKeyHint:I,nativeOnChange:L}=e,S=a(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[$,k]=s(l);return n.createElement(K,{"data-size":f,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!c||void 0,"data-has-error":r&&r.length>0||void 0,style:w},m&&n.createElement(h,{size:"label2",htmlFor:o,className:"inputLabel"},m),n.createElement("div",{style:{position:"relative"}},v||n.createElement("input",Object.assign({id:o,name:o,placeholder:g,onChange:null!=L?L:e=>{return t=e.target.value,k(t),void _(t);var t},onKeyPress:x,type:T,"aria-label":T,disabled:E,value:$,autoComplete:i,ref:t,autoFocus:y,inputMode:O||"number"===T?"numeric":T,pattern:O?"[0-9]*":".*",onFocus:A,enterKeyHint:I},S)),c&&n.createElement(W,{className:"displayIcon"},c),d&&n.createElement(Y,{className:"actionIcon",onClick:()=>{var e;p&&(k(""),null===(e=t.current)||void 0===e||e.focus()),u&&u()}},d)),r&&r.length>0&&n.createElement(V,{className:"errorLabel"},r))}));X.displayName="PureInput";const q=e.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
|
+
`,J=e.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 ${o.colors.accentLight};\n padding: 0;\n margin-left: calc(var(--offset-size) * -1);\n\n p {\n font-weight: ${o.sizes.fwBold};\n color: var(\n --text-props-color,\n ${o.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: ${o.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, ${o.colors.white});\n `}
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
${e=>((e,t)=>{switch(e){case"yellow":return`\n background: ${t?o.colors.yellow50:o.colors.yellow600};\n p {\n color: var(\n --text-props-color,\n ${o.colors.gray800}\n );\n }\n `;case"standard":return`\n background: ${o.colors.white};\n border: 1px solid ${o.colors.gray200};\n \n p {\n color: var(\n --text-props-color,\n ${o.colors.gray800}\n );\n }\n \n &:hover {\n background: ${o.colors.gray100};\n }\n `;case"red":return`\n background: ${t?o.colors.red50:o.colors.red500};\n `;case"green":return`\n background: ${t?o.colors.green50:o.colors.green500};\n `;case"blue":return`\n background: ${t?o.colors.primary50:o.colors.primaryBase};\n `;case"teal":return`\n background: ${t?o.colors.teal100:o.colors.teal600};\n `;case"pink":return`\n background: ${t?o.colors.pink200:o.colors.pink800};\n `;case"violet":return`\n background: ${t?o.colors.violet100:o.colors.violet500};\n `;case"grey":return`\n background: ${t?o.colors.gray100:o.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
|
+
`,Q=(e,t)=>l(((o,r)=>{var{className:i}=o,s=a(o,["className"]);return n.createElement(e,Object.assign({ref:r,className:`${t} ${i||""}`},s))})),Z="24px",ee="hhgcomp-toggle-icon",te=Q(e.span`
|
|
588
|
+
position: relative;
|
|
589
|
+
display: block;
|
|
590
|
+
width: 40px;
|
|
591
|
+
height: ${Z};
|
|
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
|
+
`,ee),oe=e.span`
|
|
608
|
+
padding-left: 15px;
|
|
609
|
+
`,re=e.div`
|
|
610
|
+
height: ${Z};
|
|
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 .${ee} {
|
|
625
|
+
background: ${e=>e.theme.colors.primaryBase};
|
|
626
|
+
&:after {
|
|
627
|
+
left: calc(100% - 2px);
|
|
628
|
+
transform: translateX(-100%);
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
`,ae=e.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
|
+
`,ie=n.forwardRef((({height:e,placeholder:t,labelText:o,labelColor:r,id:a,name:i,onChange:s,value:l,className:d,onKeyPress:c,disabled:p=!1},u)=>n.createElement(ae,{className:d,style:{"--textarea-height":e||"116px"}},o&&n.createElement(h,{size:"label2",style:{color:r||"#595959"},htmlFor:a},o),n.createElement("textarea",{name:i,ref:u,placeholder:t,id:a,onChange:e=>s&&s(e.target.value),onKeyPress:e=>c&&c(e),value:l,disabled:p})))),ne=e.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.mbDown} {
|
|
737
|
+
font-size: 14px;
|
|
738
|
+
line-height: 24px;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
${r.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
|
+
`,se=e.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
|
+
`,le=({children:e,icon:t,className:o,style:r})=>n.createElement(se,{style:r,className:o},n.createElement(m,null,n.createElement("div",{className:"icon-wrapper"},t),n.createElement(g,{size:"c1",color:"var(--neutral800)"},e))),de=e.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
|
+
`,ce="600ms",pe=e.div`
|
|
816
|
+
position: fixed;
|
|
817
|
+
inset: 0;
|
|
818
|
+
z-index: ${o.zIndexes.drawer};
|
|
819
|
+
pointer-events: ${e=>e.open?"auto":"none"};
|
|
820
|
+
`,ue=e.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
|
+
${e=>e.hasTitle?t`
|
|
834
|
+
border-bottom: 1px solid ${o.colors.neutral100};
|
|
835
|
+
`:null}
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.close-button {
|
|
839
|
+
margin-left: auto;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
${e=>((e,o)=>{switch(e){case"top":return t`
|
|
843
|
+
top: 0;
|
|
844
|
+
width: 100%;
|
|
845
|
+
border-radius: 0px 0px 6px 6px;
|
|
846
|
+
${o?t`
|
|
847
|
+
animation: ${w} ${ce} ease-in-out forwards;
|
|
848
|
+
`:null}
|
|
849
|
+
|
|
850
|
+
&.slideOut {
|
|
851
|
+
animation: ${y} ${ce} ease-in-out forwards;
|
|
852
|
+
}
|
|
853
|
+
`;case"right":return t`
|
|
854
|
+
right: 0;
|
|
855
|
+
height: 100%;
|
|
856
|
+
min-width: 300px;
|
|
857
|
+
border-radius: 6px 0px 0px 6px;
|
|
858
|
+
|
|
859
|
+
${o?t`
|
|
860
|
+
animation: ${v} ${ce} ease-in-out forwards;
|
|
861
|
+
`:null}
|
|
862
|
+
|
|
863
|
+
&.slideOut {
|
|
864
|
+
animation: ${f} ${ce} ease-in-out forwards;
|
|
865
|
+
}
|
|
866
|
+
`;case"bottom":return t`
|
|
867
|
+
bottom: 0;
|
|
868
|
+
width: 100%;
|
|
869
|
+
border-radius: 6px 6px 0px 0px;
|
|
870
|
+
${o?t`
|
|
871
|
+
animation: ${b} ${ce} ease-in-out forwards;
|
|
872
|
+
`:null}
|
|
873
|
+
|
|
874
|
+
&.slideOut {
|
|
875
|
+
animation: ${_} ${ce} ease-in-out forwards;
|
|
876
|
+
}
|
|
877
|
+
`;case"left":return t`
|
|
878
|
+
left: 0;
|
|
879
|
+
height: 100%;
|
|
880
|
+
min-width: 300px;
|
|
881
|
+
border-radius: 0px 6px 6px 0px;
|
|
882
|
+
|
|
883
|
+
${o?t`
|
|
884
|
+
animation: ${x} ${ce} ease-in-out forwards;
|
|
885
|
+
`:null}
|
|
886
|
+
|
|
887
|
+
&.slideOut {
|
|
888
|
+
animation: ${E} ${ce} ease-in-out forwards;
|
|
889
|
+
}
|
|
890
|
+
`;default:return t`
|
|
891
|
+
left: 0;
|
|
892
|
+
height: 100%;
|
|
893
|
+
min-width: 300px;
|
|
894
|
+
border-radius: 0px 6px 6px 0px;
|
|
895
|
+
|
|
896
|
+
${o?t`
|
|
897
|
+
animation: ${b} ${ce} ease-in-out forwards;
|
|
898
|
+
`:null}
|
|
899
|
+
|
|
900
|
+
&.slideOut {
|
|
901
|
+
animation: ${_} ${ce} ease-in-out forwards;
|
|
902
|
+
}
|
|
903
|
+
`}})(e.placement,e.open)}
|
|
904
|
+
`,he=e.div`
|
|
905
|
+
min-height: 200px;
|
|
906
|
+
padding: 16px;
|
|
907
|
+
overflow-y: auto;
|
|
908
|
+
`,me=e.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
|
+
`,ge=e.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
|
+
`,be=e.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 _e=u((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 xe=d({currentStep:0,setCurrentStep:()=>!1,setMaxStep:()=>!1,nextStep:()=>!1,prevStep:()=>!1}),Ee=({children:e,onStepChange:t})=>{const[o,r]=s(0),[a,i]=s(0),l=n.Children.count(e);c((()=>{i(l-1)}),[l]),c((()=>{null==t||t(o)}),[o]);return n.createElement(xe.Provider,{value:{currentStep:o,setCurrentStep:r,setMaxStep:i,nextStep:()=>o+1<=a&&r(o+1),prevStep:()=>o-1>=0&&r(o-1)}},T(e).map(((e,t)=>{const r=t===o;return n.createElement(p,{key:t},n.isValidElement(e)?e.props.alwaysRender||r?n.cloneElement(e,{isActive:t===o,stepIndex:t}):null:r?e:null)})))};
|
|
1001
|
+
/*!
|
|
1002
|
+
* cookie
|
|
1003
|
+
* Copyright(c) 2012-2014 Roman Shtylman
|
|
1004
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
1005
|
+
* MIT Licensed
|
|
1006
|
+
*/
|
|
1007
|
+
var ve=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var o={},r=(t||{}).decode||Te,a=0;for(;a<e.length;){var i=e.indexOf("=",a);if(-1===i)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<i){a=e.lastIndexOf(";",i-1)+1;continue}var s=e.slice(a,i).trim();if(void 0===o[s]){var l=e.slice(i+1,n).trim();34===l.charCodeAt(0)&&(l=l.slice(1,-1)),o[s]=Ae(l,r)}a=n+1}return o},fe=function(e,t,o){var r=o||{},a=r.encode||Oe;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ye.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!ye.test(i))throw new TypeError("argument val is invalid");var n=e+"="+i;if(null!=r.maxAge){var s=r.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(s)}if(r.domain){if(!ye.test(r.domain))throw new TypeError("option domain is invalid");n+="; Domain="+r.domain}if(r.path){if(!ye.test(r.path))throw new TypeError("option path is invalid");n+="; Path="+r.path}if(r.expires){var l=r.expires;if(!function(e){return"[object Date]"===we.call(e)||e instanceof Date}(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+l.toUTCString()}r.httpOnly&&(n+="; HttpOnly");r.secure&&(n+="; Secure");if(r.priority){switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":n+="; Priority=Low";break;case"medium":n+="; Priority=Medium";break;case"high":n+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return n},we=Object.prototype.toString,ye=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function Te(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function Oe(e){return encodeURIComponent(e)}function Ae(e,t){try{return t(e)}catch(t){return e}}var Ie={parse:ve,serialize:fe};const Le={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}"}},Se={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},$e={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}"},ke={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Re={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},Ce=d({data:Re,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});let Pe=Re;const Ne=({locale:e="vi-VN",children:t,userInfo:o,router:r,env:a={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:i=(e=>e),pushNotifications:l=(()=>!1)})=>{const[d,p]=s();return Pe={userInfo:o,locale:e,togetherUserId:d,router:r,env:a},c((()=>{(null==o?void 0:o.id)&&st(et(Le.PROFILE,{_locale:e}),"GET").then((e=>{var t;p(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==o?void 0:o.id]),n.createElement(Ce.Provider,{value:{data:{userInfo:o,locale:e,togetherUserId:d,router:r,env:a},action:{pushNotifications:l,sanitizeFunction:i}}},t)},De="DD/MM/YYYY",Ge="/images/avatar.jpg",Me="/images/default-image.jpg",Be={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},Ue={"id-ID":{"kalkulator-bmi":Be.BMI,"kebutuhan-kalori":Be.BMR,"kalkulator-hari-perkiraan-lahir":Be.DUE_DATE,"kalkulator-masa-subur-2":Be.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":Be.PWG,"kalkulator-detak-jantung-saat-olahraga":Be.THR},"ms-MY":{"kalkulator-bmi":Be.BMI,"kalkulator-bmr":Be.BMR,"kalkulator-tarikh-bersalin":Be.DUE_DATE,"kalkulator-kesuburan":Be.OVULATION,"kalkulator-tambah-berat-badan-hamil":Be.PWG,"target-heart-rate-calculator":Be.THR},"vi-VN":{"cach-tinh-chi-so-bmi":Be.BMI,"tinh-chi-so-bmr":Be.BMR,"cong-cu-tinh-ngay-du-sinh":Be.DUE_DATE,"tinh-ngay-rung-trung":Be.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":Be.PWG,"cong-cu-do-nhip-tim":Be.THR},"zh-TW":{"bmi-calculator":Be.BMI,"bmr-calculator":Be.BMR,"due-date-calculator":Be.DUE_DATE,"ovulation-calculator":Be.OVULATION,"pregnancy-weight-gain-calculator":Be.PWG,"target-heart-rate-calculator":Be.THR},"en-PH":{"bmi-calculator":Be.BMI,"bmr-calculator":Be.BMR,"due-date-calculator":Be.DUE_DATE,"ovulation-calculator":Be.OVULATION,"pregnancy-weight-gain-calculator":Be.PWG,"target-heart-rate-calculator":Be.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":Be.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":Be.BMR,"เครื่องมือคำนวณกำหนดคลอด":Be.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":Be.OVULATION,"เครื่องคำนวณน้ำหนักตัว":Be.PWG,"เครื่องวัดอัตราการเต้น":Be.THR},"hi-IN":{"bmi-calculator-en":Be.BMI,"bmi-calculator":Be.BMI,"bmr-calculator":Be.BMR,"delivery-date-calculator":Be.DUE_DATE,"ovulation-calculator":Be.OVULATION,"pregnancy-weight-gain-calculator":Be.PWG,"target-heart-rate-calculator":Be.THR},"km-KH":{"គណនា-bmi":Be.BMI,"គណនា-bmr":Be.BMR,"គណនាថ្ងៃសម្រាលកូន":Be.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":Be.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":Be.PWG,"គណនារកចង្វាក់បេះដូងល្អ":Be.THR},"my-MM":{"bmi-calculator":Be.BMI,"bmr-calculator":Be.BMR,"due-date-calendar":Be.DUE_DATE,"ovulation-calculator":Be.OVULATION,"pregnaancy-weight-calculator":Be.PWG,"target-heartrate":Be.THR,"pregnancy-weight-calculator":Be.PWG,"target-heart-rate":Be.THR}},ze="hhg_user_token",He="together_admin_token",je={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},Fe={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"}},Ke=20,Ve={"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 Ye=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:De,DEFAULT_AVATAR_IMG:Ge,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:Me,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:Be,LOCALE_HEALTH_TOOLS:Ue,BEARER_TOKEN_COOKIE:ze,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:He,Z_INDEX:je,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:Fe,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:Ve});const We={"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"},Xe={"vi-VN":"marrybaby.vn"},qe=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Je=e=>{const{env:{isMarryBaby:t}}=Pe;return`https://${t?Xe[e]:We[e]}`},Qe=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Ze=e=>{const{env:{isMarryBaby:t}}=Pe;if("undefined"!=typeof window)return window.location.origin;const o="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${o?t?"fe.":"discover.":t?"www.":""}${We[e]}`},et=(e,t,o)=>{let r="";o&&(r=Object.keys(o).map((e=>e+"="+o[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null==Pe?void 0:Pe.env)||{};let i=I(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Je(String(t._locale))}:{}),t));return i+=`${i.includes("?")?"&":"?"}${r}`,a+"api/v1/"+Qe(i)},tt=(e,t,o)=>{const{discoverBaseApiUrl:r="",discoverBaseProdApiUrl:a=""}=(null==Pe?void 0:Pe.env)||{};return(!L&&o?a:r)+"wp-json/api/"+Qe(I(e,Object.assign({},t)))},ot=(e,t,o)=>{const{marryBabyApiUrl:r="",marryBabyProdApiUrl:a=""}=(null==Pe?void 0:Pe.env)||{};return(o&&!L?a:r)+"wp-json/api/"+Qe(I(e,Object.assign({},t)))},rt=(e,t)=>{const{careBaseApiUrl:o=""}=(null==Pe?void 0:Pe.env)||{};return(o||"https://service-health-care.hellohealthgroup.com/")+Qe(I(e,Object.assign({},t)))},at=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),it=(e,t,o,r=!1)=>i(void 0,void 0,void 0,(function*(){var a,i,n,s;try{const a=yield fetch(r?e:(s=e,encodeURI(s).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},at(o)),{headers:Object.assign({},null==o?void 0:o.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(i=null==t?void 0:t.response)||void 0===i?void 0:i.statusText}),(null===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),nt=(e,t="GET",o,r)=>i(void 0,void 0,void 0,(function*(){var a,i,n,s,l,d;try{const s="string"==typeof e?e:e.url,l="string"==typeof e?e:e.backupUrl,d=Ie.parse(r||""),c=d[ze]||O(ze);if(!c||!c.length)return it(l||s,t,o);try{const e=yield fetch(s,Object.assign(Object.assign({method:t},at(o)),{headers:Object.assign({Authorization:"Bearer "+c},null==o?void 0:o.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return it(l||s,t,o);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===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),it(l||s,t,o)}}catch(e){return console.log({status:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),(null===(d=null==e?void 0:e.response)||void 0===d?void 0:d.data)||null}return null})),st=(e,t,o,r)=>i(void 0,void 0,void 0,(function*(){try{const a=Ie.parse(r||""),i=a[ze]||O(ze);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},at(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null})),lt=(e,t,o,r)=>i(void 0,void 0,void 0,(function*(){try{const a=Ie.parse(r||""),i=a[He]||O(He);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},at(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null}));function dt(e,t,o){const r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+o+"$2"):e+a+t+"="+o}const ct=(e,t,o="/community")=>{const r=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:o}=Pe.env,r=e||window.location.href;return t&&Object.keys(t).map((e=>{dt(r,e,t[e])})),dt(r,"source","communities"),o?`${o}?returnUrl=${encodeURIComponent(r.toString())}`:r})(`${a}${o}/on-boarding?return=${encodeURIComponent(r)}`,t)},pt=(e,t,o,r)=>o&&t?`${o}-${t}`:`${A(e||"",{lower:!0,locale:r||qe})}-${t}`,ut=({name:e,id:t,locale:o})=>{var r;return`/care/${null===(r=Ve[o||"vi-VN"])||void 0===r?void 0:r.DOCTOR}/${pt(e,t)}`},ht=({name:e,id:t,slug:o,locale:r})=>{var a;return`/care/${null===(a=Ve[r||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${pt(e,t,o)}`};export{ut as $,_e as A,it as B,rt as C,Re as D,q as E,Q as F,Pe as G,z as H,me as I,pe as J,ue as K,he as L,ge as M,be as N,ze as O,X as P,ct as Q,et as R,Ee as S,ie as T,Le as U,Me as V,Ze as W,Se as X,We as Y,je as Z,ht as _,le as a,tt as a0,$e as a1,ke as a2,lt as a3,st as a4,Ke as a5,Ge as a6,Fe as a7,ot as a8,nt as a9,Xe as aa,xe as b,Ye as c,Ce as d,Ne as e,$ as f,k as g,C as h,P as i,N as j,D as k,G as l,M as m,H as n,j as o,F as p,J as q,re as r,te as s,oe as t,ne as u,de as v,De as w,Be as x,S as y,R as z};
|